GB1605059A - Modem test and monitoring apparatus - Google Patents

Modem test and monitoring apparatus Download PDF

Info

Publication number
GB1605059A
GB1605059A GB3074/81A GB307481A GB1605059A GB 1605059 A GB1605059 A GB 1605059A GB 3074/81 A GB3074/81 A GB 3074/81A GB 307481 A GB307481 A GB 307481A GB 1605059 A GB1605059 A GB 1605059A
Authority
GB
United Kingdom
Prior art keywords
modem
test
command
bit
central
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
GB3074/81A
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Racal Milgo Inc
Original Assignee
Racal Milgo Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Racal Milgo Inc filed Critical Racal Milgo Inc
Publication of GB1605059A publication Critical patent/GB1605059A/en
Expired legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/24Testing correct operation

Description

PATENT SPECIFICATION ( 11) j L 65 r 4 J
0 \ ( 21) Application No 3074/81 ( 22) Filed 26 May 1978 ( 19) o ( 62) Divided out of No 1605057 ( 31) Convention Application No 803945 ( 32) Filed 6 Jun 1977 in A, i o ( 33) United States of America (US) > ( 44) Complete Specification Published 16 Dec 1981 -1 ( 51) INT CL 3 H 04 L 1/24 ( 52) Index at Acceptance H 4 P PEUX ( 72) Inventors: ARTHUR HAROLD ROSBURY, JUDSON TURMAN GILVERT, DONALD CHARLES O'CONNOR, GRANT ASHTON NEWLAND.
( 54) MODEM TEST AND MONITORING APPARATUS ( 71) We, RACAL-MILGO, INC, a corporation organised and existing under the laws of the state of Delaware, United States of America, residing at 8600 N W 41st Street, Miami, Florida 33166, United States of America, do hereby declare the invention, for which we pray that a patent may be granted to us, and the method by which it is to be performed, to be particularly described in and by the following statement: 5
The invention relates generally to automatic network diagnostic systems and more particularly to apparatus for testing and monitoring a modem in response to commands from a control source.
With the increasing complexity of distributed data processing systems, particularly those utilizing telephone data communication between central and remote site data processing 10 apparatus and their associated data modems, the need for testing and control of the data modems has increased The complexity of present and proposed systems requires the ability to communicate rapidly with modems at diverse and numerous sites Modem malfunctions become increasingly critical in that one malfunctioning modem may interrupt transmission by many others in the network Since even very small amounts of down time can mean big 15 dollar losses in distributed processing systems, the need arises to automatically control modems in a distributed system to minimize time losses To provide efficient and effective operation, it would be highly desirable to provide the modem with the capability to raise alarm signals to a central controller and perform functions necessary to respond to various trouble conditions Both for speed and reliability, it is desirable to have as many of these 20 functions as possible performed automatically by apparatus of the system.
According to the present invention there is provided apparatus as defined by claim 1 hereinafter.
In a system comprising a plurality of modems, a test and control unit can be provided at each modem, responsive to commands from a central system controller The test and 25 control unit monitors various parameters of the modem The test and control unit may respond to test commands from the system controller to perform various tests of these parameters and send various status reports back to the system controller The system controller may automatically scan all primary and secondary drops of the network for modem status without interrupting modem or network operation The test and control unit 30 may also detect parameters indicating abnormal operation or malfunctions, and send "mayday" alarm signals to the central system controller.
The test and control unit is also capable of responding to commands to control the operation of its associated modem Embodiments can be used in multi-tiered networks.
Some particularly advantageous alarm features implementable in a preferred embodi 35 ment of the invention include the ability to detect streaming conditions and receive-line faults A method of handling modem power failure is also provided in a preferred embodiment.
Another advantage of a preferred embodiment of the invention is the ability to check dedicated lines automatically while still maintaining dial back-up lines in a "hold" state If 40 2 1 605 059 2 the dedicated line is not operative, a mayday alarm is generated and the central unit causes the modem to switch back automatically to the dial lines Other network control functions include the ability to squelch the modem primary transmitter and the ability to simulate modem power failures in order to check stored information regarding associations between modems and assure proper performance of the power failure detection apparatus 5 Thus embodiments of the invention can be incorporated in a system for diagnosing and controlling operation of a plurality of modems, some located at a central site and others at various remote sites A processor located at the central site selectively addresses microprocessor test and control units at each modem over a secondary channel The microprocessor test and control units respond to commands to configure and perform 10 various modem tests, operate autonomously to monitor various alarm conditions, and format status reports and alarm maydays for transmission back to the central processor.
The system is capable of performing a wide variety of testing, monitoring and network control functions for a very large network of modems.
The invention will now be described in more detail, solely by way of example, with 15 reference to the accompanying drawings, in which:
Figure 1 is a generalized block diagram of a portion of a system of modems incorporating preferred embodiments of the invention.
Figure 2 is a block diagram of a two-tier modem system incorporating preferred embodiments of the invention 20 Figure 3 illustrates the data format for transmitting a command to the preferred embodiment of the invention.
Figure 4 illustrates the format of a concise status word.
Figure 5 is a block diagram of a dial back-up arrangement for use with the preferred embodiment 25 Figure 6 is a block circuit diagram of part of a test and control unit according to the preferred embodiment.
Figure 7 is a circuit diagram of the power fail detect circuitry of the preferred embodiment.
Figure 8 is a circuit diagram of receive-transmit circuitry of the preferred embodiment 30 Figures 9 to 21 are flow diagrams illustrating the operation of the test and control unit.
Figure 22 illustrates the receive function of the test and control unit.
Figure 1 illustrates in functional block form a portion of a system providing remote test capabilities for modems Such modems may be, for example, in four wire controlled carrier multipoint or continuous carrier point-to-point data communications networks Testing is 35 accomplished according to commands sent to system modems such as a central modem 11 and a remote modem 13 by a system controller 15, which may be a programmed minicomputer such as the DEC PDP-11 Testing and control of the remote is accomplished under control of a remote test and control unit 17 The test and control unit 17 receives commands transmitted across a secondary channel by the central modem 11 The central 40 modem 11 contains a test and control unit similar to 17.
The test and control unit 17 includes a secondary channel transmitter and receiver unit 19, a control unit 21, and monitoring circuitry 23 As discussed later, the test and control unit 17 is preferably configured around a microprocessor, which, by way of example, may be a Fairchild F 8 CPU and PSU The test and control unit 17 decodes addresses and 45 commands from the system controller 15 performs a specific test if addressed, frames and formats the test results, and transmits these results back to the system controller 15 Some tests are accomplished without interfering with normal network operation while other tests temporarily interrupt portions of the network.
In addition to responding to certain tests initiated by the controller 15, the test and 50 control unit senses certain anomalous conditions in the modem 13 and transmits suitable alarm messages back to the system controller 15 Because the system controller 15 has the ability to address a particular test and control unit 17, the system controller 15 is also capable of assisting with certain network control functions such as dial back-up.
The secondary channel operates asynchronously at a relatively low speed data rate such 55 as 75 bits per second The modulation technique utilized by the secondary transmitter and receiver unit 19 is frequency shift keying (FSK) The tones utilized to encode the data are preferably at 392 Hz and 447 Hz, where a space equals 392 Hz and a mark equals 447 Hz.
The secondary channel is transmitted 5 d B below the primary channel of the modem Tones other than 392 Hz and 447 Hz may also be used 60 A modem system configuration is illustrated in Figure 2 As shown, the system central controller 15 includes a number of ports 1, 2, 3, N A number of modems, for example, from 1 to 254, can be associated with each of these ports 1 N Each central site port 1, N communicates with a central site modem 11, which in turn communicates with a number of remote, operating modems 13 across a four wire multi-drop line 27 These modems 13 are 65 1 605 059 1 605 059 typically synchronous operating but may also be asynchronous types The 1 to 254 modems can be either centrally or remotely located.
One of the modems 13 is illustrated communicating with a remote controller 29 and a digital mixer 31, which communicate with a number of additional modems 33, 35 Typically, the modems 33, 35 will be asynchronous and are separated by the remote controller 29 from 5 the synchronous modem 13 Central second tier modems 33 communicate across a four wire multidrop line 34 with remote second tier modems 35 The digital mixer functions as an OR-gate 31 to provide a path around the controller for the secondary telemetry channel In a typical set-up, the modems 13 would be synchronous 2400 bps data sets and each modem 33, 35 would be an asynchronous 1200 bps data sets However, the synchronous 2400 bps 10 data sets may also be used after the controller 29 The remote controller 29 is a standard controller such as might be used in a bank to buffer communication between a ni 4 mber of terminals using modems 33, 35 and the modem 13.
To facilitate communication, each modem 13, 33, 11, 35 has a unique address The test and control unit 17 of each central site modem 11 receives its test and network commands 15 from the central controller 15 in a digital format If the central modem 11 has been addressed, its appropriate response will be transmitted back to the central controller 15 by an asynchronous data stream Each central site modem 11 performs a regenerative function to pass on control commands to remote sites The digital data received from the system controller 15 by the central modem 11 supplies a modulating signal to the frequency shift 20 key (FSK) secondary channel transmitter of unit 19 in the central site modem 11 This transmitter places the system controller commands in proper analog format for transmission across a telephone line to the remote site 13 The central site 11 also receives FSK signals from the remote sites 13 in analog form across the telephone line The secondary receiver of unit 19 in the central site modem 11 demodulates the analog signal to pass an asynchronous 25 bit stream to the system controller 15 at the FSK channel data rate, e g 75 bps The central site test and control unit 17 does not monitor this received bit stream for its own address because it only receives commands from the system controller 15.
The test and control unit 17 at a remote site modem 13 receives its commands in analog format from the central site modem 11 The address command decode logic of the test and 30 control unit 17 receives its commands from the FSK demodulator in the receiver of unit 19.
When a particular remote site 13 is addressed, it frames and formats its response to the command presented by the system controller an asynchronous data stream This data stream is applied to the FSK modulator in the transmitter of unit 19 where it is converted to an analog format for transmission back to the central site modem 11 35 The test and control unit 17 provides the regenerative capability for signals supplied across the digital interface created by the mixer 31 The test and control unit 17 in the modem 13, which is connected to the mixer 31, demodulates commands from the system controller 15 which are in analog format and converts these commands to a digital data stream, for example, at 75 bps If the data stream is addressed to an asynchronous modem 40 33, the digital mixer 31 connects the data stream to the secondary channel input leads of all the associated asynchronous modems 33 If one of the asynchronous modems 33 has been addressed and must transmit a response back to the system controller 15, the regenerative function necessary for transmission will be accomplished in the synchronous higher speed modem 13 To accomplish this function, the mixer 31 OR's the secondary channel received 45 data from all of the asynchronous modems and supplies that data to the secondary transmit data input of the synchronous modem 13 in digital format This digital data stream, for example, at 75 bps, is then connected to the FSK modulator in the test and control unit 17 of the modem 13 for transfer back to the system central controller 15.
In operation a central site synchronous modem 11 will be in a continuous broadcast mode 50 on its secondary channel When the system central controller 15 is idle, a 390 Hz tone corresponding to a marking condition is transmitted In response to this marking condition, the secondary DCD (data carrier detect) line of each remote modem 13 will be activated (on) Also in response to the marking condition, the secondary channel transmitters of each modem 13 are set to be in a controlled carrier mode These secondary channel remote 55 transmitters at each synchronous modem 13, 19 are enabled upon any of the following conditions: ( 1) The site has been addressed by the central controller 15 and must respond with status or test results ( 2) it is necessary for the remote site to send an alarm message back to the central controller of its own accord, or ( 3) secondary DCD from an associated asynchronous modem 33 turns on, indicating the necessity of transmitting information from 60 the asynchronous portion of the network back to the central site.
Normally, all asynchronous central modems 33 are in a broadcast mode on their secondary channel, and all remote asynchronous modems 35 are in a controlled carrier mode on their secondary channel In implementing this functiion, secondary DCD from the asynchronous modems will be OR-gated by the mixer 31 to the synchronous remote modem 65 1 605 059 13 to serve as secondary RTS (request to send) No connection like this in the opposite direction is needed because the secondary channel of each central asynchronous modem 33 is in a continuous carrier mode.
Three general modes of operation are provided These include test functions wherein the test and control unit 17 performs status reporting and testing functions in response to 5 commands from the system controller 15; monitoring functions, wherein the test and control unit monitors for certain anomalous conditions and supplies an alarm or mayday messages back to the system controller; and performance of network control functions.
Each of these operations will be discussed in further detail below.
All tests are remotely initiated and terminated by commands from the system controller 10 Of course various sequences of commands to perform desired combinations of tests may be provided by the system controller 15 These tests range through various degrees of status checks to actual test runs As illustrated in Figure 3, the format for the received test commands is a six word sequence, including a sync word (ASCII delete character), synch word, address word 1, address word 2, command word, and block check character Each 15 word is eleven bits in length and includes a start bit (logic 0), seven information bits, an even parity bit and two stop bits (logic 1).
The seven bit delete character DEL is composed of all ones and serves to allow the receiver to synchronize to the asynchronous data.
If bit To is a logic 0, the message is a command from the system controller 15 If it is a 20 logic 1, the message is an acknowledgement from the test and control unit 17 The block check character contains a longitudinal even parity value generated by computing the exclusive OR for each bit position of the two address characters and the command character For example, the first bit of the block check character is the value obtained by computing even parity for AO, A 4, and C O Replies from the test and control unit 17 have 25 the same format as commands from the central controller 15 with the exception that the first DELETE character is replaced by a MARK character (all 11 bits are logic 1 's) Replies are transmitted on a one shot basis As discussed below, the command word is replaced by either one or three information words Maydays and concise status require one information word Extended status and error counts require three information words The test and 30 control unit 17 will respond to a command from the system controller 15 if the following conditions are met: ( 1) one DELETE character is detected; ( 2) an address decode is obtained; ( 3) parity is correct for each word, and ( 4) the block check character is correct.
For most of the commands, the test and control unit 17 provides an acknowledgement back to the system controller 15 This acknowledgement consists of an echo of the original 35 command with one control bit T( changed in Address Word 1 Commands which are not echoed are Squelch Primary Transmitter, Simulate Power Fail, Analog Loop, and all commands which require a response from the test and control unit.
In addition to responding to its own address, a particular test and control unit 17 has the ability to respond to a group address (represented by all zeros) This address addresses each 40 modem on a given port Any command can be used.
Return to normal (RTN) clears an existing test or alarm mode and stops the transmission of all alarm messages It further resets all storage registers in the test and control unit 17 and causes the associated modem and its test channel to revert to normal operation RTN will also clear an existing return to normal storage and inhibit (RSI) state However if the alarm 45 condition persists, the control unit will again transmit another mayday.
The return to normal storage and inhibit (RSI) instruction clears an existing test mode, stops the transmission of all alarm messages and causes the modem to revert to normal operation However, the existence and type of the particular mayday is saved RSI inhibits the transmission of an alarm even if the condition still persists, until it is reset by an RTN 50 command RSI may be used by the central control 15 to clear the network of alarm messages before the central controller institutes diagnostics to isolate a problem RSI is also used in the situation where mayday messages are transmitted simultaneously from two or more locations Simultaneous maydays result in the central controller receiving a non-inherent data stream with continuous parity and framing errors The controller will 55 then transmit an RSI with a group address to all modems on that line All mayday messages will be inhibited but their existence will be stored The controller can then selectively address each modem on that line with a dump stored mayday command (DSM) to recover all of the alarm conditions which had previously occurred simultaneously.
The various tests which may be entered and performed in conjunction with the above 60 command format will now be discussed These include two types of status checks, concise and expanded The test functions available include self test, end to end test, analog loop with test pattern, digital loop with test pattern, analog loop and digital loop.
The first of the status checks is concise status monitor In this, the central controller 15 scans a group or all of the modems in the system, sequentially addressing each modem with 65 1 605 059 a transmit concise status (TCS) command In response, each modem sequentially transmits back to the system controller 15 a concise status word The concise status word has the format illustrated in Figure 4 The concise status word contains the following information:
(A) DCD ON/OFF (remote) or RTS ON/OFF (central) 5 (B) DSR (Data Set Ready) ON/OFF (C) DTE (Data Terminal Equipment) Power ON/OFF The voltage level of the RTS lead from the data terminal equipment is continuously monitored Specification
R 5232 C requires that the voltage of any DTE interface lead be between + 3 and + 25 volts or between -3 and -25 volts The status monitor yields an off condition 10 for this parameter if the monitoring circuit senses a voltage level between -3 volts and + 3 volts, as an opens circuit.
{D) Modem in either locally or remotely initiated analog or digital loop YES/NO E) Modem is either a Central Site or Remote Site (for multipoint) 15 RTS ON/OFF (remote), DCD ON/OFF (Central) lpoint to pointl (F) Logic 1 indicates that modem is connected to dial lines and logic 0 indicates that modem is connected to dedicated lines.
(G) Signal Quality ON/OFF An ON condition corresponds to either the case where 20 there exits a low probability for error on the primary channel (GOOD QUALITY) or DCD is off when the signal quality lead is checked An OFF condition corresponds to the case where DCD is on and signal quality is unacceptable.
25 The controller does not evaluate the concise status word A second type of status check available is the expanded status monitor In the expanded status monitor the system controller 15 transmits a Dump Modem Status (DMS) command Receipt of this command by the test and control unit 17 will result in the transmission of a three word status message.
The first status word is the same as for the concise status monitor The format for the 30 second and third words is as follows:
Status Word 2 Bit 0 DCD (central or RTS (remote) current state lmultipointi Logic 0 (point to point) 35 Bit 1 Receive Clock transitions are occurring at the data rate of the modem Bit 2 Transmit Data current state Bit 3 Receive Data current state Bit 4 CTS (Clear To Send) current state Bit 5 Transmit Clock transitions are occurring at least at the data rate of the 40 modem Bit 6 Digital Loop the modem is in either a local or remote digital loop mode.
Bit 7 Parity Status Word 3 45 Bit 0 DCD Transitions (central multipoint) at least one one transition has occurred since the last DMS command.
RTS Transitions (remote multipoint) Logic 0 for point to point Bit 1 Not Used Bit 2 -Transmit Data Transition 50 Bit 3 Receive Data Transition Bit 4 CTS Transition Bit 5 Modem Type Bit 6 Modem Type Bit 7 -Parity 55 A first of the possible test functions performable is the self test This test can be performed on either a central or remote modem When placed in the condition for a self test, the transmit output of the modem is connected back to its receive input Internal RTS of the modem is turned on A pseudo random test pattern generator is connected to the 60 modulator input and a pattern detector and error counter is connected to the demodulator output Errors are accumulated for transmission back to the system controller 15 on the secondary channel The secondary channel analog transmitter is connected to the telephone line This connection is not made for the primary channel, which contains the test pattern.
Normal primary channel data traffic is affected only in that the transmission from the 65 1 605 059 modem under test is inhibited To perform this test, the system controller transmits in sequence a self test enable (STE) command, an enable error counter (EEC) command, a dump error count (DEC) command and a return to normal (RTN) command.
In response to the STE command, the test and control unit 17 causes the modem transmit output to be connected to its receive input, turns internal RTS (Request To Send) of the 5 modem on, and enables the test pattern generator and detector The EEC command resets the error counter and initiates the accumulation of errors The delay between the STE and EEC command provide sufficient time for the scrambler and descrambler to synchronize.
After the STE and EEC commands have been performed, the DEC command initiates reply back to the central system controller 15 The system controller performs the timing 10 function to determine the length of the self test run An approximate error rate (errors in 106 or errors in 105) can then be computed by the system controller 15.
The format of the response of the test and control unit to a DEC command is as follows:
Error Count Word 1 15 Bits O 6 Character error count binary coded number which represents the number of parity or framing errors in all messages received from the system controller since the last DEC command.
Bit 7 Parity 20 Error Count Word 2 Bits O 3 Low order 4 bits of the primary channel test error count Bits 4 6 Logic O's Bit 7 Parity 25 Error Count Word 3 Bits O 3 High order 4 bits of the primary channel test error count Bits 4 6 Logic O's Bit 7 Parity 30 A total of 8 bits in a binary coded format are utilized for the primary channel test error count Hence, it is possible to count up to 255 test errors All error counts are reset to zero after being reported Character errors are tabulated for all messages received by a particular test and control unit whether or not that modem has been addressed An incorrect block check character is counted as one character error Proper framing for a 35 received character is determined in the following manner:
( 1) A MARK to SPACE transition is recognized as the beginning of a start bit.
{ 2) The center of the start bit is checked to see that it is still a SPACE If it is not, one character error is counted 40 ( 3) The 9th bit after the start bit is checked to determine if it is a proper stop bit (MARK) If this is not the case, a framing error is recognized and the character error counter is incremented by one.
The character error count for a particular modem in the system provides an indication of 45 the quality of the secondary channel data received at that location.
After the error information is transmitted back to the system controller 15, the controller generates an RTN command Upon receipt of this RTN, the test is terminated and the modem reverts to normal operation.
A second type of test function performable by the preferred embodiment is an 50 end-to-end test between a central modem and a remote modem Such a test is a full duplex test with an error count obtained for the receiver of each modem Normal primary channel data traffic is inhibited during this test for all the modems branching off of a particular central site As in the case of self test, the internal scrambler/descrambler of the modem is used to generate and detect the test pattern To implement this test, the central system 55 controller 15 transmits in sequence the following commands: test pattern enable (TPE), EEC, DEC, and RTN.
The system controller 15 will sequentially send the TPE command first to the central modem and then to the remote modem The TPE instruction enables the pseudo random pattern generator in the modem transmitter and the pseudo random pattern detector in the 60 modem receiver Internal RTS of the modem is forced on A delay is provided before the next EEC command to allow the scramblers and descramblers in the two modems to synchronize.
The other commands EEC, DEC, RTN, cause the test and control unit to perform as discussed above The EEC command is sent first to the central modem and then to the 65 7 1 605 059 7 remote modem, as is the DEC command.
Another form of test function performable is an analog loop test with test pattern, which is always conducted between a central and remote modem This test is operator-controlled and may take advantage of the fact that the central system controller 15 can have the network structure stored in its data base For example, the operator of the system controller 5 presses in sequence first an analog loop key and then a test key Then, it is only necessary for the operator to key in the address of the remote modem Since the system controller has the network structure stored in its data base, the address of the centralsite will be implicit in the command The system controller 15 can then address the necessary analog loop test commands to the proper site 10 To perform the analog loop test, an analog loop command is transmitted by the system controller 15 to the remote modem and a test pattern enable command is transmitted to the central modem The test and control unit is designed such that even though placing the modem in the condition for performing an analog loop test causes loss of carrier, a subsequent receive line fault mayday will not result The sequence of commands utilized is 15 discussed in the following paragraph.
In performing the analog loop test, an analog loop (ACL) command is sent to a remote site under test The analog loop command causes the receive input of the modem under test to be connected back to its transmit output through a stage of gain Next TPE is sent to the central site, enabling its scrambler and descrambler An EEC command is also sent to the 20 central site to initiate the accumulation of errors Next DEC is sent to the central site where it elicits a reply, including the error count at the end of the test in an 8-bit binary format.
RTN is then sent to all modems on the central line, utilizing the group address previously discussed The sequence of commands emanating from the central controller during this test may be summarized as follows: 25 (RMT ADD 3) (ACL), (CEN ADD) (TPE), (CEN ADD) (TPE) ack back to CSC 15 (CEN ADD) (EEC), (CEN ADD) (EEC), 30 ack back to 15 (CEN ADD) (DEC), CEN ADD) (ERROR COUNT), (GROUP ADD) (RTN) response to CSC 15 35 The repertoire of commands for the test and control unit includes a Stop Error Counter (SEC) Recipt of this command cause the accumulation of test errors to cease and the total to be stored This command is useful for modems which loop both the primary and secondary channels in an analog loop test This would result in the controller receiving echoes of its own channels SEC can be used to hold an error count while the modem is 40 removed from the condition for an analog loop test.
A digital loop test with test pattern is also available This test follows the same format as the previously described analog loop test Central site modems are not placed in a particular condition for a digital loop test The test is conducted between a central site and a remote site The scrambler/descrambler and error counter are enabled for the central modem The 45 remote modem is placed in a condition for performing a digital loop test In this condition received data becomes transmit data, received clock becomes an external transmit clock, DCD becomes RTS The DTE loop serves to isolate the DTE (Data Terminal Equipment) from the modem DSR will be off at the interface to indicate to the controller that a test is in progress A digital loop command (DCL) is first sent to the remote site which is under test 50 TPE is then sent to the central site, followed by EEC, followed by DEC after the central system controller 15 has timed out the appropriate length of the error count Finally, RTN is transmitted by means of the group address.
A final test available is the analog loop, or digital loop test wherein the scrambler and descrambler and error counter of the central modem are not enabled The central site 55 modem operates in its normal condition The test is performed according to the following sequence of commands: ACL or DCL to remote site under test, and RTN by group address This test enables connecting external test sets to the central modem site.
1 605 059 8 1 605 059 8 As before noted, the test and control unit 17 has the ability to monitor its associated modem for certain anomalous conditions and transmit alarm messages back to the central controller 15 The format for the transmitted messages is the same as for the concise status message Each possible alarm condition is assigned a bit position in the mayday word.
Presence of the mayday is indicated by a one in the corresponding bit position All other 5 bits are logic O 's The alarm bit assignment is as follows:
Bit 0 Customer Alarm Bit 1 Streaming Bit 2 Receive Line Fault 10 Bit 3 Modem Power Failure Bit 4 Dedicated Line Not Restored Bit 5 O Bit 6 0 Bit 7 Parity 15 A mayday message is continuously transmitted by the test and control unit 17 until it receives an RTN or RSI command from the central system controller 15 The RTN command stops transmission of the mayday but if the cause of the alarm persists, further alarms will be transmitted RSI will inhibit the transmission of an alarm, even if the cause 20 still persists, until reset by an RTN command A single exception to this rule is the receive line fault mayday, which alarm message is so generated as to exist for a fixed period, e g 12 seconds at 75 bps As noted earlier, the RSI command will inhibit the transmission of alarm messages by the test and control unit 17, but the condition which caused the alarm will be stored With the network then free of alarms, diagnostic procedures can be undertaken 25 either with the aid of the system controller 15 (using the Dump Stored Mayday command) or by other procedures, to determine the cause of the problem.
There exists the possibility that multiple mayday messages may be transmitted simultaneously or that a mayday from one modem may be transmitted while another modem is responding back to the system controller 15 with test or status information In 30 either case, the result will be that the system controller 15 will detect framing errors on its receive data line After a certain number of framing errors are counted, the system controller will cease issuing test commands If the framing errors persist, the system controller 15 will transmit an RSI command with a group address This RSI inhibits all mayday messages from the group, and causes their storage at the sites which have 35 experienced an anomalous condition The system controller 15 may then poll each site on the central line with a DSM command to dump the stored mayday status Receipt of this command at a remote site which has stored a mayday message results in retransmission of the mayday message back to the central system controller 15 In this manner no mayday message will be lost The following paragraphs describe mayday messages provided 40 according to the preferred embodiment of the invention.
If the request to send signal from the data terminal equipment DTE associated with a particular modem is held in an "ON" condition for an excessively long time, preventing other modems on a multidrop line from transmitting, the test and control unit 17 will send a streaming alarm (STR) back to the system controller 15 An "excessive" period of time may 45 be identified according to a strap selection Remote site test and control units 17 sense RTS being on for a prolonged period of time while central site test and control units sense DCD indicarting the presence of carrier from a remote modem.
The central modem is always strapped for a longer stream time than its associated remote modem In this way if the streaming condition it due to RTS being ON for a long period of 50 time, the remote modem will always mayday first, and for a period of time there will be no multiple mayday signals If a streaming mayday is only received from a central site, then it is known that the condition has been caused by a modem failure and not interface RTS being on for a long period of time The test and control unit 17 transmits this alarm until it receives a RTN or RSI command from the system controller 15 RSI always squelches a 55 mayday RTN will not, if the mayday condition is still present upon RTN receipt.
A customer alarm message (CAM) may also be provided in response to an extra input signal from the customer In response to an ON condition, a mayday message is transmitted back to the system controller Again, the alarm is squelched by receipt of either RTN or RSI 60 If a remote modem does not detect a carrier on its primary data channel or if RTS is off at a central modem for a prolonged period of time, the respective test and control unit 17 transmits a receive line fault (RLF) mayday message back to the central system controller This period of time may, for example, be 3 4 seconds The RLF alarm is transmitted for a period, for example 8-13 seconds, and then squelched automatically by the test and 65 1 605 059 1 605 059 control unit 17 It cannot be terminated by a command from the system controller 15 because the receive line to the modem has failed After the mayday times out, the alarm condition is stored and a DSM command again produces the mayday Only the RTN command can clear the stored mayday The central modem operates in a continuous carrier mode and has its RTS on continuously Its associated remote modem has DCD on 5 continuously A remote modem transmits a RLF mayday if primary channel DCD is off for 3.4 sec A central modem transmits a RLF mayday if RTS is off for 3 4 sec If a central modem failure occurs so that RTS is off, both the central and remote sites will transmit maydays simultaneously and framing errors will occur at the system controller 15 The DSM command can then be used to recover both mayday messages If a telephone line failure 10 occurs then only the remote modem will respond If a fault occurs on the 4 wire trunk from the central modem to the bridge from which lines to individual remote modems branch out, all modems associated with the central site will experience a receive line fault This condition results in the transmission of simultaneous multiple alarm messages back to the system controller 15 The existence of simultaneous messages on line may prevent the 15 system controller 15 from decoding a unique alarm Only after the receive lines have been restored can the DSM command be used to determine which modems have previously experienced a failure.
The test and control unit 17 utilizes an auxiliary power source to generate and transmit a tone whenever a modem power supply failure occurs This alarm is termed modem power 20 failure (MPF) The central site modem of the port branch in which the power supply failure occurs detects the MPF tone and transmits an alarm message with its own address to the central controller 15 The central controller may then conduct a scan of the modems associated with the central modem which transmitted the MPF mayday The results of this scan are then analyzed by the central controller to determine which modem in the network 25 has the failed power supply.
Since the only line of communication between the central site modem unit 11 and the system controller 15 are transmit and receive secondary data channels, no power fail alarm signal is provided for these modems A digital power fail alarm signal is generated for second tier central modems 33 This digital alarm is necessary because the interface 30 between the two modems 13, 33 is of a digital nature Hence, if a second tier central modem 33 experiences a power supply failure, it will present a digital alarm signal across the DTE interface to its associated modem 13 This modem 13, which is actually a remote site modem of another central line will detect the digital power failure alarm condition and will send an analog power fail signal with its address to the system controller 15 The digital 35 alarm signal lead in a synchronous modem is bidirectional By strap selection it will be an output if the synchronous modem is a central site modem 11 and an input if the synchronous modem is a remote site modem 13.
Finally, a dedicated line not restored (DNR) message is supplied in a situation where a dial back-up connection has been made but the modem has been temporarily switched back 40 to the dedicated line to determine if the dedicated line has been restored If the modem has not received a transmit concise status (TCS) command from the system controller 15 within seconds after a switch has been made to the dedicated line, a switch back to the dial line will be automatically initiated and the DNR alarm will be transmitted over the dial line The purpose of the DNR alarm is to indicate to the system controller 15 that the modem has 45 been switched back to the dial line The system controller 15 could then transmit either an RTN or RSI command over the dial line to squelch the alarm message as discussed above.
An additional feature of the test and control unit 17 is its ability to cause its associated modem to respond to certain network control commands which are generated by the central controller 15 These commands have the same format as the test commands previously 50 discussed Commands provided for the preferred embodiment are discussed in the succeeding paragraphs.
The squelch primary transmitter (SPT) command has been mentioned previously In response to this command, the test and control unit causes the primary channel transmitter of the addressed modem to be squelched and sets DSR at the DTE interface to an "OFF" 55 state by forcing internal RTS of the modem to an off condition.
The SPT command is used when streaming is detected After the central controller supplies an RSI command, the next step is for the central controller 15 to transmit an SPT command Receipt of this command stops the streaming condition and also causes Data Set Ready (DSR) to drop With DSR off, the DTE may turn its RTS signal off If this should 60 occur, the cause of the streaming condition will have been removed The system controller may then send a dump modem status DMS command to check if RTS is now in an "OFF" condition If dropping DSR does not cause RTS to be turned off, operator intervention at the remote site will be required to remedy the difficulty The site with the streaming terminal will be temporarily inoperative However, with the SPT command still 65 1 605 059 in effect, the other sites on the central line can now communicate with the central modem.
The SPT command also provides a diagnostic tool in the situation when two or more sites respond to the same primary channel address, for example when a DTE is programmed for an incorrect address The SPT command can be used to selectively squelch certain remote sites, using the secondary channel addressing scheme The operator at the central site may 5 then determine which DTE is responding incorrectly.
An additional network command which may be provided is one to simulate power failure, termed SPF Upon receipt of this command, the test and control unit 17 enables the power failure mayday circuits and causes either the power fail tone (remote site) or digital power failure pulse (central site) to be transmitted This command SPF can then be used as 10 a test function to ensure that the power failure circuits are operating properly.
The SPF command may also be used as an aid to the central controller 15 in checking the actual network configuration In its data base, the system controller 15 may have the entire network configuration stored Each remote modem is associated with a particular central line, as already discussed The accuracy of the configuration information stored by the 15 system controller 15 may be checked by causing the remote modem to transmit a power failure mayday and then monitoring which central modem 11 responds to the central controller 15 In this manner, one may detect if a particular remote modem is operating through the central modem which the system controller 15 thinks it is.
Figure 5 illustrates the automatic dial back-up arrangement in the first tier of the network 20 shown in Figure 2 Dial Back-Up is implemented by utilizing a well-known multiline adapter 71, a number of data access arrangements (DAA) 73, and their associated telephones and a dial back-up unit 77 The adapter 71 provides an AC bridge to connect the transmit and receive line pairs of the central site modem to the associated remote site modems For the dedicated lines, the telephone company supplies this function by means of 25 an AC bridge 75, usually located in the telephone company central switching office The AC bridge 75 communicates with a dial back-up unit 77 at each remote site, which unit 77 simply switches the remote modems between the dial and dedicated lines Hence, each of the calls placed from the central site will be automatically answered at the unattended remote site 30 When a failure occurs, it is necessary to place two phone calls to the remote site, one to each DAA 73 The number of remote sites which must be dialed depends upon the location of the telephone line fault If a fault occurs between the central site modem and the telephone company AC bridge 75, all of the remote sites must be dialed If a fault occurs on one of the lines from the bridge 75 to a remote site, then only that location must be called 35 For this case, the dedicated lines to the telephone company bridge 75 must also be connected to the multiline adapter 71.
Once a remote site modem has been dialed, the system controller 15 is utilized to send a Switch to Dial Back-Up command to that modem In response, the test and control unit 17 changes the state of a Dedicated/Dial control signal to the dial mode indication and hence, 40 will be in "sync" with the state of the dial back-up unit 77 (Figure 5) A check for possible restoration of the dedicated connection is then made by sending a switch to dedicated line (SDL) command to the remote site's test and control unit 17 over the dial lines Upon receipt of this command SDL the test and control unit 17 will transmit a control signal to the dial back-up unit 77 which will cause the dial back-up unit 77 to switch the modem to the 45 dedicated lines The test and control unit 17 contains a timer circuit which is enabled when the switch from the dial lines back to the dedicated lines occurs If the test and control unit 17 does not detect a transmit concise status (TCS) command on the dedicated channel within a fixed interval, for example 3 4 seconds, the test and control unit 71 will send a control signal to the dial back-up unit 77 This control signal causes the dial back-up unit 77 50 to switch back to the dial lines Over the dial lines, the test and control unit 17 will send a dedicated-line-not-restored (DNR) mayday back to the central controller.
If the dedicated line has been restored, an end-to-end test is conducted between the central and remote modems to determine if the line is of satisfactory quality If the error rate is satisfactory, the system controller 15 will transmit a disconnect dial back-up (DDB) 55 command over the dedicated line to the remote site Upon receipt of this command, the test and control unit 17 sends a signal to the dial back-up unit 77 which causes it to hang up the dial lines If the error rate, determined in the end-to-end test, is not satisfactory, the system controller 15 will transmit a switch to dial back-up (SDB) command over the dedicated line to the remote site Upon receipt of this command, an appropriate control signal is 60 transmitted from the test and control unit 17 to the dial back-up unit 77 to switch the transmit and receive lines of the modem to the dial lines.
If the test and control unit 17 is in the dial mode and it detects a receive line fault, it will transmit the required mayday and will generate a disconnect dial pulse This is the same pulse that is generated in response to a DDB command Receipt of this pulse by the dial 65 1 605 059 back-up unit 77 will cause it to hang up the dial lines and switch the modem to the dedicated lines If the dedicated line has not been restored, the operator at the site of the system controller 15 can again place the required calls to establish the dial back-up connection If it were not for this protocol, it would not be possible to reestablish the dial connection because subsequent calls would encounter a busy signal (dial back-up still holding the dial 5 lines).
It is possible to use the secondary channel as a data channel For this purpose, the repertoire of commands includes an Inhibit Test and Control (ITC) command Upon receipt of this command from the system controller 15, the test and control unit 17 will not monitor its received secondary channel data for possible test and control commands 10 Hence, it will not inadvertently go into a test mode by decoding a command in a random data stream If an alarm condition occurs while the modem is in an ITC mode, the test and control unit 17 will clear this mode and will transmit the appropriate mayday A Return to Normal (RTN) command resets to normal operation when it is desired to remote it from an ITC mode Use as a data channel is preferably subject to the following limitations in the 15 preferred embodiment:
1 No secondary CTS.
2 4 Wire operation.
3 Only secondary RTS control No reverse channel operation under control of primary 20 RTS.
4 If the modem is a central site of a multidrop network, it must operate in a continuous carrier mode on the secondary channel.
If the modem is a remote site of a multidrop network, its secondary channel is operated in a controlled carrier mode but secondary DCD will not be present at the 25 DTE interface.
6 The data transmitted by the secondary channel cannot include either the RTN or RSI commands For a central site modem, if the received data is in a SPACING condition for greater than 300 msec, it will be clamped at the DTE interface to a MARK until a SPACE to MARK transition occurs 30 When operated in a data mode, the secondary channel accepts 0-150 bps asynchronous data.
Figure 6 illustrates a particular structure for a test and control unit which includes four multiplexers, 55, 57, 59, 61, a microprocessor central processing unit (CPU) 63, and a 35 program storage unit (PSU) 65 The multiplexers 55, 57, 59, 61 serve to double the number of possible inputs to the microprocessor CPU 63 Each multiplexer has eight inputs An, Bn, and four outputs, Y, Each of the multiplexers are controlled by a select line 64 on which a control signal is outputted from the PSU 65 When the select lines 64 are activated (are a logic 1), the B, inputs to the multiplexers are gated to the multiplexer outputs Yn, while if 40 no select signal (the select lines are a logic 0) appears, the An inputs are gated to the outputs Yn Thus, the microprocessor 63, 65 selects the set of inputs it will need for a particular operation under program control Thirty-two possible inputs to the microprocessor exist.
The various input signals may be level converted as necessary.
The signal on the A, input represents either primary RTS of a remote site, primary DCD 45 of a central site, a logic high or low If the modem is operating as a remote unit in a point-to-point configuration, the input is RTS of the remote modem If the modem is operating as a central unit in a point-to-point configuration, the input is DCD of the central unit If the modem is operating as a remote modem in a multipoint network, the input is a high logic level, whereas if the modem is operating as a central unit in a multipoint network, 50 the input A, is a low logic level The B, input is a fixed low logic level, representing no input The Y 1 output is Al/0 Thus, in a point-to-point configuration, RTS/DCD is saved for status purposes Otherwise, the A, input indicates whether the modem is a remote or central multipoint unit.
If the modem is operating as a remote unit, the A 2 signal is DCD; and, if the modem is 55 operating as a central unit, the signal is RTS For a remote unit, DCD should always be on, as should RTS for a central unit An off condition at A 2 thus indicates a receive line fault.
The B 2 input is one bit of a speed select code, either a logic 0 or logic 1 The output Y 2 is then a receive line fault signal or one bit of the speed select logic code The speed select code is used to program the particular data rate at which the secondary channel of the 60 system is to operating.
The A 3 input signal is primary DSR and the B 3 input signal is the second bit of the speed select code, either a logic 0 or logic 1 The output Y 3 is then either DSR or a second speed select bit The inputs B 2 and B 3 thus supply a two-digit speed code upon proper selection by the select line 64 to the multiplexer 57 65 1 1 1 1 1 605 059 The A 4 input is a signal quality indication The signal quality indication may be developed from primary DCD and the signal quality level produced by the associated modem The modem signal quality indication is inverted and serves as an input to an AND gate The other input to the AND gate is primary DCD, and the output of the AND gate is the A 4 input An off condition at the output of the AND gate indicates that DCD is on and the 5 signal quality is poor The B 4 input is binary logic level, which serves as a one bit of a stream time code STL The Y 4 output is alternatively a signal quality indication or the STL bit.
The As input is primary RTS from the data terminal equipment DTE Primary RTS is preferably supplied to the circuits of Figure 4 by a window comparator which monitors the voltage of the RTS lead circuit An "OFF" condition is supplied to the A 5 input if this 10 voltage is between 3 volts or an open circuit this indicates data terminal equipment power failure.
A strap may be provided to connect the primary RTS to a bias voltage supply in case a DTE not providing RTS is being used The B 5 input is the other bit of the stream time code STH The Y 5 output is then either an indication of whether the data terminal DTE has 15 power, or is a second stream time code bit STH, depending on the state of the select line 64.
The A 6 input signal is a dial mode status bit This bit indicates that the modem is operating either on a dedicated or a dial line The B 6 input signal is the first bit modem type code The Y 2 output signal is then either a dial mode indication or a modem type indication.
The A 7 input signal in remote modem is a digital power fail pulse from an associated 20 second tier central modem indication For central site modems the A 7 input is demodulated received data This also serves as a power fail indication If a remote modem, connected to a particular central modem, experiences a power failure, then it will transmit a tone corresponding to a SPACING condition on the secondary channel Detection of the SPACING condition for a particular period of time causes the central modem to transmit a 25 modem power fail mayday The B 7 input is the second bit of the modem type code The Y 7 output provides a power fail indication or a second modem type bit The B 6 and B 7 inputs form a modem type code.
The A 8 input is a customer alarm signal This signal is provided by the modem user and may, for example, be a burglar alarm The B 8 input is a bit stream representing the number 30 of test errors occurring during a modem test The test error signal may be provided by gating a test level with the receiver clock and supplying the result to the Bg input The Y 8 output is either a customer alarm or an error signal.
The Ag input is either DCD (OFF in test) in central multipoint modems or RTS in remote multipoint modems In point-to-point modems, the A 9 input is grounded The Ag input 35 serves to detect a streaming condition If DCD or RTS for the central and remote modems, respectively, is continuously on for an inordinate period of time, a streaming condition is indicated In point-to-point operation, no streaming condition is necessary because no other modems would be interfered with Therefore, in point-to-point, the streaming input is effectively disabled by the connection to ground The B 9 input is a first bit AD,, of the eight 40 bit test and control unit address The output Y 9 is thus either a streaming indication or the first address bit.
The A 10 input supplies a signal which indicates that the receiver clock is operating properly This signal is developed by feeding the receiver clock to a retriggerable monostable multivibrator The pulse width of the monostable is set such that if the receiver 45 clock is at the proper frequency, a continuous pulse level is produced at the output of the monostable The input signal to the input terminal B 10 is the second bit of the test and control unit address AD, The output signal Y 10 is the receive clocking indicating or the second address bit The All input is primary channel transmit data of the modem. The input to the terminal B,, is the third bit of the microprocessor
address AD 2 The 50 output Y 11 is either an indication of the state of modem the transmit data or the third address bit AD 2.
The input signal to terminal A 12 is the receive data signal while the B 12 input is the fourth bit in the test and control unit address AD 3 The output Y 12 is either the receive data state or the fourth address bit AD 3 55 The input A 13 to the multiplexer 61 is the modem Clear to Send signal CTS, whose current state is monitored, and the input to terminal B 13 is the fifth address bit AD 4 The output Y 13 is then either the Clear to Send signal CTS or the fifth address bit AD 4.
The input to A 14 is a transmitter clocking signal This signal is again produced from the transmitter clock utilizing a retriggerable monostable circuit, as previously described for the 60 receive clock The B 14 input is the sixth test and control unit address bit AD 5 The output Y 14 is an indication of the transmit clock operation or the sixth address bit AD 5.
The input A 15 is an indication of whether or not the modem is in the digital loop test mode The digital loop signal is tapped from the digital loop control output of the microprocessor PSU 65 The input B 15 is the seventh test and control unit address bit AD 6 65 13 1 605 059 13 Therefore, the output Y 15 is either the digital loop mode indication or the sixth address bit AD 6.
The final multiplexer input A 16 provides an indication of whether the modem is in the analog loop test mode This signal is again tapped from the analog loop control signal at the output of the microprocessor PSU 65 The B 16 input is the last test and control unit address 5 bit AD 7 The output Y 16 provides an indication to the microprocessor of whether or not the modem is in the analog loop test mode or alternatively provides the eighth and the final address bit AD 7 The address bits ADI, AD 2 AD 7, are selectively connectable to 0 and 1 logic levels to set the address of the test and control unit in any particular modem site.
Formatted data including commands are received by the microprocessor PSU 65 at a 10 receive data input 164 The formatted data is then transformed by the microprocessor, as later discussed.
The microprocessor PSU 65 supplies a number of control signals to its' associated modem, as well as transmit and receive signals As discussed above, the analog loop and digital loop control signals cause the modem to perform either the analog loop or digital 15 loop self tests A dedicated/dial control signal controls whether the modem is connected to the dedicated or dial-up transmission line This control signal provides automatic switching between the dial and dedicated lines The break line loop control signal is activated in the self-test mode to disable the connection of the telephone line loop which normally occurs in the analog test mode At the same time, the inverse of the break-line loop control signal 20 RCC disables the primary channels test pattern signal from appearing on the telephone lines The secondary channel may then be used to transfer the self-test results back to the modem The SPT control causes the primary transmitter to be squelched at proper times in response to a SPT command from the controller The TPE control signal enables the test pattern generator and detector in the associated modem for particular test operations The 25 secondary channel transmit enable signal controls the activity of the secondary channel transmitter The disconnect dial control signal is a 13 micro-second pulse, which disconnects the modem from dial lines Messages which are formatted for response back to the system controller are outputted in the proper format at the message out terminal At remote sites, data outputted from the message out channel is applied to the modulator for transmission 30 on the secondary FSK channel At central sites, the message out of the microprocessor PSU is OR gated with secondary channel receive data, which has been demodulated from a remote site, or its is the digital output of the central site test and control unit Finally, the SPF output control signal is a control signal which causes the apparatus to simulate a power fail for purposes of checking out the power failure circuitry 35 This power fail circuitry is illustrated in Figure 7 As shown, the power fail sensing circuitry includes a power fail sensing relay driver 121, a relay 123, a capacitor 125, a power fail oscillator 127, and a low-pass filter 129 The power fail sensing relay driver 121 detects an AC power failure, for example, a blown fluse or a pulled plug It also senses short circuit or open circuit conditions on any of the modem power supply voltages and opens on the 40 secondary power side When a power failure is detected, relay contact K, opens and relay contact K 2 closes The opening of K, insures that the power fail oscillator and low pass filter are powered solely by the capacitor When the capacitor discharges the oscillator stops and the power fail tone ceases It is desirable that this tone be only transmitted on a one shot basis The closing of K 2 applies the tone to the output of the modem The frequency of the 45 tone corresponds to a SPACING condition on the secondary channel Its duration is approximately 10 seconds When the tone is emitted by a remote modem, the central site will detect the SPACING condition for six hundred milliseconds and will transmit a modem power fail mayday with its address If the modem is operating as a second tier central modem, its power fail output must be in digital format In this event, relay contact K 2 50 applies the capacitor voltage to a pulse generator which provides a digital power fail signal DPF of approximately seven seconds duration to an associated remote modem as modems 13 and 33 in Figure 2.
Figure 8 illustrates the processing of the secondary channel receive and transmit signals.
The receive line signal in analog form is first applied to a band-pass filter 91 with a center 55 frequency of 420 Hz to separate the secondary channel from the main channel The output of the band-pass filter 91 is sliced by a comparator 93 and supplied in digital format to the demodulator 95 In actual implementation, the FSK digital demodulator 95 is preferably formed as part of the associated modem digital LSI circuitry The output of the demodulator 95 is applied to a post filter 97, which is a low-pass filter centered at 130 Hz 60 The output of the low-pass filter is applied to a second comparator 99, the output of which is secondary channel demodulated data The secondary channel carrier is detected by a carrier detect circuit 101 which provides a positive indication when the level of the secondary channel signal exceeds a fixed threshold and which outputs a carrier detect signal to an AND gate 103 The other input to the AND gate 103 is the output of the second 65 1 605 059 1 605 059 comparator 99 The output of the AND gate 103 is secondary channel received data which is supplied to the input terminal A 7 in Figure 6 for power fail detection The output of the demodulator is gated with carrier detect so that secondary receive data is changed to an off condition when the modem is not receiving secondary carrier The output of the second comparator 99 and a delayed form of the carrier detect signal are applied to a second AND 5 gate 105 AND gate 105 accomplishes the same function as AND gate 103.
In a remote modem, the output of the AND gate 105 is outputted to the receive data input 164 of the microprocessor and to the secondary channel receive data OR gate 108 In the central site mode, the output of the AND gate 105 is applied to a three hundred millisecond space inhibit timer 107 and from there, supplies a demodulated secondary 10 channel receive data output through the OR gate 108 for the system controller 15 If the processor 63, 65 is at a central site, the output of the OR gate 108 is the message output of the processor The receive data to the microprocessor is supplied by the secondary transmit data input 110 in the central site modem The 300 millisecond space inhibit timer limits the propagation of the power fail space tone to a single tier of the network 15 At remote sites, the message out of the microprocessor is applied to a digital modulator 114, preferably on the modem LSI chip, and then to a band-pass filter 15 for transmission across the transmission line channel If the modem is a central site, digital data from the system controller 15 is also applied to the modulator 114 through an OR gate 113 for transmission to remote sites 20 The operation of the processor 63, 65 is illustrated in the Flow Diagrams 9 to 21 As shown in Figure 9, the processor normally runs in an idle loop, monitoring various system parameters First, the processor tests the power failure indication and receive line fault indication and resets respective timers if no alarm condition has been detected The processor then tests and saves transitions in relevant status bits Next, the streaming 25 indication is checked and a timer reset if no streaming condition is indicated The next test in Figure 9 is for data spacing If data spacing is detected, subsequent reception of a character is indicated When a start bit is detected, flags are set to indicate character reception Once the start bit has been detected, a character will then be received Next, if a DNR time-out is not in progress, the DNR timer is reset to zero If a DNR time-out is in 30 progress, the timer is allowed to run and the next step is performed In this step, the counting test errors condition is checked If errors are being counted, and an error has occurred, a counter is incremented The idle loop is then repeated.
Every 3 348 milliseconds, an interrupt from idle occurs, as illustrated in Figure 10 The time 3,348 milliseconds is set to enable sampling in the middle of each receive bit at the 35 highest baud rate At 75 BPS, four clocks per bit time are provided.
The first test in the interrupt chain is to ascertain if a character is being received according to the flags set during the idle loop If so, the processor jumps to the routine indicated in Figure 12 If not, the alarm conditions in a temporary alarm storage register are cleared and a number of alarm conditions then monitored The power failure time-out is monitored; 40 and if a time-out has occurred, a power fail bit is set in the temporary alarm storage register.
If not, the power fail timer is advanced and a test for receive line fault time-out is made If a receive line fault time-out has occurred, the receive line fault bit in the alarm register is set and a check for dial mode is made If the modem is in the dial mode, the processor instructs that the dial line be dropped If a receive line fault time-out has not occurred, the receive 45 line fault timer is advanced and the next test is made In this test, the streaming time-out indication is monitored If a streaming condition has occurred, the streaming bit in the temporary alarm storage register is set If not, the streaming timer is advanced and the flow proceeds to Figure 11.
In the flow of Figure 11, a test for a customer alarm condition is made, and the customer 50 alarm bit in the temporary storage register is set if necessary Next, a test for DNR timing is made If DNR is timed out, the processor sets the DNR bit in the alarm storage register and produces an output control signal causing a switch-back to the dial line.
Next, a flag is examined to indicate whether a message transmission is required If so the flow of Figure 15 is performed If not, a test is made to indicate whether any alarms have 55 been set If no alarms have been set, the idle condition is reentered If alarms have been set, it is necessary to send an alarm message back to the Central System Controller 15, if the alarm condition is not one which has been inhibited by a received RSI command In such case, the ITC mode is cleared and the alarm type is saved in a transmit buffer The program then proceeds to the flow of Figure 14 for configuring a single data byte message If the 60 receipt of a character is detected according to Flows 9 and 10, the receive process of Figure 12 is entered This process is controlled by a programmable counter in the PSU 65, which resynchronizes upon the transition which indicates beginning of a start bit The counter operation upon an input message is illustrated in Figure 22 The first test in Figure 12 examines the count of the programmable counter to determine if it is time to detect a bit If 65 1 605 059 15 not, the RX routine is exited back to the flow of Figure 10 If it is time for a bit, the next test is to detect if it is time for a start bit This detection is made by utilizing a second counter which decrements on each sampling interval and is idle during stop bits The count of 10 indicates a start bit and count of 1 indicates the last bit Sampling occurs at the mid-point of each bit time If it is time for a start bit, a test is made to determine if the start bit is good, 5 and an error is counted if it is not good If it is not time for a start bit, a test is made to see if it is time for a stop bit If it is time for a stop bit, the quality of the stop bit is again ascertained If the stop bit is proper, a parity check is then made on the entire message word, and if the parity is good, the receive process is cancelled, saving the new word in a receive stack If it is not time for a stop bit, the new bit is sampled, detected, and shifted 10 into a register storing the current data word The receive routine is then exited.
If a new word was saved in a stack according to the flow of Figure 12, the flow of Figure 13 is entered The received characters are stacked successively with the first received character being shifted successively upward in the stack as additional characters are received Thus, the first step in Figure 13 is to check the top of the stack (the oldest 15 character position) to determine if it is a "DEL" character If so, a complete message possibly has been received If not, the process enters the idle mode If DEL has been detected at the top of the stack, the next test is to ascertain if the address is a group address.
If not, the address is tested to ascertain if it is the address of the microprocessor under discussion, as set by the address bits AD( AD 7 If the address is improper, the processor 20 returns to the idle mode If the address is correct, the processor checks the Block Check Character (BCC) If the Block Check Character is proper, the command number is saved for a later Acknowledge operation according to the flow of Figure 14 The command is then examined to determine if it is a member of the permissible command set If it is not, the process returns to the idle mode If the command is a proper command, a test is made to 25 ascertain if the processor is in the ITC mode If not, the processor branches to the commanded routine through a table, as indicated.
Figure 14 illustrates the Acknowledge procedure The command number saved during the flow of Figure 13 is placed in the data byte location of the transmit stack Parity is then calculated for the data byte, and the Block Check Code is generated and saved in the 30 transmit stack In the case of a single data byte message, a terminator is placed in the transmit stack to indicate a single data byte message A pointer to the top of the stack is then set to indicate the next character to be transmitted and the "transmit busy" flag is set.
Setting of the transmit busy flag will cause the flow of Figure 11 to branch to the transmit routine of Figure 15 If a mark byte is to be sent, the start bit is set to mark This causes a 35 character to be transmitted which substitutes a data mark bit where the start bit would normally occur Parity for a character containing all ones is also a one (mark), resulting in a continuous mark-hold condition for the duration of one character time This delays the second character, a sync byte, until the corresponding receiving circuit can detect the mark hold and prepare to receive without missing any bits The start bit is then reset to space to 40 allow normal transmission of subsequent characters The receive line fault counter is then loaded to time the sending of the RLF alarm and the processor returns to the idle mode.
When the processor enters the transmit mode, Figure 15, secondary channel carrier is turned on A counter is again used to time the transmission of the message, which is stored in a transmit stack First, a test is made to determine if it is time to send a bit If not, the idle 45 mode is re-entered If yes, the count is then examined to determine if it is time for a start bit If yes, the start bit is sent If not, a test is made to determine if it is time to send a stop bit, and if so, a mark is sent If it is not time for a start bit or a stop bit, a test is made to determine if the end of the character being transmitted has been reached If the end of a character has not been reached, a data bit is sent and the processor returns to the idle mode 50 If the end of a character has been detected, the bit counter is reset, the transmit stack pointer is advanced, and a test is performed to ascertain if the bottom of the transmit stack has been reached If the bottom of the transmit stack has been reached, the carrier is dropped, the transmit busy flag is cleared, and the processor returns to the idle loop If the bottom of the transmit stack has not been reached, the flow of Figure 16 is performed 55 In the flow of Figure 16, if the end of the message has not been reached, the transmit bit counter is re-loaded and the flow of Figure 15 is re-entered If the message is at an end, a test is made to determine if the message was an alarm message, which is repeatedly sent If it was not, the flow of Figure 15 is re-entered at point 5 If the message was an alarm message, a test is made to ascertain if it was a receive line fault alarm, which times itself out 60 If not, the transmit stack pointer is set back to the top of the stack and the flow of Figure 15 is re-entered at 4 If the alarm was a receive line fault, a test is made to determine if the time for transmission of the RLF has expired, which is normally 10 seconds of transmission and varies two seconds depending on T 7 band rate If so, the RLF signal is inhibited and the flow of Figure 15 is re-entered at point 5 65 16 1 605 059 16 The flow of Figure 17 indicates the response of the processor to commands which are acknowledged by the processor In response to an RSI command, any alarms are loaded from temporary alarm storage to the mayday inhibit flags In response to an RTN command, all mayday inhibits are cleared The SPT, TPE, BLL, ACL, DCL and any active alarm bits are cleared as well as ITC mode, (Not a bit) before returning to the 5 Acknowledgement flow The SDB command sets a bit which causes the modem to switch back to the dial back-up lines The SEC command clears the error count flag The DCL command sets the DC loop control bit, and the ACL command sets the AC loop control bit.
The ITC command sets a flag indicating the ITC mode All of these commands then return to the Acknowledge flow of Figure 14 10 Figure 18 illustrates the performance of the DEC and DMS commands, which require the processor to configure a 3-data byte message For the DEC command, the error counters are placed in the transmit stack For the DMS command, the status bits are collected and placed in the transmit stack The flow then returns to the 3-byte message entry point of Figure 14 15 The flow of Figure 19 illustrates the performance of the EEC, STE, and TPE commands.
In response to the EEC command, the test error counter is cleared, the error count flag is set and the current error bit state is stored In response to the STE command, the AC loop and break line loop bits are set and the test pattern enable bit is set Acknowledgement is then provided by reverting to the flow of Figure 14 20 Figure 20 illustrates the SPF and SPT commands It may be noted that this flow 20 returns to the idle state and no Acknowledgement is provided.
Figure 21 illustrates performance of the SDL and DDB In response to SDL, a control bit is set to cause the switch to dedicated lines and the DNR flag is set to start time-out for the DNR mayday The next step in responding to the SDL command and the only step in 25 responding to the DDB command is to drop the dial line and return to the Acknowledgement routine.
Matter described hereinbefore is described and claimed in patent applications Nos.
22984/78 and 8102981 (Serial Nos 1605057 and 1605058).

Claims (4)

WHAT WE CLAIM IS: 30
1 Apparatus for testing and monitoring a modem the apparatus comprising means for receiving commands from a control source, means for transmitting messages to such a source, means for utilizing commands received by the receiving means for testing a modem in response to test commands, 35 means for monitoring the modem for alarm conditions, and means for supplying an alarm message to the transmitting means if any alarm condition is detected by the monitoring means.
2 Apparatus according to claim 1, wherein the said means for utilizing commands is operable for squelching a data transmitting means of the modem in response to a network 40 control command.
3 Apparatus according to claim 1, wherein the said means for receiving commands and means for transmitting messages receive and transmit respectively on a frequency shift keyed channel.
4 Apparatus according to claim 1, further including means for adapting the apparatus 45 to operate with a remote or central site modem.
Apparatus according to claim 1, wherein the said monitoring means is such as to monitor the modem for a predetermined alarm condition autonomously of the control source.
17 1 605 059 17 6 Apparatus according to claim 1, wherein the said monitoring means, the said receiving means, the said means for utilizing commands and the said transmitting means are at least partly embodied in a programmed microprocessor in such a manner that on detection of a said alarm condition by the monitoring means a corresponding alarm bit is set, that the said receiving means is adapted to receive a plurality of words, each word 5 including start, stop and parity bits and an information character, and to detect said start and stop bits, check the parity condition and store the received character in a character stack, that the means for utilizing commands is adapted to check the contents of the said stack and to set control bits for effecting a command if the said contents are correct, and that the transmitting means are adapted to transmit out of the apparatus a respective 10 message formatted and stored in response to an alarm condition or in response to a properly received command.
REDDIE & GROSE, Agents for the Applicants 15 16 Theobalds Road, London WC 1 X 8 PL.
Printed for Her Majesty's Stationery Office, by Croydon Printing Company Limited Croydon Surrey, 1981.
Published by The Patent Office 25 Southampton Buildings London WC 2 A IAY, from which copies may be obtained.
GB3074/81A 1977-06-06 1978-05-26 Modem test and monitoring apparatus Expired GB1605059A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US80394577A 1977-06-06 1977-06-06

Publications (1)

Publication Number Publication Date
GB1605059A true GB1605059A (en) 1981-12-16

Family

ID=25187819

Family Applications (3)

Application Number Title Priority Date Filing Date
GB3074/81A Expired GB1605059A (en) 1977-06-06 1978-05-26 Modem test and monitoring apparatus
GB2981/71A Expired GB1605058A (en) 1977-06-06 1978-05-26 Modem systems
GB22984/78A Expired GB1605057A (en) 1977-06-06 1978-05-26 Modem diagnostic and control system

Family Applications After (2)

Application Number Title Priority Date Filing Date
GB2981/71A Expired GB1605058A (en) 1977-06-06 1978-05-26 Modem systems
GB22984/78A Expired GB1605057A (en) 1977-06-06 1978-05-26 Modem diagnostic and control system

Country Status (8)

Country Link
JP (2) JPS5416949A (en)
BE (1) BE867885A (en)
CA (1) CA1133638A (en)
CH (4) CH642499A5 (en)
DE (1) DE2824578A1 (en)
FR (1) FR2408953B1 (en)
GB (3) GB1605059A (en)
SE (1) SE438932B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS558856A (en) * 1978-07-05 1980-01-22 Mitsubishi Paper Mills Ltd Covering of finely dispersed liquid droplet with thin film
FR2455827A1 (en) * 1979-05-03 1980-11-28 Ibm France DIAGNOSTIC AND ALARM DEVICE FOR A DATA COMMUNICATION NETWORK
FR2466143A1 (en) * 1979-09-18 1981-03-27 Lignes Telegraph Telephon METHOD AND DEVICE FOR AUTOMATICALLY TESTING A SYSTEM FOR TRANSMITTING DIGITAL DATA
US4398297A (en) * 1980-10-10 1983-08-09 Bell Telephone Laboratories, Incorporated Data set diagnostic system
US4398299A (en) * 1980-10-10 1983-08-09 Bell Telephone Laboratories, Incorporated Data set network diagnostic system
JPS5772891A (en) * 1980-10-23 1982-05-07 Mitsubishi Paper Mills Ltd Pressure sensitive copy paper
DE3069082D1 (en) * 1980-11-28 1984-10-04 Ibm Multichannel modem and its utilization in a process and system for testing a communication network with several levels
JPH0746808B2 (en) * 1984-02-23 1995-05-17 中部電力株式会社 Network control method
DE3586758T2 (en) * 1985-04-30 1993-04-22 Ibm MODEM FOR CONTROLLING A MODEM NETWORK.
US4937825A (en) * 1988-06-15 1990-06-26 International Business Machines Method and apparatus for diagnosing problems in data communication networks
JP2682703B2 (en) * 1989-07-21 1997-11-26 富士通株式会社 Multipoint connection modem retraining method
JP2558012B2 (en) * 1990-11-27 1996-11-27 富士通株式会社 Communication line backup method
DE4225203A1 (en) * 1992-07-30 1992-12-03 Siemens Ag DIGITAL COMMUNICATION NETWORK
EP0585061A2 (en) * 1992-08-25 1994-03-02 Nortel Networks Corporation High availability leased lines
DE4410338C2 (en) * 1994-03-25 1996-03-28 Telefunken Microelectron Data transmission system
CN113447056B (en) * 2021-05-10 2022-05-27 四川省地质工程勘察院集团有限公司 Geological monitoring and early warning device capable of being automatically adjusted through ground compactness

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US30037A (en) 1860-09-18 Mode of attaching horses to vehicles
US3349374A (en) * 1963-08-05 1967-10-24 Motorola Inc Supervisory control system with message traffic control
US3806878A (en) * 1971-08-05 1974-04-23 Ibm Concurrent subsystem diagnostics and i/o controller
US3715723A (en) * 1971-12-28 1973-02-06 Nasa Frequency division multiplex technique
US4039751A (en) * 1972-04-24 1977-08-02 General Datacomm Industries, Inc. Method and apparatus for closed loop testing of first and second modulators and demodulators
US3819878A (en) * 1972-12-18 1974-06-25 Antekna Inc Transmission test set for telephone circuit data communication systems
US3838260A (en) * 1973-01-22 1974-09-24 Xerox Corp Microprogrammable control memory diagnostic system
US4076961A (en) * 1974-09-23 1978-02-28 Intertel, Inc. Automatic switching unit for data communications network
US3943305A (en) * 1974-11-11 1976-03-09 Magnetic Controls Company Telephone line control system
US3920975A (en) * 1974-11-14 1975-11-18 Rockwell International Corp Data communications network remote test and control system
US4006461A (en) * 1975-02-03 1977-02-01 Tull Aviation Corporation System for transmitting operating condition data from a passive station to a central station
US4055808A (en) * 1976-05-20 1977-10-25 Intertel, Inc. Data communications network testing system
US4076970A (en) * 1976-10-04 1978-02-28 Telecommunications Technology, Inc. Switching system having a central controller for accessing individual telephone circuits for testing
JPS5362907A (en) * 1976-11-17 1978-06-05 Fujitsu Ltd Alarm information transmission system
JPS5362905A (en) * 1976-11-17 1978-06-05 Fujitsu Ltd Alarm information collection system
US4112264A (en) * 1976-12-28 1978-09-05 Bowne Time Sharing, Inc. Testing and switching system including remotely controllable stations for information transmission and communications networks and systems

Also Published As

Publication number Publication date
GB1605057A (en) 1981-12-16
DE2824578A1 (en) 1979-01-11
GB1605058A (en) 1981-12-16
FR2408953B1 (en) 1986-05-23
JPS62142434A (en) 1987-06-25
SE438932B (en) 1985-05-13
CH641612A5 (en) 1984-02-29
CA1133638A (en) 1982-10-12
CH642209A5 (en) 1984-03-30
JPS5416949A (en) 1979-02-07
FR2408953A1 (en) 1979-06-08
DE2824578C2 (en) 1990-08-23
CH642499A5 (en) 1984-04-13
BE867885A (en) 1978-10-02
SE7806295L (en) 1979-02-02
JPS649783B2 (en) 1989-02-20
CH641613A5 (en) 1984-02-29

Similar Documents

Publication Publication Date Title
US4385384A (en) Modem diagnostic and control system
GB1605059A (en) Modem test and monitoring apparatus
EP0139936B1 (en) A method of detecting a hot carrier condition in a multiple access data communication network
US4159470A (en) Data communications systems employing redundant series transmission loops
US5060226A (en) Telecommunications network test system
US4633468A (en) Detecting and recovering from fault condition in a serial loop data transmission system
US4398299A (en) Data set network diagnostic system
US5479650A (en) Method and apparatus for switching communications from a secondary channel to a primary channel
US4398297A (en) Data set diagnostic system
US4498186A (en) Data set diagnostic system
EP0385804B1 (en) Network termination equipment
CA1139449A (en) Data communication system with dedicated and back-up lines
CA1138998A (en) Modem diagnostic and control system utilizing a microprocessor
CA1138996A (en) Test and control unit for use in conjunction with a data modem
CA1138999A (en) Communication system with primary and back-up transmission lines
USRE33368E (en) Data set network diagnostic system
CA1138997A (en) Modem diagnostic and control system
JPS6341257B2 (en)
EP0385042A1 (en) Method of adjusting the end of transmission in a modem
JPS5853268A (en) Circuit controlling system of facsimile
JPH0716193B2 (en) Power-off detection method for modulator / demodulator
JPS61163761A (en) Modem testing system
JPS5833745B2 (en) Data transmission path restoration control method
JPS5842667B2 (en) Various data transmission methods for data transmission systems
JPS63296422A (en) Detecting system for abnormal transmission state

Legal Events

Date Code Title Description
PS Patent sealed [section 19, patents act 1949]
PE20 Patent expired after termination of 20 years

Effective date: 19980525