Abstract:
A method for detecting and recovering from call waiting during an interactive two-way remote gaming session. Gaming information is exchanged in real time during a gaming session between two players using a telecommunications link, such as the internet or modem. When a call waiting tone is detected by one of the players, the game is suspended. The incoming call is answered and the other player is notified that the first player is in the process of answering the incoming call. When the incoming call is finished, communications is automatically re-established between the two players, and the game continues at the point just before it was interrupted.

Description:
This application is a continuation of application Ser. No. 08/633,846, filed Apr. 10, 1996 and issued as U.S. Pat. No. 5,651,060 on Jul. 22, 1997, which is a continuation of application Ser. No. 08/340,122, filed Nov. 15, 1994, now abandoned. 
    
    
     FIELD OF THE INVENTION 
     The present invention relates to the field of telecommunications, as it relates to interactive, multi-player computer games. 
     REFERENCE TO RELATED PATENT APPLICATIONS 
     The following patent applications are related: 
     U.S. patent application entitled, &#34;AN IMPROVED NETWORK ARCHITECTURE TO SUPPORT REAL-TIME VIDEO GAMES&#34;, invented by Steve Perlman, Ser. No. 08/633,003, filed on Apr. 16, 1996. 
     U.S. patent application entitled, &#34;AN IMPROVED NETWORK ARCHITECTURE TO SUPPORT MULTIPLE SITE REAL-TIME VIDEO GAMES&#34;, invented by Steve Perlman, Ser. No. 08/238,477, issued as U.S. Pat. No. 5,586,257 on Dec. 17, 1996. 
     U.S. patent application entitled, &#34;AN IMPROVED MODEM TO SUPPORT MULTIPLE SITE CALL CONFERENCED DATA COMMUNICATIONS&#34;, invented by Steve Perlman, Ser. No. 08/238,456, issued as U.S. Pat. No. 5,636,209 on Jun. 3, 1997. 
     U.S. patent application entitled, &#34;AN IMPROVED NETWORK ARCHITECTURE TO SUPPORT RECORDING AND PLAYBACK OF REAL-TIME VIDEO GAMES&#34;, invented by Steve Perlman, Ser. No. 08/238,303, issued as U.S. Pat No. 5,558,339 on Sep. 24, 1996. 
     DESCRIPTION OF RELATED ART 
     The above referenced co-pending patent applications describe an apparatus and method for establishing a network of remote players of real-time video games over standard telephone line connections. Using the mechanisms and methods described therein, a first computer user or video game player can be linked on a telephone line or other data communications medium with a second computer system or a second game player for the purpose of playing a real-time video game across the telecommunications network. Each of the two computer systems include a modem for modulating game data onto the telephone line for transfer to the other system. Although this technique provides an effective way of remotely playing an interactive real-time video game, the use of standard telephone line equipment and services introduces some problems with use of the telephone line as a data communications medium. 
     Call waiting is a residential telephone service that allows an active telephone call to be interrupted if a new call comes in. A &#34;bong&#34; tone or signal alerts the party being called that a new caller has placed an incoming call. In response to the call waiting &#34;bong&#34; signal, the called party can flash (i.e., quickly depress and release) the switch hook to put the current telephone call on hold and answer the new incoming telephone call. Conventional electronic telephone interface equipment can perform the switch hook flash operation electronically. Upon completion of the second telephone call, the called party may switch back to the first party with whom the original call was interrupted. If the called party wishes to ignore the new incoming telephone call from the third party, the called party can simply ignore the &#34;bong&#34; signal. In this case, a second &#34;bong&#34; signal sounds on the telephone line to again alert the called party that a new incoming call has been received. If this &#34;bong&#34; signal is ignored by the called party, no connection with the incoming call is established and the &#34;bong&#34; signals are discontinued. The call waiting feature is a well known feature of the conventional telephone system. 
     Although the call waiting feature is useful for allowing a single caller to have two active incoming calls at once, the call waiting feature is very disruptive to modem communications. Specifically, the &#34;bong&#34; signal will produce a data communications error if the sound appears on the telephone line while two modems are communicating. Although some telephone service providers provide a means for turning off the call waiting feature, it is not always possible to do so prior to activation of any type of data communication via modem. In addition, other telephone service providers do not provide a means for disabling the call waiting feature or do not provide a means for disabling the feature for incoming calls. Thus, the call waiting feature may significantly disrupt data communications across a telephone line. 
     This problem is particularly significant when two video game systems are playing a real-time video game across a modem link. In this case, an incoming telephone call from a third party that activates the call waiting &#34;bong&#34; signal, will disrupt game play between the first two players and thereby frustrate the enjoyment of the game. However, it is important that during a long data call that a telephone line can be interrupted for voice communication, so long as the game can be restarted. 
     Thus, an apparatus and method for detecting and recovering from call waiting interruptions to modem communications is needed. 
     SUMMARY OF THE INVENTION 
     The present invention is an apparatus and method for detecting and recovering from call waiting interruptions to modem communications. The system of the present invention includes a means for monitoring a telephone line for the occurrence of a &#34;bong&#34; signal indicating a call waiting feature activation. A series of notch filters are applied to the disruption on the data communications line to determine if the call waiting &#34;bong&#34; signal is present. If the &#34;bong&#34; signal is present and the first player is accepting calls, the remote video game being played by a first and second game player is interrupted while the third party telephone call activating the call waiting feature is answered. The game is suspended and each player is notified of the incoming telephone call. The system hangs up the current telephone call and answers the incoming telephone call from the third party. Upon completion of this call, the present invention again re-establishes communication with the other game player and game play is resumed from the point at which it was interrupted. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 illustrates a typical networked configuration wherein a third party places a call to one of the players of a remote video game. 
     FIG. 2 is a graph illustrating the frequency of the call waiting &#34;bong&#34; signal. 
     FIGS. 3 and 4 illustrate the use of notch filters for detecting the call waiting &#34;bong&#34; signal. 
     FIGS. 5-9 are flow charts illustrating the modem communications error processing logic for handling call waiting interruptions to modem communications. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT 
     The present invention is an apparatus and method for detecting and recovering from call waiting interruptions to modem communications. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. However, it will be apparent to one of ordinary skill in the art that these specific details need not be used to practice the present invention. In other instances, well known structures, interfaces, and processes have not been shown in detail in order not to unnecessarily obscure the present invention. 
     Referring now to FIG. 1, a network configuration in which the present invention operates is illustrated. A user site 110 comprises a user A computer 112 which includes client software 114 executing therein. A modem 116 is coupled to computer 112 on one side and a telephone line 105 on the other. A user site B120 comprises a similar computer system configuration including computer 122, client software 124, and modem 126. Using modems 116 and 126, user A communicates with user B over telephone line 105. In this manner, user A and user B can play a real-time video game using the techniques and methods described in the above referenced co-pending patent applications. 
     Communications between user A and user B are undisturbed as long as a third party does not attempt to call user A or user B at the same time modem 116 and modem 126 are communicating. If this occurs and the called party (i.e., user A or user B) has a call waiting feature on its telephone line, the call waiting feature will produce a &#34;bong&#34; sound on user A or user B&#39;s incoming telephone line once, and then again 10 seconds later. 
     Referring again to FIG. 1, FIG. 1 depicts an example of a caller C with a telephone 132 who has attempted to call user A while user A is communicating with user B. In the examples illustrated herein, the party receiving the new incoming call (user A in the example of FIG. 1) is denoted herein as the first party. The second party herein refers to the user in communication with the first party for the purpose of playing a real-time video game (user B in the example of FIG. 1). The third party referenced herein refers to a caller or third user attempting to call the first party on the same telephone line with which the first party is communicating with the second party. In the example of FIG. 1, the third party can be either a caller with a telephone 132, at caller C site 130, or the third party can be a third computer system which comprises a computer system configuration similar to that described above for user A and user B. In both of these configurations, the third party attempts to call the first party on the same telephone line 105 with which the first party is communicating with the second party. 
     If the first party has a call waiting feature, the incoming call generated by the third party will produce a &#34;bong&#34; signal on the incoming telephone line of the first party. Although many telephone system providers provide a means for deactivating the call waiting feature on outgoing telephone calls, it is uncommon for these telephone system providers to provide a means for disabling call waiting on incoming telephone calls. Further, it is inconvenient for a first or second party to be required to deactivate a call waiting feature on the chance that a third party might attempt to call. Unfortunately, when the first party (user A) receives the &#34;bong&#34; signal as a result of the third party&#39;s incoming call, the data communications with the second party (user B) will be disrupted. As a result, a data communications error will occur between the first party (user A) and the second party (user B). 
     In the present invention, a means for detecting and recovering from these call waiting interruptions is provided. Referring now to FIG. 2, a graph illustrates a frequency spectrum in which the call waiting &#34;bong&#34; tone or signal is easily identifiable. As well known in the art, the call waiting &#34;bong&#34; signal is a spike signal at 440 Hz. A series of notch filters are provided in the preferred embodiment for detecting the call waiting &#34;bong&#34; signal. 
     Referring now to FIG. 3, notch filter 350 is shown. Means for producing a notch filter such as notch filter 350 are well known to those of ordinary skill in the art. This filter is used to identify if energy is present at the frequency corresponding to the &#34;bong&#34; signal. If it is determined that a level of energy at the &#34;bong&#34; frequency exceeds a predetermined threshold, one additional test is performed to confirm that the &#34;bong&#34; signal is present or absent on the telephone line 105. 
     Referring now to FIG. 4, two additional notch filters 352 and 354 are illustrated on either side of the frequency corresponding to the &#34;bong&#34; signal. These notch filters 352 and 354 are used to determine if energy on either side of the &#34;bong&#34; frequency is absent thereby indicating the presence of a signal spike at the &#34;bong&#34; frequency. If there is no energy detected at the frequency range corresponding to notch filters 352 and 354 (and it is previously determined that there is energy at 440 Hz.), it is confirmed that the &#34;bong&#34; signal has been received on telephone line 105. Thus, the present invention detects the presence or absence of the &#34;bong&#34; call waiting signal on telephone line 105. 
     Referring now to FIGS. 5-9, flow charts illustrate the processing logic of the present invention for handling and recovering from call waiting interruptions to modem communications. This processing logic executes within the client software of each user illustrated in FIG. 1. It will be apparent to those of ordinary skill in the art that other means are possible for performing the processing steps disclosed below. 
     Referring now to FIG. 5, the modem communications error processing logic 310 of the preferred embodiment of the present invention is illustrated. In processing block 312, a communication error on telephone line 105 is detected as a result of some disturbance on the data communication line between a first and a second party. The disturbance could be a third party triggering a call waiting &#34;bong&#34; signal on the first party&#39;s telephone line. In order to detect the presence of the call waiting &#34;bong&#34; signal on the telephone line, notch filters are applied to the disturbance to determine if there is a signal spike at the frequency corresponding to the call waiting &#34;bong&#34; signal (440 Hz) (processing block 314). The use of notch filters to detect the presence of a &#34;bong&#34; call waiting signal on telephone line 105 is described above in connection with FIGS. 2-4. If a &#34;bong&#34; call waiting signal is detected on telephone line 105, processing path 320 is taken to the bubble labeled A illustrated in FIG. 6. If no &#34;bong&#34; signal is detected, processing path 318 is taken to the bubble labeled B illustrated in FIG. 9 
     Referring now to FIG. 6, processing logic for the present invention continues when a &#34;bong&#34; signal is detected on telephone line 105 of the first party. If the first party has previously declined to be interrupted by call waiting, take path 616 to bubble C (otherwise, go to box 612). In this case, it is necessary to notify the second party that data communications have been disrupted as a result of the receipt of an incoming call from the third party. To so notify the second party, a predetermined touch tone signal or other control signal is sent by the first party to the second party to notify the second party that a call waiting disruption is being serviced by the first party (processing block 612). The touchtone signal is used to signal the second party that the first party has a call coming in. The particular DTMF tone is chosen carefully for two reasons. 1) to reliably disrupt the second party&#39;s modem such that the data is corrupted and the error recovery mechanisms of the present invention are activated to direct the second party modem to listen for a DTMF tone. 2) to use a tone not used by a normal telephone (there are 4 DTMF tones defined which are not available on a standard touchtone keypad) so that there is no false triggering if a person on an extension phone dials a DTMF tone. The client software in the first party&#39;s system suspends game play and alerts the first party that there is an incoming telephone call from the third party (processing block 614). 
     In processing block 620, the first party has requested its client software to receive the call from the third party. In this case, the first party&#39;s client system hangs up the telephone with the second party and thereby allows the first party to answer the incoming call from the third party. The first party client software displays a button or icon for the first party to activate when the call with the third party has been completed, processing then continues at the bubble labeled D illustrated in FIG. 8. 
     Referring now to FIG. 8, processing for answering the incoming call from the third party continues at the bubble labeled D. The conversation between the first party and the third party continues until the first party terminates the call and activates the button or icon provided by the first party client software which indicates that the first party call has been completed. If this button or icon is activated (810) by the first party thereby indicating completion of the call with the third party, processing path 814 is taken to processing block 816. Processing path 812 is taken as long as the first party has not yet completed the call with the third party. 
     In processing block 816, the first party has terminated the call from the third party and the first party now desires to be reconnected with the second party in order to continue the previously interrupted real-time video game. In this case, the first party client software calls the second party system and re-establishes synchronization with the second party using methods described above and in the above referenced co-pending patent applications. The previously suspended game between the first party and the second party is continued when synchronization is established. In an alternative embodiment, if the first party client software does not have the second party&#39;s telephone number, the first party simply waits until it is called by the second party at the completion of a time-out within the second party system (processing block 816). Processing for handling the third party call then terminates through end bubble 818 illustrated in FIG. 8. 
     Referring to FIG. 7, processing for the present invention continues at the bubble labeled C where the first party has specified a desire not to answer the call from the third party. The call waiting tone is ignored and treated as noise. The modem recovers from the noise, and then sync is re-established between the systems and game execution continues. The first party client software initiates the re-establishment of synchronization between the first and second party. Again, this procedure is described above and in connection with the above referenced co-pending patent applications. Once the synchronization between the first party and the second party is established, the previously suspended game is continued from where it left off (processing block 712). Processing for the present invention then terminates through end bubble 714. 
     Referring now to FIG. 9, processing for the present invention continues at the bubble labeled B where a data communications error occurred but the &#34;bong&#34; signal was not detected on the telephone line 105. It may be the case that the &#34;bong&#34; signal was not received because the other system (i.e., the second party) is the one processing the data communication error. In that case, the second party will not hear the &#34;bong&#34; call waiting signal when the first party is called. However, when the first party system detects the &#34;bong&#34; signal, the first party sends a predetermined touch tone signal or other control signal to the second party as specified in processing block 612 illustrated in FIG. 6. Thus, if the &#34;bong&#34; signal is not detected on the telephone line 105, the telephone line 105 is checked for the presence of a predetermined touch tone or other control signal that may be received from the other system (decision block 910). If a predetermined touch tone or other signal is not received from the other system, the process proceeds to step 930 where the lack of touch tone or other signal from the other system is an indication that another communications problem is present and normal communication error recovery procedures are initiated. If a predetermined touch tone or other control signal is received from the other system, processing path 914 is taken to processing block 920. In this case, the &#34;bong&#34; call waiting signal was detected by the other system. In this case, the game between the first party and the second party is suspended and an alert is sent to the second party notifying it that the first party is servicing another call. The second party then waits for the carrier or ring signal to be received from the first party after completion of the call between the first and the third party. In an alternative embodiment, if the second party has the first party&#39;s telephone number, but the first party does not have the second party&#39;s telephone number, the second party periodically attempts to call the first party until a the call is answered by the first party (processing block 920). Eventually, the first party terminates its call with the third party and either initiates a call to the second party or waits for the second party to initiate a call to the first party. In either case, communication between the first party and the second party on telephone line 105 is re-established (processing block 920). In processing block 922, synchronization with the first party is re-established using the mechanisms and techniques described above and in the above referenced co-pending patent applications. Once synchronization between the two systems is established, the previously suspended game is continued from where it left off when the third party call waiting disruption was received (processing block 922). Processing for the present invention then terminates through exit bubble 924 illustrated in FIG. 9. 
     Thus, a means and method for detecting and recovering from call waiting interference to modem communications is described. These specific arrangements and methods described herein are merely illustrative of the principles of the present invention. Numerous modifications in form and detail may be made by those of ordinary skill in the art without departing from the scope of the present invention. Although this invention has been shown in relation to a particular embodiment, it should not be considered so limited. Rather, the present invention is limited only by the scope of the appended claims.