Abstract:
A visual telephone system is disclosed which comprises a modem for transmitting and receiving video and voice signals so as to perform a visual communication via a telephone line connected therewith, a telephone hand set for a voice communication via the telephone line connected therewith, a detecting unit for detecting whether or not the telephone line is busy and generating a line state detection signal, a control unit for controlling the modem to be enabled in response to the line state detection signal and generating a switch control signal in response to a specific key entry, a switch for selectively connecting the telephone line to either the modem or the telephone hand set, and a message storage unit for storing a message so as to provide the message on a display or a speaker in response to the line state detection signal.

Description:
CLAIM FOR PRIORITY 
     This application makes reference to, incorporates the same herein, and claims all benefits accruing under 35 U.S.C. §119 from an application for METHOD AND APPARATUS FOR CONTROLLING USE OF A TELEPHONE LINE earlier filed in the Korean Industrial Property Office on Jul. 8 1996, and there duly assigned Serial No. 96-27519, a copy of which application is annexed hereto. 
    
    
     BACKGROUND OF THE INVENTION 
     1. Technical Field 
     The present invention generally relates to a visual telephone system, and more particularly relates to a visual telephone system connected to a telephone line for controlling the use of such a telephone line connected to a telephone switching network. 
     2. Related Art 
     Generally, there may be connected a number of telephone sets to a single telephone network line which has a specific call number. 
     Visual telephones may be connected to such a signal transmission line (i.e., a telephone network line) so as to transmit and receive audio (i.e., voice) and visual (i.e., video) information to/from another visual telephone via the telephone network line. If the communication between calling and called visual telephones over the telephone network line is achieved, audio communication is possible, but visual communication is impossible. This is because audio and visual signals must be simultaneously transmitted and received between the calling and called visual telephones. Thus, in order to transmit and receive the audio signal simultaneously with the visual signal via a telephone network line, each visual telephone must include a modem device for converting analog information which contain audio and visual signals into digital information. 
     During the visual communication of a calling visual telephone with a called visual telephone via a telephone network line therebetween, when another visual or audio telephone connected with the telephone network line is off-hooked by a caller, the visual communication is stopped because noise is introduced into the telephone network line. In order to solve the problem an, LED (light emitting diode) is installed on a body of a visual telephone connected to a telephone network so as to indicate whether or not another visual telephone is being connected to the telephone network line. However, even when the LED installed on the visual telephone is turned on, another visual telephone which is commonly connected with the telephone network line may be involuntarily off-hooked by a caller, such that the visual communication of the visual telephone with another visual telephone is stopped because of noise introduction as described above. 
     SUMMARY OF THE INVENTION 
     Accordingly, it is therefore an object of the present invention to provide a visual telephone system and a method of controlling the same such that, during connection of another visual telephone with a telephone network, is capable of blocking the connection of the visual telephone system to the telephone network and displaying a message so as to notify a caller that the visual telephone system cannot be utilized. 
     It is another object of the present invention to provide a visual telephone system and a method of controlling the same such that, during visual communication of another visual telephone with another visual telephone over a telephone network, is capable of blocking the connection of the visual telephone system to the telephone network and displaying a message so as to notify a caller that the visual telephone system cannot be utilized. 
     According to an aspect of the present invention, a visual telephone system comprises a modem for transmitting and receiving video and voice signals so as to perform a visual communication via a telephone line connected therewith; a telephone hand set for a voice communication via the telephone line connected therewith; a detecting unit for detecting whether or not the telephone line is busy and generating a line state detection signal; a control unit for controlling the modem to be enabled in response to the line state detection signal and generating a switch control signal in response to a specific key entry; a switch for selectively connecting the telephone line to either the modem or the telephone hand set; and a message storage unit for storing a message so as to provide the message on a display or a speaker in response to the line state detection signal. 
     Preferably, the detecting unit comprises a line voltage detector for detecting a voltage on the telephone line, a reference voltage generator for generating a reference voltage, and a comparator for comparing the voltage detected thus with the reference voltage and generating the line state detection signal. Alternatively, the detecting unit comprises a microcomputer for performing a line state detecting routine which has the steps of detecting a voltage on the telephone network line; and comparing the voltage detected thus with a preset reference voltage to generate the line state detection signal. 
     According to another aspect of the present invention, a visual telephone system comprises a modem for transmitting and receiving video and voice signals so as to perform a visual communication via a telephone line connected therewith; a telephone hand set for a voice communication via the telephone line connected therewith; a detecting unit for detecting whether or not the telephone line is busy and generating a line state detection signal; a control unit for controlling the modem to be enabled in response to the line state detection signal and generating a switch control signal in response to a specific key entry and a switch on/off control signal in response to the line state detection signal; a first switch for selectively connecting the telephone line to either the modem or the telephone hand set in response to the switch control signal; a message storage unit for storing a message so as to provide the message on a display or a speaker in response to the line state detection signal; and a second switch for disconnecting the telephone line to the visual telephone network in response to the switch on/off control signal. 
     According to a further aspect of the present invention, a method for controlling use of a telephone network line in accordance with whether the telephone network line is busy, which comprises the steps of determining whether there is a request for communication in a visual telephone system; detecting a state of the telephone network line to generate a line state detection signal; determining whether or not the telephone network line is busy in accordance with logic levels of the line state detection signal; generating, if the telephone network line is busy, a message to the visual telephone system determining, if the telephone network line is not busy, whether or not a visual communication mode is set by a specific key entry; performing, if the visual communication mode is not set, a voice telephone communication until the voice telephone communication is terminated; enabling, if the visual communication mode is set, a modem to allow for connection with the telephone network line and be activated for dialing; performing a visual telephone communication in the visual communication mode; determining whether the visual telephone communication is terminated; and disabling the modem when the communication is terminated. 
     According to an additional aspect of the present invention, a method is provided for controlling use of a telephone network line in accordance with whether the telephone network line is busy, which comprises the steps of determining whether there is a request for communication in a visual telephone system; detecting a state of the telephone network line to generate a line state detection signal; determining whether or not the telephone network line is busy in accordance with logic levels of the line state detection signal; generating, if the telephone network line is busy, a message to the visual telephone system of performing the method; disconnecting the visual telephone system from the telephone network line; determining, if the telephone network line is not busy, whether or not a visual communication mode is set by a specific key entry; performing, if the visual communication mode is not set, a voice telephone communication until the voice telephone communication is terminated; connecting, if the visual communication mode is set, a modem to the telephone network line; enabling a modem to allow for connection with the telephone network line and be activated for dialing; performing a visual telephone communication in the visual communication mode; determining whether the visual telephone communication is terminated; disabling the modem when the communication is terminated; and disconnecting the modem from the telephone network line. 
     The present invention is more specifically described in the following paragraphs by reference to the drawings attached only by way of example. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     A more complete appreciation of the present invention, and many of the attendant advantages thereof, will become readily apparent as the same becomes better understood by reference to the following detailed description when considered in conjunction with the accompanying drawings in which like reference symbols indicate the same or similar components, wherein: 
     FIG. 1 is a flowchart of a contemporary process of performing visual communication between calling and called visual telephone systems through a telephone line of a telephone network; 
     FIG. 2 is a block diagram of a visual telephone system constructed according to an embodiment of the present invention; 
     FIG. 3 is a detailed block diagram of the detecting unit as shown in FIG. 2; 
     FIG. 4 is a flowchart of a novel process of controlling the use of a telephone line in the visual telephone system as shown in FIG. 2; 
     FIG. 5 is a flowchart of a process of detecting a busy state of a telephone line using the detecting unit as shown in FIG. 2; 
     FIG. 6 is a block diagram of a visual telephone system constructed according to another embodiment of the present invention; and 
     FIG. 7 is a flowchart of a process of controlling the use of a telephone line in the visual telephone system as shown in FIG. 6. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     Referring now to the drawings and particularly to FIG. 1, which illustrates a contemporary technique of performing visual communication between calling and called visual telephones through a telephone line of, for example, a public switching telephone network (PSTN), each of which has a modem device. As shown in FIG. 1, the contemporary technique uses steps of dialing a telephone number of a called visual telephone system via a telephone line at step S10, determining whether there is an acknowledge signal generated from the called visual telephone at step S20, establishing physical connection between the calling visual telephone and the called visual telephone if the acknowledge signal is generated from the called visual telephone at step S30, performing visual communication of the calling visual telephone with the called visual telephone at step S40, determining whether there is a termination request signal generated from either the calling or the called visual telephone at step S50, and terminating the visual communication of the calling visual telephone with the called visual telephone if the termination request signal is generated from the calling or the called visual telephone at step S60. 
     During the visual communication between the calling visual telephone and the called visual telephone via a telephone line of a telephone network therebetween, when another visual or audio telephone set connected to the telephone line is taken off-hook by a caller, the visual communication is typically disabled because noise is introduced into the telephone network line. In order to solve this problem, a light emitting diode (LED) is installed on a body of a visual telephone connected to a telephone line for indicating whether another visual telephone is being connected to the telephone line of the telephone network. However, even when the LED installed on the visual telephone is turned on, another visual telephone which is also commonly connected to the telephone line maybe involuntarily off-hooked by a caller, the visual communication of the visual telephone with another visual telephone being stopped because of noise introduction as described above. 
     Turning now to FIG. 2, which illustrates a novel visual telephone system constructed in accordance with an embodiment of the present invention. The novel visual telephone system includes a detecting unit 200 for detecting whether a telephone line 220 of a telephone network is busy and generating a line state detection signal LSD, a control unit 100 for controlling an entire operation of the visual telephone system including performing a control routine in response to the line state detection signal LSD, a switch 230 for connecting the telephone line 220 to either a modem 190 or a telephone set 210 under control of the control unit 100, and a message storage unit 150 for storing a message. With the control routine to be executed in the control unit 100, the novel visual telephone system can control the use of the telephone line 220 of a telephone network according to whether the telephone line 220 is busy. Accordingly, the visual telephone system is capable of detecting whether or not the telephone line 220 is busy and controlling the use of the telephone line 220. If the telephone line 220 is busy, for instance, when the telephone line 220 is being used by another telephone set or another visual telephone system commonly connected thereto, the visual telephone system according to the present invention is not connected to the telephone line 220 so as not to communicate with a called telephone or a called visual telephone over the telephone line 220. If the telephone line is not busy, however, the novel visual telephone system is electrically connected to the telephone line 220 of the telephone network so as to communicate with the called telephone or the called visual telephone connected thereto. 
     As shown in FIG. 2, the visual telephone system further comprises an image output processing unit 110 (i.e., a monitor), an image input processing unit 120 (i.e., a CCD camera), a voice output processing unit 130 (i.e., a sound card), a voice input processing unit 140 (i.e., a microphone), a key input unit 180 (i.e., a key matrix) and a memory section. This memory section includes a read-only-memory (ROM) 160 and a random-access-memory (RAM) 170. The control unit 100 executes control programs stored in the ROM 160 so as to control the entire operation of the visual telephone system. 
     The detecting unit 200 is connected between the control unit 100 and the telephone line 220 connected to the telephone network so as to detect whether or not the telephone line 220 is busy. The detecting unit 200 includes, as shown in FIG. 3, a line voltage detector 202 for detecting a voltage V L  of the telephone line 220, a reference voltage generator 201 for generating a reference voltage V R  corresponding to the voltage applied to the telephone line 220 at a busy state, a comparator 203 for comparing the detected voltage V L  with the reference voltage V R  to generate the line state detection signal LSD to the control unit 100. The line state detection signal LSD indicates whether or not the telephone line 220 is busy. The telephone line 220 generally exhibits a voltage of about 40 to 50 volts when it is not at a busy state, and its voltage is dropped to about 10 volts when it is at a busy state. By utilizing the drop of telephone line voltage, the detecting unit 200 is capable of generating the line state detection signal LSD. 
     Additionally, when the telephone line 220 is at a busy state, the control unit 100 generates a control signal through a system bus 101 to the message storage unit 150 as shown in FIG. 2. At this time, a message is read out from the message storage unit 150 in response to the control signal and provided to the image output processing unit 110 (i.e., monitor) and/or the voice output processing unit 130 (i.e., sound card) of the visual telephone system. That message may be, for instance, &#34;Please note that you cannot use the telephone line now&#34;. Thus, a subscriber can recognize whether or not the telephone line is busy. 
     A process of controlling the use of a telephone line connected to a telephone network or a switching system in the novel visual telephone system will now be described with reference to FIG. 4 hereinbelow. A control program which is stored in ROM 160 of the visual telephone system as shown in FIG. 2 is executed by means of the control unit 100. The visual telephone system of FIG. 2 is capable of controlling the use of the telephone network line in accordance with a busy state thereof. 
     First, the control unit 100 of each visual telephone system determines whether there is a request for communication in the visual telephone system at step S120. If a telephone number of a subscriber is input by the key input unit 180 of the visual telephone system, the control unit 100 generates a hook-off signal in response to the input telephone number and provides the hook-off signal to the modem 190. The modem 190 is at a stand-by state for dialing and the control unit 100 recognizes the stand-by state of the modem 190 as the request for communication. 
     At step S130, the detecting unit 200 detects an operation status of the telephone line 220 in accordance with a line status detection routine as shown in FIG. 5 and generates a line state detection signal LSD indicating whether or not the telephone line 220 is busy. The line status detection routine is performed by a micro-computer which constitutes the detecting unit 200. As shown in FIG. 5, the detecting unit 200 of the micro-computer detects a voltage on the telephone line 220 at step S202, and compares the detected voltage with a reference voltage at step S203. If the detected voltage is less than the reference voltage, the detecting unit 200 generates a line state detection signal of a high level at step S204. If the detected voltage is not less than the reference voltage, the detecting unit 200 generates a line state detection signal of a low level at step S205. It is noted herein that the line state detection signal of a high level indicates that the telephone network line 220 is at a busy state, and that the line state detection signal of a low level indicates that the telephone network line 220 is not at a busy state. Alternatively, the line state detection signal can be detected by the detecting unit 200 which is composed of the reference voltage generator 201, the line voltage detector 202 and the comparator 203, as shown in FIG. 3. 
     Referring back to FIG. 4, at step S140, if the line state detection signal is at a high level, i.e., when the telephone line 220 is busy, the control unit 100 proceeds to step S190, wherein a line busy message is read out from the message storage unit 150 under the control of the control unit 100 and provided to the image output processing unit 110 (i.e., monitor) and/or the voice output processing unit 130 (i.e., sound card) of the visual telephone system. Thus, the line busy message indicating that the telephone line 220 is at a busy state may be generated by the sound card in a voice and/or by displayed on the monitor. 
     Alternatively, at step S140, if the line state detection signal is at a low level, i.e., when the telephone line 220 is not busy, the control unit 100 proceeds to step S145, wherein it is determined whether or not a visual telephone communication mode is set by a subscriber. If the visual telephone communication mode is set, i.e., if a switch control signal SC is generated from the control unit 100 in accordance with a specific key entry through the key input unit 180, the control unit 100 proceeds to step S150 wherein the switch 230 is controlled in response to the switch control signal SC to allow the modem 190 to be connected to the telephone line 220 and at the same time the control unit 100 enables the modem to be activated. The activation of the modem 190 means that a dialing tone signal is generated on the basis of the call telephone number. Next, the visual telephone system performs visual telephone communication at step S160. 
     At step S170, the control unit 100 determines whether the visual telephone communication is terminated. If the visual telephone communication is terminated, the control unit 100 proceeds to step S180 to deactivate or disable the modem 190. If the visual telephone communication is not terminated, the control unit 100 returns to step S160 to maintain the visual telephone communication. On the other hand, at step S145, if the visual communication mode is not set by the subscriber, i.e., when a voice communication mode is set, the control unit 100 proceeds to step S146 wherein the switch 230 is controlled in response to the switch control signal SC to allow the telephone set 210 to be connected to the telephone line 220 and at the same time a voice telephone communication is performed. Next, the control unit 100 determines whether the voice telephone communication is terminated at step S147. If the voice telephone communication is terminated, the control unit 100 returns to step S120, and if not, the control unit 100 returns to step S146 to maintain the voice telephone communication. 
     FIG. 6 illustrates a novel visual telephone system constructed according to another embodiment of the present invention. In addition to those circuit embodiments as shown in FIG. 2, the second embodiment of the visual telephone system further includes a second switch 240 connected between switch 230 and the telephone line 220 so that electrical connection therebetween is controlled by the control unit 100. As shown in FIG. 6, the detecting unit 200 detects that the telephone line 220 is at a busy state, and then generates a line state detection signal LSD, so that the control unit 100 can generate a switch on/off control signal SOC in response to the line state detection signal LSD. At this time, for instance, when the telephone line 220 is busy, the telephone line 220 and the switch 230 is disconnected by the switch 240 controlled in response to the switch on/off control signal SOC. 
     FIG. 7 illustrates a process of controlling the use of the telephone line 220 connected to a telephone network or a switching system in the novel visual telephone system as shown in FIG. 6. The process of FIG. 7 has the same steps as that of FIG. 4 except that, after the modem 190 is disabled, the telephone set 210 is connected to the telephone line 220, and after the line busy message is generated from the message storage unit 150, the visual telephone network is disconnected with the telephone line 220 by the switch 240 controlled in response to the switch on/off control signal SOC from the control unit 100. 
     Refer now to FIG. 7, the control unit 100 determines whether there is a request for communication in the visual telephone system at step S310. If a call telephone number of a subscriber is input by the key input unit 180 of the visual telephone system, the control unit 100 generates a hook-off signal in response to the call telephone number and provides the hook-off signal to the modem 190. The modem 190 is at a stand-by state for dialing and the control unit 100 recognizes the stand-by state of the modem 190 as the request for communication. 
     At step S320, the detecting unit 200 detects an operation status of the telephone line 220 in accordance with a line status detection routine as shown in FIG. 5 and generates a line state detection signal LSD indicating whether or not the telephone line 220 is busy. The line status detection routine is performed in a micro-computer which constitutes the detecting unit 200. As shown in FIG. 5, the detecting unit 200 detects a voltage on the telephone network line 220 at step S202, and compares the detected voltage with a reference voltage at step S203. If the detected voltage is less than the reference voltage, the detecting unit 200 generates a line state detection signal of a high level at step S204. If the detected voltage is not less than the reference voltage, the detecting unit 200 generates a line state detection signal of a low level at step S205. The line state detection signal of a high level indicates that the telephone network line 220 is at a busy state, and the line state detection signal of a low level indicates that the telephone network line 220 is not at a busy state. 
     At step S330, if the line state detection signal is at a high level, i.e., when the telephone network line 220 is busy, the control unit 100 proceeds to step S410, wherein a line busy message is read out from the message storage unit 150 by means of the control of the control unit 100 and provided to the monitor and/or the sound card of the visual telephone system. Thus, the line busy message indicating that the telephone network line 220 is at busy state may be generated by the sound card in a voice and/or by displayed on the monitor. And, the control unit 100 proceeds to step S420, wherein the switch 240 is controlled in response to the switch on/off control signal SOC from the control unit 100 so that the visual telephone system, particularly, the switch 230 is disconnected with the telephone network line 220. 
     Alternatively, at step S330, if the line state detection signal is at a low level, i.e., when the telephone network line 220 is not busy, the control unit 100 determines whether or not a visual communication mode is set by a subscriber at step S340. If the visual communication mode is set, i.e., if a switch control signal SC is generated from the control unit 100 in accordance with a specific key entry through the key input unit 180, the control unit 100 proceeds to step S350 wherein the switch 230 is controlled in response to the switch control signal SC to allow the modem 190 to be connected to the telephone network line 220. Next, the control unit 100 enables activation of the modem 190 at step S360. The activation of the modem 190 indicates that a dialing tone signal is generated on the basis of the call telephone number. Next, at step S370, the visual telephone system performs visual telephone communication. 
     At step S380, the control unit 100 determines whether the visual telephone communication is terminated. If the visual telephone communication is terminated, the control unit 100 disables operation the modem 190 at step S390 and disconnects the modem from the telephone network line 220 at step S400 390. If the visual telephone communication is not terminated, the control unit 100 returns to step S370 to maintain the visual telephone communication until the visual telephone communication is terminated. 
     On the other hand, at step S340, if the visual communication mode is not set, i.e., when a voice communication mode is set, the control unit 100 proceeds to step S346 wherein the switch 230 is controlled in response to the switch control signal SC to allow the telephone set 210 to be connected to the telephone network line 220 and at the same time a voice telephone communication is performed. Next, the control unit 100 determines whether the voice telephone communication is terminated at step S347. If the voice telephone communication is terminated, the control unit jumps to step S120, and if not, the control unit 100 jumps to step S346 so that the voice telephone communication continues to be performed. 
     As described above, according to a visual telephone system of the present invention, when a subscriber using the system tries to call another subscriber via a telephone network, the system is connected to the telephone network line in accordance with the operation status of a telephone line, that is, whether the telephone line is busy. If the telephone line is busy, the system is not connected to the line so that it cannot perform visual communication. If the telephone line is not busy, the system is connected to the line so as to perform visual communication. Therefore, during the busy status of the telephone line connected to the telephone network, the visual telephone system is capable of blocking any connection attempt to the telephone network and outputting a message so as to notify the caller that the visual telephone system cannot be utilized. 
     While there have been illustrated and described what are considered to be preferred embodiments of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made, and equivalents may be substituted for elements thereof without departing from the true scope of the present invention. In addition, many modifications may be made to adapt a particular situation to the teaching of the present invention without departing from the central scope thereof. Therefore, it is intended that the present invention not be limited to the particular embodiment disclosed as the best mode contemplated for carrying out the present invention, but that the present invention includes all embodiments falling within the scope of the appended claims.