SECURE ACCESS TELEPHONE EXTENSION SYSTEM AND METHOD

Abstract: A method and system is provided for conducting secure power line carrier communications in full duplex over the power lines of a building. The method employs system control logic for (A) multiple extension arbitration logic, (B) privacy from eavesdropping and (C) security from third party central office line capture by means of a digital messaging system in each base (2) and extension (4) unit utilizing a unique and matching security key (preamble) with each message instructing the system to change operating states. Matching of the random security codes may be initiated by the user. By this means unauthorized access to the central office line (especially for long distance calls) and eavesdropping by other users in the same building with similar line carrier telephone extension products is prevented.

Description: SECURE ACCESS TELEPHONE EXTENSION SYSTEM AND METHOD I. BACKGROUND OF THE INVENTION A. Field of the Invention This invention relates to the field of power line carrier current telephone extension systems. More particularly, this invention relates to secure system control protocols for line carrier telephone extension systems, which provide multiple extension arbitration logic, privacy, security and other telephone signaling options, which technique is called Secure Access (SA) . B. The Background Art Numerous attempts have been made to utilize the power lines of buildings for telephone communications with varying degrees of success. Line carrier telephone extension systems utilize 1) a single BASE unit per central office line (for interfacing line carrier signals with the central office line) and 2) one or more EXTENSION units, one for each extension phone set (for interfacing said line carrier signals with said extension phone sets) . Full duplex communication is usually attempted by using two carrier frequencies, one for each direction. Usually a transmitter and receiver are included in each base and extension station which are operating simultaneously when communication is in progress. For economic reasons FM modulation of the carrier by audio (speech) signals is often employed, of which US patent numbers 3,949,172 and 4,701,945 are examples. The physical range of line carrier communications systems is usually limited to the confines of the secondary of the power line transformer and is subject to severe noise and attenuation variances depending upon carrier frequencies and load conditions. While noise and attenuation problems may be overcome somewhat by increasing transmitter power levels or increasing receiver sensitivity, this increases the potential for interference from neighbors with similar systems, which aggravates the problems of privacy and security prior art line carrier systems exhibit. Thus, privacy or security breaches arise when other users on the same power distribution system or in the same apartment complex with the same line carrier devices can make long distance calls on another user's line and eavesdrop on their conversations. But people driving by in cars cannot scan and eavesdrop on the line carrier signals the way they can cordless phone RF transmissions. The impact of these problems has already been demonstrated in the cordless telephone industry, which shares some of the same limitations as the line carrier industry. Security from line capture by third parties has been provided by security coding protocols in the cordless phone industry. But people with scanners or cordless phone receivers can eavesdrop on a neighbor's cordless call. Also, no provision is made for multiple cordless extension phones utilizing the same base. Similarly, in line carrier systems it was not permitted for more than one system to use the same power lines in the same building. The subject matter of the instant invention relates somewhat to that of a previous application by the inventors hereof filed October 7, 1991, Serial Number 07/773,009, entitled "MULTIPLE ACCESS TELEPHONE EXTENSION SYSTEMS AND METHOD" . The previous application relates primarily to a combination of radio frequency (RF) transmission techniques such as frequency division multiple access (FDMA) and code division multiple access (CDMA or spread spectrum) . The instant application relates to the use of audio and subaudio frequency system control logic keys which unlock telephone signalling, RF and voice transmissions such as capturing the central office line, ringing the extension and speaking in full duplex between the base and extension units. The use of system control logic messages with security keys allows for non-simultaneous multiple use of the same power distribution system with privacy from eavesdropping and security. The system control logic also prevents another user from interrupting and terminating a call which is in progress. Other multiple extension arbitration logic functions are provided to permit one extension to put a call on hold and transfer the call to another extension unit. Use of FDMA in combination with security/control keys provides true multiple access and security at a low cost. Commercial applications for the secure access line carrier telephone extension technology include computer modem interfaces for pay-per-view (PPV) systems and gas pump/security office systems, where it is difficult to retrofit phone lines and twisted pairs into existing construction. Since an increasing number of people live in apartments and condominiums which share power lines and because an increase in transmission power and receiver sensitivity are required to overcome attenuation and noise problems, it is important for a telephone extension system to utilize privacy and security coding in a unique and skillful manner to permit acceptable operation. II. SUMMARY OF THE INVENTION Many prior art limitations can be overcome by proper application of secure access techniques as employed in the instant invention. Secure access (SA) techniques include the use of a digital data transmission channel operating at audio FSK rates which exchanges messages between base and extension unit controllers, which messages are composed of a sync byte, a unique security key and a system control key. SA techniques require hardware "locks" on audio, RF and system control paths which can only be connected ("opened") by receipt of the proper control key. The message can be Manchester encoded to eliminate any net DC component to the message when modulated and demodulated. Data transmission techniques such as Manchester encoding are described in the ITT "Reference Data for Radio Engineers", Fifth Ed., Howard W. Sams & Co., 1972, which is made a part hereof by reference. A sync byte (8 bits) at the first part of the message allows for the receiving controller to determine that a message is being sent and that the digital l's and O's which follow in the keys will be valid in certain time slots. Thus, the sync byte very quickly initializes a digital phase-locked loop in the receiving controller and facilitates asynchronous communications. It is important for the communication to initialize rather quickly with respect to ring commands, pulse dialing and offhook/flash signals for the line carrier extension system to be transparent with respect to most phone user services. On the other hand increasing the data rate too high will make the data susceptible to noise and interference corruption due to loss of processing gain. Realistic data rates are about 1 to 4 KBs. The security key follows the sync byte and may be of any practical length, such as 16 bits (2 bytes) , providing for 65,536 codes. Receipt of a valid security code enables the control key, which follows. The security codes may be either randomly selected by the controller or manually selected by user accessible switches. A security code matching procedure provides for base and extension units to share the same code and thus be able to accept control keys from each other. The control key follows the security key and may be 1 or 2 bytes long depending on the sophistication required by the system control logic. For example, a pulse command might require 2 bytes if the first byte is the "pulse" command and the second byte specifies the duration of the pulse, thereby distinguishing between pulse dial pulses and "flash" pulses used for call waiting, etc. Thus, telephone control signals are resynthesized by the base or extension controller as requested by control keys for transparent operation. To complete the system requirements for secure access, hardware locks (digitally controlled analog switches) must be provided in all essential telephone signal and control paths which are operated by the system controller when proper security and control keys are received. Since prior art line carrier telephone extension systems do not combine the essential elements of secure access technology, they cannot operate in an acceptable commercial manner. Accordingly, it is an object of the present invention to provide an effective method of secure access (SA) communication which provides for access of a plurality of signals on a single communications medium. It is a further object to provide a method and system of line carrier telephone communications which utilizes SA (secure access) to provide a high degree of security for preventing unauthorized access to the subscriber's line, and which provides privacy with respect to the conversation from third parties, and which provides nearly transparent interconnectivity between extension phones and the central office line. It is an object to provide a method and system of multiple extension arbitration logic to provide multiple extensions for the same subscriber line which do not interfere with each other. An additional object is to provide a method and system of line carrier telephone communications which utilizes FDMA (frequency division multiple access) in combination with SA (secure access) to prevent interference between relatively close neighboring transmission systems or partner transmissions in the same system and to provide for multiple access (simultaneous transmission) of duplex signals for at least two telephone lines. It is an object to provide a method and system of secure access cordless telephone communications which applies the same secure access techniques to obtain the same advantages as for the line carrier telephone extension systems and method. These and other objects and advantages of the invention and method will become more fully apparent as the description which follows is read in conjunction with the drawings. III. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a block diagram of a line carrier telephone extension system servicing a single subscriber line and a plurality of extension phone sets. Figure 2 is a block diagram of a line carrier telephone extension system servicing a plurality of subscriber lines and extension phones in an apartment complex with a common AC power distribution system. Figure 3 a is a state diagram for a base unit system controller. Figure 4 is a state diagram for an extension unit system controller. Figure 5 is an electrical block diagram of a base unit of a secure access line carrier telephone extension system, which interfaces a subscriber line with the AC power distribution system of a building. Figure 6 is an electrical block diagram of an extension unit of a secure access line carrier telephone extension system, which interfaces an extension phone to the power line distribution system of a building. IV. DESCRIPTION OF THE PREFERRED EMBODIMENTS Reference is first made to the illustration of a line carrier telephone extension system in Figure 1 which services a single subscriber line 1 and a plurality of extension phone sets 6 and 9. Subscriber line 1 plugs into base unit 2 which provides the interface circuitry and protocols for the subscriber line signals (including ring, off hook and duplex audio) and for secure access power line carrier signals, which are carried through a building via AC power lines 3 to extension interface units 4 and 7. The extension units 4 and 7 are single line extensions and provide means to interface the secure access line carrier signals to single line phone sets 6 and 9 via cords 5 and 8, respectively. A line carrier system as illustrated in Figure 1 must operate in a manner which is transparent to the extension phone set user. Thus, by means of base unit 2, AC power lines 3 and extension unit 4, an incoming ring signal is detected in the base unit, encoded into secure access line carrier signals, transferred through the power line, decoded in the extension unit and converted to a ring signal of identical length for extension phone set 6. When a user picks up the receiver of an extension phone set, it goes off hook, which condition is detected in the extension unit 4, encoded by said extension unit into secure access line carrier signals and transmitted via power lines 3 to the base unit 2 where the secure access line carrier signals are decoded and the subscriber line is captured by off hook circuitry. Duplex audio circuitry is unlocked and connected to the line and bidirectional transmission of voice and/or dial tones and DTMF takes place, with the voice signals modulating line carrier signals, which are transmitted via power lines 3 and decoded/demodulated back into voice in the base and extension units. Specific subsystems and corresponding functions will be addressed in reference to Figures 5 and 6. Figure 1 also may be used to illustrate multiple extension arbitration logic. For example, when a central office sends a ring signal through the subscriber line 1 into the base unit 2, the base unit 2 qualifies the ring signal for both frequency (15 to 110 Hz) and amplitude ( 40 Vrms min.) and sends start and stop ring messages to both extension units 4 and 7, which ring messages are detected and converted to standard ring signals which ring both phone sets 6 and 7 with substantially the same ring cadence as that of the original central office ring signal. Suppose a user then takes phone set # 2 (9) off hook, which is detected in the corresponding extension unit # A2 (7) , which unit sends an off hook request message to the base unit 2 which 1) qualifies the security code and off hook message, 2) captures the subscriber line and 3) sends an off hook acknowledgment message to both extension units, which off hook acknowledgment message allows only extension unit # A2 (7) to connect audio and signalling circuitry between itself 7 and phone set # 2 (9) , enabling the user to engage in normal telephone communications. If a second user at phone set 1 6 takes his receiver off hook while phone set # 2 (9) is in use, the system control logic in extension unit # Al (4) will produce a busy tone for phone set # 1 (6) and will not permit the second user access to the on going conversation because the system control logic recognizes that it did not make the first off hook request and was on hook when the first off hook acknowledgment was received. If, however, the first user goes on hook at phone set # 2 (9) while the second user at phone set # 1 (6) is off hook, extension unit # A2 (7) will send a hang message to the base unit 2 which returns an "unack" message to all extension units (but does not immediately hang up) , upon receipt of which unack message by extension unit # Al (4) it sends an offhook request to the base unit 2 and connects audio upon receipt of an acknowledgment message from the base. Logic in the base unit refrains from hanging up the central office following a hang message for only sufficient time to permit a second extension to request the line following the unack message from the base. Multiple extension arbitration logic permits a user to put a call on hold by pressing the switch hook twice quickly on his extension phone set 1 or 2. A tone generated in the corresponding extension unit 4 or 7 confirms the hold request state. The extension unit sends a hold message to the base unit 2 whereupon the base unit 1) mutes the subscriber line audio while still capturing the line and 2) sends to all extension units a 3 short ring cadence message every 45 seconds or so for ten periods, following which the base rings twice and waits a last 20 seconds before hanging up the line if the user does not take the call. During this time any extension phone set including hardwired phones can be taken offhook by a user and signal the holding base unit to go off hold; phone set 1 or 2 sends off hook requests to the base unit which unlocks the audio path; if a hard wired phone goes offhook, the base unit detects a drop in subscriber line voltage and releases line capture to the hard wired phone set. The system control logic is more particularly described in Figures 3 and 4. Figure 2 illustrates a combined application of secure access and multiple access technologies in which several apartments share a common AC power distribution system and service a plurality of subscriber telephone lines and line carrier extensions. Because all "A" units use the same line carrier frequencies, secure access techniques are required to provide privacy and security between Apt #1 line 1 and the Apt #2 line 15. The user in Apt #1 can match codes in his units by first pressing a button on base unit # Al (2) and then within a minute pressing the corresponding buttons on extension unit # Al (4) and # A2 (7) . Pressing the buttons puts the units into the learn mode, where the extensions send out a request for the randomly selected security key in the base unit, which the base returns to the extension units. Since the user in Apt #2 has no idea when the user in Apt #1 is going to match his security codes, his units A3 will have a different code. This provides for the multiple use of the AC power lines by the A frequency units on a non-simultaneous basis. Base unit # B (11) and corresponding extension unit # B (12) use a different set of multiple access transmission frequencies, which provides for true simultaneous use of the AC line medium for line # 2 (10) . Line 2 could be used for a modem, fax, pay-per-view television service or other telephone apparatus. Figure 3 and Figure 4 provide a logic state diagram for the system control protocols disclosed above in connection with Figures 1 and 2, except for the power on procedure. If during a "power on" reset procedure a unit checks non-volatile memory for a valid security code and does not find one, then it provides a default security code; otherwise it uses the code retained in memory. Since no on/off switch is provided for the units, when the AC line power is on so are the units. In the event of a power failure or unplugging of a unit, the currently used security code is saved in non-volatile memory, so that when power is restored the security code is maintained. Any number of commercial low cost microcontrollers can be employed for this application, such as the Motorola 6805 series or the Zilog Z8 series. A listing of working commercial code for this application as used in one embodiment of the invention is provided in Appendix A and is incorporated herein by reference. Other code may be used as well and still fall within the scope of the invention. Figure 5 is page 1 of a hierarchical schematic diagram of a secure access base unit 2 from the systems of Fig. 1 and 2. Each of the blocks 5-2 through 5-12 are illustrated as complete electrical schematics in Appendix B, according to hierarchical schematic procedures. Appendix B is hereby incorporated by reference. Other electrical schematics embodying the inventors' invention may be employed as well and are intended be comprehended within the scope of the invention. Phone line 1 is connected to colic 5-2, and AC power line 3 interfaces with power supply 5-12. Particular attention is directed to the microcontroller 5-10 with its attendant I/O lines 20 through 29. The "unreg" 20 input provides the power on/off reset of Fig. 3 and 4. On power up care is taken to start the controller after the power supplies and clock 29 are stable, and upon power down, to stop the controller before the clock and power supplies become unstable. Data from the extension(s) 4 is received and discriminated through blocks 5-12, 5-7, 5-8, and 5-11 and enters the microcontroller 5-10 via line 21 where the data is validated and sorted into system control instructions. Other hardware inputs include phone line 1 ring signal detection 24 and off hook status detection 23 with respect to hard wired phones on line 1. The microcontroller 5-10 logic acts upon these inputs to provide the appropriate system control responses. Ring signals at 24 produce ring messages at data output 27 which are transmitted via 5-5, 5-6, 5-12 and 3 to the extension unit(s). When an extension unit makes a central office request through 21, the base controller 5- 10 takes line 1 off hook via control port 25, sends an acknowledgment message back to the extension unit, unmutes the transmit and receive audio via control ports 26 and 28, and the extension unit can either talk with a caller or, upon hearing a central office dial tone, send DTMF signals or pulse dial messages to dial a phone number. Pulse dial messages are processed through control port 22 for optimum compatibility with the central office. The flow of other audio and RF signals as indicated in Fig. 5 will be apparent to a person of ordinary skill in the art. Figure 6 is page 1 of a hierarchical schematic diagram of a secure access extension unit 4 (or 7, 12 or 17) . Each of the blocks 6-2 through 6-12 are illustrated as complete electrical schematics in Appendix B, according to hierarchical schematic procedures. Phone set cord 5 is connected to SLIC 6-2, and AC power line 3 interfaces with power supply 6-12. Attention is directed to the microcontroller 6-10 with its attendant I/O lines 30 through 39. The unreg 30 input provides the power on/off reset of Fig. 3 and 4. On power up care is taken to start the controller after the power supplies and clock 39 are stable, and upon power down, to stop the controller before the clock and power supplies become unstable. Data from the base unit 2 is received and discriminated through blocks 6-12, 6-7, 6-8, and 6-11-and enters the microcontroller 6-10 via line 31 where the data is validated and sorted into system control instructions. The other hardware input is off hook status detection 33 of the extension phone set 6. The microcontroller 6-10 logic acts upon these inputs to provide the. appropriate system control responses. Ring messages from the base are validated and sent through port 34 to the slic 6-2 which rings the extension phone set 6. When a user takes the extension phone off hook, this indication at port 33 makes the controller turn off the high voltage ring at 34, check the status of the system for other extensions in use, and if all is clear, turn on the transmitter via 38, message the base 2 to access the central office line 1, receive and validate a "co acknowledgment" message returning through 31, unmute audio paths via 36, and the extension unit can either talk with a caller or, upon hearing a central office dial tone, send DTMF signals or pulse dial messages to dial a phone number. The extension unit can also indicate to certain phone accessories connected in place of phone set 6 that line 1 is in use by hardwired phone sets by means of port 35 and hardware in slic 6-2 which produces a lower line voltage at cord 5. The flow of other audio and RF signals as indicated in Fig. 6 will be apparent to a person of ordinary skill in the art. Many variations on the system illustrated in Figures 1-6 are readily manifest from previous discussions herein. One obvious variation is the application of the herein described secure access techniques to a cordless extension telephone system, wherein an RF carrier replaces the power line carrier and an antenna replaces the power line interface. Another variation replaces the analog compandor and FM modulation technique with a CVSD (continuously variable slope delta modulator) and FSK modulation. A CVSD may also be regarded as a single bit A/D converter with companding. A CVSD requires a 16kBs to 32kBs FSK rate at transmitter and receiver, which is practical with some commercial receiver chips. Security can be provided for digital data transmissions by providing encryption techniques. Many receiver chips also provide FM demultiplex capability, which provides several additional approaches to audio and control signaling. For example, the secure access control signaling could be transmitted on an upper sideband simultaneously with lower sideband audio. This could enhance transparency of operation by not muting audio during certain signaling operations. Also, a separate data channel could be implemented using a subaudio modulation technique. Some variations could be made in the structure of the secure access message and its sync techniques, system control instructions and security code structure/length. Because of the frequency lock between transmitter and receiver, synchronous data transmission techniques are feasible which simplify data discrimination. While the present invention has been described and illustrated in conjunction with a number of specific embodiments, those skilled in the art will appreciate that variations and modifications may be made without departing from the principles of the invention as herein illustrated, described and claimed. The present invention may be embodied in other specific forms without departing from its spirit or essential characteristics. The described embodiments are to be considered in all respects as only illustrative, and not restrictive. The scope of the invention is, therefore, indicated by the appended claims, rather than by the foregoing description. All changes which come within the meaning and range of equivalency of the claims are to be embraced within their scope. APPENDIX A SECURE ACCESS SOFTWARE LISTING softw... - (c) 1993 Phonex Corporation on 2/3/93 p2set .aacro Dai ;sβt port2 bits or P21. • -I Id r2, P21 p2clr ;clear port2 bits pal p2out scro pal ;sttup direction of port2 to outputs and p2a1, t'c pal Id p2a, p2a1 p21n .aacro al ;setup direction of port2 to Inputs or p2a1, # pal Id p2a, p2a1 ; Power fall Indicator bytes CP R1 .EQU OSAh .-BATTERY BACK UP DETECTORS they get CPHR2 .EQU 0A5h ;written out and checked for upon power on 0EFKEY1 OOAH ; DEFAULT KEY ONE DEFKEY2 05FH ; DEFAULT KEY TWO ; IRQ Identifiers TOIRQ .EQU OlOh ; 1rq4 T1IRQ .EQU 020h ; IrqS HS6IRQ .EQU 009h ; Message coaeunicat on constants STR .EQU 00000101b ;Preaabte for transalttlng key and status Info DATALEH .EQU 5 .-Number of bytes sent: 1-START 2-KEY 1-STATUS 1-pulse length NUH8ITS .EQU DATALEN ■ 8 .-Nuaber of bits sent In key sequence NUMG000 .EQU (DATALEN-1) • 8 ;NIN nuaber of bits IN 'G000' OATA Paraaetrlcs of the aessage data streaa based upon the half bit tlae of 105 spaced auitlples of 4th root of 2 apart BIT T HIN .EQU 84 ;88 coaputed BIT " T~H .EQU 105 • half bit tlae BIT" " T~MAX .EOU 125 BIT " T~0H .EQU 148 1.5 pulse tlae for stop Indication BIT~T~2MIN .EQU 177 .-the Tull bit ttae is: 210 BIT T 2MAX .EQU 252 ;250 coaputed 24 - ;requests and acks audio path . ■ Indicates the pending release of the line ;pulse the co line for .5 sec put the line on hold identifies pulse count Identifies to exts to stop ringing to cycles in 15 hz signal to cycles In 70 hz signal cycles counted on the line to detectI •Data register locations ; rO: port 0 ; rl: port 1 ; r2: port 2 ; r3: port 3 ; r4: teap variable used all over but In Interrupts ; rf: ■ teapO - r4 teap > r5 ; rf: Used by the receive Interrupt routines ; rβ-9 used by send_asg routine as paraas : r sed b ext ulse routine ;t1ae ring signal fell last ;tiaβ ring signal rose last ;Hng cycle counter ; txt ; base prograa Indicator tlaβr ; to cycle counter ho ; to cycle counter lo kes above the working registers ; shift register for receive and transalt ; reserve 5 bytes for above ; power indicator byte 1 ; the key 1s saved here ; reserve 2 bytes for key ; Maage* register for p2a ; •Iβagβ' register for p2 ; ring level was ; good data flag/counter ;pαwer Indicator byte 2 • eight bits for flags datawas.aiddle.otc. .MIDOLE OF BIT INDICATOR for receive routine Begin!ng of ROM Interrupt vectors coae first, then code begins as OCh Set up the stack and register pointers. Test the base/extension input and juap to the appropriate place. .org Oeh ; execution starts at Och start • This is where the reset begins execution. ; initialize the control registers d1 Id pOla, #06dh ; default value upon reset (Internal Stack - PO Inputs) Id sph, #0 ; set the stack pointer Id spl, #080h ; stack at the top of free aeaory srp #0 ; use the tower aeaory as registers • ports are now working registers, i.e. RO • PO, Rl ■ Pl, R2 ■ P2, R3 • P3 ; this will not be changed throughout the prograa ; interrupt priority Id ipr, fOleh interrupt priority register irq t - highest priority first 2 - stopi 5 - tl (tiwer 1) 3 - no connect (P30 - Sin) 4 - to (tiwer 0) (Sout) 1 - no connect (P33) ; interrupt aask Id iwr, #089h Enable 0 and 3 for asgi Id irq, #00 clear any pending ; set up the tleers ; latest operating frequency » 5.48 Mhr ; tiaer freq • Fosc / 2 / 4 / pre / tn ; 1.338 kHz - 5.4BM / 2 / 4 / 2 / 256 ; period - 747.46 us PRESC • 2 TOPRE - PRESC * < 2 * 1 continuous aode T1PRE • PRESC '< 2 * 2 ; Internal, single pass aode Id preO, ITOfRE Id prβl. IT1PRE Id to, #0 start aodulo 256 to interupts Id tl, #0 used for period aeasureaent ; tiaer aode register Id tar, #0fh start as down counters load and enable test for base or extension Id p2a, #Offh ake sure all p2 Is Inputs ta r2. #bsei jarβ we e baser jp z. extension ;juaρ if not ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■mm BASE ROUTINE ■MMMMMMMMMMMt ■■■■■■■■■■■■■■■■■■■■■■■> Initialize the I/O ports Id ro, ObpOdad Id pOla, dOtch : aake port 0 an output ♦ Internal stack 'Iaege' registers are used because read aodify write instructions don't give correct results for P2N end P2 (and ethers) ie: or p2a,tM0h ;set up the port 2 aode iaege register iset up port t aode to aatch ;set up the port two latch taaee register ;set up the letch for port 2 ; port three input set to analog t port two pull-ups active j clear all of the indicators ; allow the interrupts to appear In Irq see pg 130 of zβ tech aan ;(testeode ce s enounce routine that uses tlaer-0) ;cheek to see If should go to test aode (user pressing button on pwr on) ta r2, #pshbtn1 Jp nz, btestaode ;Cbeck the Indicators to see if still there ep pw l, #CPWR1 ; Is first power indicator there? Jr no, pwrfalI ; no • Juap to start up routine cp pwr2, #CWR2 ; sacendT Jr eq, aainl ; yes, skip prograa routine pwrfall Id key, IDEFKEY1 : set up default key Id kβy*l. IDEFKEY2 Id pwrl, fCMRl ; save the power fal I Indicator Id pwr2, ICP R2 Jr aainl setkey rjuap tn here If pga button pressed later on Piet rO, ledon ; tum off the led Id key, to } Get the first nuaber froa the tiaer call deeou pb2l ta r2, #pshbtni ; wait for the switch to release nz, pb2l !. key*!, to ; Get the second nuaber froa the tiaer cell or Ind, #PGM . In pga aode pclr rO, ledon ; turn on the led • set up FOR 06 xx xxh cycles or five almites tn three bytes Id pgat, #006h ctr tiaeO clr tiael linl ta r2, dbset restart If stuabled onto the wrong code Jp z, start Id rngwas. r2 save the condition of the ring line and rngwes, #brtng1 p2set bpulseo ei linOO Id rcc, fRINGCY ; loop here waiting for soaething to do tn irq, #T0IRQ ; to counted out yet Jr z, aainw02 ; no, Juap and irq, ' c T0IRQ ; clear the Interrupt djnz tiaeO, aatnw02 ; update the tlae djnz tlael. aatnw02 ta Ind, #PGM Jr z, aainw02 d nz pgat, aainw02 pset rO, ledon turn off the led and Ind. #'c PGM ■αtnw02 ta r2, fstopl check for reset Jp nz, stop ta r2, #pshbtn1 check for the button Jr nz, setkey ta ind. #MAIL any aessaees? J nz, bparse ) Id teapO, #03 send it three ttaes call send asg J bpexTt bpαck call get aatI Id rβ.~#ID ACK return the ack Id teapO, 703 send It three ttaes call send asg p2set boffϋooko go off hook pclr rO, ledon turn on led pctr rO, Buteo enable the audio el allow for wore aessages bpackl shore e hold the line ta r2, #stopi check for reset J nz, stop ta ind, #MAIL Jr z, bpackl ep Bsgio+3, #ID_PULSE j pulse requested? Jr ne, ishang bppulse j pulse the switch hook tlae of pulse tn aessage Ptβt rO, disable the audio p2clr bpulseo turn off audio response control Id teapO, asgte*4 get the value or tar, #01 restart at a new load pset rO, ledon turn off led p2ctr boffhooko on call dlyl p2set boffhooko joff hook pctr rO, j turn on led pelr rO, I enable the audio p2set bpulseo ; turn on audio response control end Ind, #-e NAIL t say we got the aessage el JP bpeckl Ishang ββfio+l. key-M) key Batches so tones won t kill the line ed Juap if no aatch cp msgto+2, kβy»l second byte Jr ne, Juap If no aatch ? asflie- , #10 HOU eq, bpheld ep Bsgio+3, #10 FLASH JP eq, bpflash ~ ep BSfio+3, #ID_HAM Jr eq, bpheng "" throw away unrecognized aessage and ind, #-e MAIL say we got the aessage el JP bpackl bphang pset rO, auteo ; disable the audio call get suit Id rβ.~#ID UNACK Id teapO, 703 ι send it three tlaes call send asg ; enables the receiver when done call dlycϋkn j wait for a message to appear ta ind, #MAIL ; did one arrive? Jr Z, bphangup ; n- hang up the CO line cp asglo+3. #ID_ACK ; got enother ack? JP eq, bpack ;y 0 back bphangup p2elr boffhooko hang up pset rO, ledon turn off led bpcxita bpexit el allow for more aessages JP aainl bpbold pset rO, auteo disable the audio call get aat I Id rβ.~#I0 HOLD tell the exts Id teapO, 703 send It three times call send e»g enables the receiver when done clr teapO clr teapl Id teap2, #10 watt aany atmites bpholdlO )) tn ind, #MAIL watt for aore aai I for aany alnutes Jr nz, bphold20 tn r3, #bunholdi unhold? jr nz, bpholdl4 y- see If for real ta r2. #stopi check for reset JP nz, stop tn irq, #T0IRQ to counted out yet? Jr z, bpholdlO no, loop Bore and irq, # * c TOIRQ djnz teapO, bpholdlO djnz teapl, bpholdlO what It Is what It Is bpitoldl4 I Id #7 l deglltch for * BS bpholdlβ f uήhold pin went high ta r3. dbunholdl ; cheek for pone el eady? Jr z. bpholdlO : If gone then it was a glltehl— go back ta r2. #βtop1 1 check for reset JP nz, stop ta Irq, #T0IRQ to counted out yet? Jr z, bpheldlβ no, loop aom end Irq, # * c TOIRQ djnz teapO, bpholdlβ p2clr boffhooko t hang up put rO. ? turn off led J aatnl bpholβO cp Bsgto+3, #10 ACK t βot another ack? JP eq, bpeck " ;y- fβ back pϊelr boffhooko } hang ap put rO, ledon ; turn off led J aatnl j 90 pick up the aatl elsewhere bpflesh se for .75 sec ■ 1003 extension {Initialize the I/O ports Id rO, #epOdad Id pOla, #0ich ; aake port O an output ;'Iaege' registers em used because mad aodify write Instructions don't give correct msults for P2M and P2 (and others) te: or p2a,#80h p2ai, #ep2ddd load ext dat dtr def p2a, p2ai p21, #ep2dad r2. P21 p3a.#03h port three always input set to analog clr ind cteer all of the indicators el allow the Interrupts to appear in irq ;(testaode calls debounce routine that uses the interrupts) ; first check to see If In test aode ta r2. dpshbtnl Jp nz, etestaode ;Clιeck the power Indicators to see tf sti l t them cp pwrl. #CP R1 see If first power tndtcator Is ran Jr ne, epwrfβlI no * juap to start up routine cp pwr2, #CPWR2 second flag present eq, eaatn yes, go to Bain epfrfal Iι Jr Id key, #DEFKEY1 set up the defeutt keys Id keyt-1, #DEFKET2 Id pwrl, #CPWR1 show have keys Id pwr2, #CPMR2 Jr eaain ebltnk Id pwrl , #0 destroy pwr ind if jumped into to rZ, #pshbtn1 port 2 mask the push button Jr nz , epbl button pushed branch pbl djnz tempo, ebllnk not tine to blink yet djnz teapl , ebltnk not tine to blink yet xor rO, # ledon change the light Id r2. P21 Id teapl . #12h set blink rate Jr ebtink epM pset rO, ledon tum off the led cal l debou ep!*2l ta r2, #pshbtn1 ; watt for the switch to mteese Jr nz, epb2t ; button pushed branch pbl call debou eyυtkey ; Request the key froa the base p2ctr exatton ; turn on the transBttter call delay ; watt for .6 sec don't check receive call delay ; watt for .5 sec don't check receive Id r8,#ID KEYREQ ; send the key request Id teapO,~#3 I ask 3 ttaes and ind, #'c MAIL ; remove any junk messages ca11 *end_msg p2set exatton ; tum off the transmitter eg I: I cal l dlychka j wβit for return of aessage ta ind, #M L i see If asg was unt Jr z. ebllnk : ιr » go back cal l get aat l t sent multiple times — throw mst away cp Bsgϊo-t-3, #10 KEYREQ ; Is this a key request return l ne. ebllnk ~ : n- go back key-H), Bsglo+1 ; save the keys I;d key+1, asf1ot2 save the keys Id pwrl. fCnffll show have keys Id pwr2, #CPWR2 show have keys pelr rO. ; tum on the tight (Indicate we got HI) call deley pset rO, t turn off the light sin put rO, auteo turn off the audio p21n βββo sake message Input (hl-z) p2set ehvon tum off ring voltage Met rO, ledon off Hoht p2ut exatton off alt ta r2. #bse1 restart If wrong unit f nz, start ■tnl t check for stop check for button check for aesuges check for off hook this tlae Juap tf not present epoh HOOK enters froa ring routine also disable audio (tf come froa ring) tum on the transaitter wait for .5 sec don't check receive epuhfp REQUEST AN ACK j ask 3 tines enables aatl check for aatI ;βck returned? throw tt away epohO EQUEST AN ACK again : ask 3 tines check or aat1 ;ack returned? throw it away epoh ll ; in case base saw us ; snd m.q 3 tines (base returns an unack) turn off the transaitter chirp four times and wait for on-hook epoh05 Id teapO, # 0 pctr rO, muteo ; turn on the audio epohlO .-(beep) te ι-3, #eoffhooki are we still off hook? JP z, epoh35 n- go try again te irq, #T0I Q to counted out yet? Jr z, epohlO no, loop more end irq. J c TOI Q xor rO, #ledon change the light (aβke audio tone) Id r2. P21 djnz tempo, epohlO Id teapO, #60 epohZO ;(pause beep) tn r3, #eoffhooki am we still off hook? Jr z. epoh35 n- go try again tn irq. #T0IRQ to counted out yet? Jr z, epoh20 no, loop more and irq, # * c TOIRQ djnz teapO, epohZO djnz teapl, epohOS ; outter loop pset rO, auteo ; turn off the audio epuh30 tn r2. #stop1 ; check for stop J nz, stop tn ι-3, #eoffhook1 ; am we still off hook? Jr nz, epoh30 ; n- stick around epuhSS call get_aa1 I ; also denounces ei J oaain eonwerd v * - Id tempo. #1 : ask 1 tie call send msg ; send the message Jp eswpδ eswpSO ; could be flash or hold (now off hook) clr r9 Id tempo, #4 ; if not back tn 3/4 sec then flash eswp52 ; r tn r2, fstopi ; check for stop JP nz, stop tn irq, #T0IRQ ; counted out yet Jr z, eswpS2 ; no, wait for counter and irq, #"c TOIRQ ; clear the irq Inc r9 cp r9, 1120 90 as? Jr utt, eswpS2 no, wait se eswpβO ;(still off hook) ta r3, #eoffhook1 Jr z, eswp70 tn r2, fstopi ; check for stop JP nz. stop ta irq, 'TOIRQ Jr z, eswpβO and irq. #"c TOIRQ Inc r9 Jr nz. eswpβO djnz teapO, eswpβO Id rβ. #ID FLASH ; If falls through assume flash Id taapO.73 : ask 3 tiaβs call send asg j send the message J eswpO eswp70 ; hold wanted (on hook again) Id rβ. #10 HOLD Id teapO, 73 call send asg ) long enough to denounce It ptset exat-Eon j tum off xattr cell dtychka ; pick up the unack cell get aatl el ; turn on the receiver clr Id I, #5 jset up for 3/4 tec ta r3. deoffhookt ; watt for off-hook within 3/4 sec Jr nz, esapW ta r2. #stop1 ; check for stop JP nz, atop ta Irq, 'TOIRQ z, eswpβO & Irq, #'e TOIRQ djnz teapO, eswpβO djnz teapl, eswpβO ; fall through If hung up for good eswpB5 call debou pelr rO, auteo ; tum on the eudto eswp90 ta r3, deoffhooki ; wait for on-hook (guy hangs up his phone) Jr z. eswplOO ta r2, #stopt ; check for stop JP nz. stop ta irq. 'TOIRQ Jr z, eswρ90 and irq, #'c TOIR Q xor rO, #ledon ; change the Itght (make audio tone) Id r2, P21 Jr eswp90 eswplOO pset rO, auteo turn off the audio pset rO, ledon ; turn off the tight call debou JP eaain now quit ringsub pset rO, muteo ; turn off the audio (used for caller- rt) ei .allow for more mail Jp emain ;.-,_.■■-.■—-—-, Subroutines used by both BASE and EXTENSION •••• STOP routine stop Id p2a, #0ffh ;aake all p2 inputs Id pOla, #Oβdh ;aαke all pO Inputs nop stop .•generic single variable watt dlvl Id taapl, #1 Jr dly2 ;* Malt for a while 0.5s - 669 to cycles ■ 0290h deley Id teapO. #09dh Id teapl, #003h ;inc this byte dl/2 .'generic two variable watt enters hem ta r2, fstopi ; check for stop jp nz, stop ta trq. #T0IRQ ; to counted out yet Jr z, dty2 i no. Juap end irq. ' * c TOIRQ djnz teapO, dly2 djnz teapl, dly2 mt yc en yet yiMfM mt * Matt for extra keys • Matt for ββ tofs - OSβh > 66 as get. aatI Id teapO. #88 call dlyl and ind, #'c MAIL ; say we got the mail mt testaode pclr rO, ledon ; turn on led p2set boffhooko ;C.O. line off-hook pclr rO, auteo ; enable the audio btuO jr btalO EXTENSION TEST MODE tum on the xβitter, audio, and led ei .a l low for Bore mai l JP sin _.. M ........ Subroutines used by both BASE and EXTENSION STOP routine stop p2a, #0ffh •aake all p2 inputs pOla, #06dh ,-mαke ell pO Inputs nop stop • generic single variable wait dlvl d teapl, #1 r dly2 ,- Matt for while 0.5s - 669 to cycles - 0290h delay d teapO, #09dh d teapl, #003h ;1nc this byte dl 2 .•generic two variable watt enters here ta r2, fstopi check for stop J nz, stop ta Irq, 'TOIRQ to counted out yet z, dly2 no, Juap a inrd irq, #'c TOIRQ djnz teapO, dly2 d nz teapl, dly2 ret ■ Matt for 0.5-ι-f second If there is not any aatl dlychka Id teapO, #0adh ; 16 aore for those watting Id teapl, #003h ;tnc this byte dl-.-chka2 ta tnd, #HAIL ; MlIT Jr nz, dlychkend j yes, end ta r2. #stopt ; check for stop JP nz, stop ta Irq, #T0IRQ ; tO counted out yet fi z, dlyehtas2 ; no, Juap Irq, #'c TOIRQ djn.z teapO. dlychka2 d nz teapl, dlychkm2 dl chkend ret ;'-generic delay checking the hook status dlychkh Off hook? yes, end check for stop tO counted out yet no, Juap dlyhend ret * Malt for extra keys • Malt for 88 tofs - Oδβh - 66 as get aatI Id teapO, #88 call dlyl and ind, #'c NAIL ; say we got the aatl ret debounce routine * Malt for .1 second debou Id tempo, #134 call dlyl ret BASE TEST NOOE * turn on the xmltter, audio, and led btestmode pclr rO, ledon ; turn on led p2set boffhooko ;C.O. line off-hook pclr rO, muteo ; enable the audio btalO jr btnlO EXTENSION TEST MODE * turn on the xaitter, audio, and led etestaode p2clr exatton turn on xmtr pclr rO, ledon turn on ted pclr r-o, muteo enable the audio etmlO Jr etmio SEND 1SG Take the Start, Key, and Type bytes and send them out the keyo pin The accumulator holds the MESSAGE TYPE. Note: paraaater tempo (nuaber of ttaes sent) is set by the celling routine parea rβ, rβ are the aessage aostly rβ Also stnce the receive routines would ruin the timing the receiver Is disabled when sending messages Uses: teapO, teapl, asgto, and TO in continuous aode seιιd_asg dt ; disable Interrupts froa aesstng tiaing or vars p2out asgo ; turn on the output and tmr, #Och ; turn off timerO Id to. #BIT TH ; 1/2 bit time or tar, #03E " t toad A start ttaarO skll Id asgto-H), #STR ; Initialize the key sequence Id asgiotl, kβyrO j put In the keys Id asgto+2. kβy*l t put In the keys Id Bsgto+S. rβ ; aove the Id byte tnto the aessage Id atglo+4, r9 Id teapl. #MMITS ; trensatt all of the bits sk!2 rlc asgte- rte asgie+3 rle asg1o+2 rlc asgiotl rlc asgto » carry bit used later too do not destroy! Jr nc, skoetO ; 1f zero clear iaege bit or p21,#asgo ; else set the bit Jr skmvtd skoetO and p21,#"c asgo ; clear the bit skoutd ta Irq, 'TOIRQ tlae out yβtT z, skoutd i no, Juap skβetd r2, p21 output the bit trq, # * c TOIRQ ; reset the Interrupt xor p21, #asgo change the bit for next half skoutdl iwalt for the counter tie I ta trq, #TOIRQ tlae out yetf z, skoutdl no, jump skoutd r2. p2i t output the btt a find irq, «'c TOIRQ j reset the Interrupt djnz teapl, s l2 done wtth message? no, s l2 change the bit for next half change to end bit 1.5 bit tin skoutd2 I tlae out yetT no, junp skoutd output the bit reset the Interrupt change the bit for next half skoutd3 {wa or e counter tn irq, #T0IRQ tlae out yetT z, skoutd3 no, jump skoutd r2, P21 output the bit a i;nd Irq, ''c TOIRQ reset the Interrupt Id tO. #BIT T H restore back to 1/2 btt time djnz teapO, siIT send msg multiple times p2in asgo make input Id tO, #00 reset to for full loop el allow interrupts again ret • Interrupt RECEIVE ROUTINES *-—*" ; -tons' R6, msgio, Tl, good IrqO and Irq 3 ; disabled by traπsmitt routine and when message is received ,* lasts about 60 uS. ■ ——..——..—— Felling message line routine -— ivccO ;p32 F edge asg1 pset rO, asgfo ; output the new velue Id rβ, tl ; get the time or tar, #0ch ; restart tiaer 1 ; :ee tf the transition fits within the atloted tiβes: COB ι-6 ; count time - -(down count time) cp r6, #BIT_T_2MIN ; smaller thar. a two? Jr u lt. rcvcsf y- check for stop or data cp i-δ. #BIT T WAX saat ter than 2 * BOX Jr ugt, rcvBβHf n - to big for data rcvtongf f inc good or ind, #HIDDLE ; set the aiddle indicator scf ;use for upright data ref ;use for inverted data rlc msgio+ ; move the bit Into date strean rlc msgto*3 rlc asglo+2 ; shift In the received bits rlc asoio-t rlc asgio-H) Jr revβxltf cp rβ, #βIT_T_MAX Is It a stop? Jr ugt, rcvstopf y poto stop routine ep rβ, #BIT T MIN 1t Is a shortT Jr ult. rcviβϊf n- too saall for data ta ind, #NI00LE if was at edge then goto the aiddle routine Jr z, rcvtongf else was at aiddle go to edge and ind. #"e MIDDLE clear aiddle indicator Jr revβxltf revbadf clr ; reset the data counter .Jr rcvexltf rcvstopf cp good, #NUNB000 : Enough to be a aessege? ult, rcvbadf ; n- It's badI j no βorβ aail tilt this one Is gone or ind, #MMl ;say wo nave soaething rc/βxlt irq, # * c NSaiRQ Irβt Rising aessage line routine le routine e ; .:ot expecting any of these interrupts — all Just return lv cl ;p33 F edge i ._cZ ;p31 F edge ιv<.c4 ;to ιv-*e5 :tl Iret .end APPENDIX B SCHEMATIC DIAGRAMS FOR SECURE ACCESS BASE AND EXTENSION UNITS in ANALOG GND 4KHZ LOW PASS PHONEX CORPORATION G95E HIGH TECH DRIVE MIDVALE. UTAH 84047-3756 1-7-93 AUDID FILTER 1030F100 F PAGE θ OF 12 - 54 RCVDATA

Claims: CLAIMS What is claimed and desired to be secured by United States Letters Patent is: 1. A secure access telephone communications system for transmitting and receiving telephone communications between a base unit and an extension unit, the system comprising: (a) a base unit and an extension unit, said base and extension unit each comprising: (i) means for sensing the operating status of said base and extension unit and its inputs from phone apparatus and lines; (ii) means for generating a transmission carrier; (iii) means for modulating said transmission carrier with audio and data signals; (iv) means for controlling the transmission of audio, digital, telephone and rf signals out of said base and extension unit between subsystems, between base and extension units, between central office subscriber line and base unit and between extension unit and phone set; (v) means for controlling said signals on the basis of data and other signals; (vi) means for coupling said transmission carrier to a communications medium; (b) means for coupling a subscriber telephone line to said base unit; (c) means for coupling a phone apparatus to said extension unit. 2. A secure access telephone communications system for transmitting and receiving telephone communications between a base unit and an extension unit, the system comprising: (a) a base unit and an extension unit, said base and extension unit each comprising: (i) means for sensing signals at the inputs of said base and extension unit and its inputs from phone apparatus and lines; (ii) means for generating a transmission carrier; (iii) means for modulating said transmission carrier with audio and data signals; (iv) means for controlling the transmission of audio, digital, telephone and rf signals within and out of said base and extension unit between subsystems, between base and extension units, between central office subscriber line and base unit and between extension unit and phone set; (v) system controller means operably connected to said input sensing and transmission controlling means for controlling said signals on the basis of data and other signals; (vi) means for coupling said transmission carrier to a communications medium; (b) means for coupling a subscriber telephone line to said base unit; (c) means for coupling accessory apparatus to said extension unit. 3. A secure access telephone communications system as recited in claim 1 wherein said system control means further comprises means for sending control messages wherein the control messages comprise a synchronous byte, security keys and system control keys. 4. A secure access telephone communications system as recited in claim 1 further comprising means for receiving and demodulating control messages. 5. A secure access telephone communications system as recited in claim 3 further comprising means for discriminating control messages from audio and noise signals. 6. A secure access telephone communications system as recited in claim 1 wherein said means for coupling accessory apparatus to said extension unit includes means for coupling a phone set to said extension unit. 7. A secure access telephone communications system for transmitting and receiving telephone communications between a base unit and an extension unit, the system comprising: (a) a base unit and an extension unit, said base and extension unit each comprising: (i) means for sensing the operating status of said base and extension unit [and its inputs from phone apparatus and lines; (ii) means for generating a transmission carrier; (iii) means for modulating said transmission carrier with audio and data signals; (iv) means for controlling the transmission of audio, digital, telephone and rf signals out of said base and extension unit between subsystems, between base and extension units, between central office subscriber line and base unit and between extension unit and phone set; (v) means for controlling said signals on the basis of data and other signals; (vi) means for coupling said transmission carrier to a communications medium; (b) means for coupling a subscriber telephone line to said base unit; (c) means for coupling a phone apparatus to said extension unit.

Inventors: BARTHOLOMEW DAVID B, IVIE A RAY, SCHURIG ALMA K, BARTHOLOMEW, DAVID, B., IVIE, A., RAY, SCHURIG, ALMA, K.
Applicants: PHONEX CORP, PHONEX CORPORATION
Application year: 1994
Main classification: H04M9
IPC codes: H04B3, H04K1, H04M1, H04M9