Abstract:
A circuit switching system for switching a circuit from a telephone to a facsimile. Circuit switching is performed by a signal, designating circuit switching delivered to the circuit. The circuit is monitored. When a signal designating circuit switching is detected from the circuit, the circuit is switched automatically from the telephone to the facsimile and a starting signal is applied to the facsimile.

Description:
This application is a continuation of application Ser. No. 07/137,573, filed Dec. 24, 1987, now abandoned. 
    
    
     BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     This invention relates to a circuit switching system which switches a circuit to a facsimile after a telephone receives a call incoming via the circuit. 
     2. Description of the Prior Art 
     Conventionally, a structure shown in FIG. 1 is used to allow a telephone and a facsimile to use in common a circuit connected to a PBX (Private Branch Exchange) and/or a button telephone. When circuits 3 1 , 3 2  and 3 3  are connected to PBX 1, a circuit changing switch 4 is provided in the circuit 3 3  to allow same to be connected to either one of PBX 1 and a facsimile 5, the switch 4 is arranged to normally connect PBX 1 and circuit 3 3 . If this system is called up using a telephone number allocated to the circuit 3 3  in order to transmit an original document to facsimile 5, any one of telephones 2 1  -2 n  will be called up via PBX 1. When a responder answers this call by a predetermined one of telephones 2 1  -2 n , he will be required to switch the switch 4 to the facsimile. After manual switching, facsimile communication is performed via circuit 3 3 . 
     This system allows the telephone and facsimile to use the circuit 3 3  in common, but switching the switch 4 is troublesome and inconvenient. 
     In an attempt to cope with these problems, a circuit shown in FIG. 2 is proposed in which a special telephone 6 is connected to PBX 1 in addition to telephones 2 1  -2 n . A switch 8, which is switched by a signal on a signal line 7 1  extending from the telephone 6, is disposed between PBX 1 and circuit 3 3  with facsimile 5 being connected to switch 8. Switch 8 is controlled so as to normally connect the circuit 3 3  and PBX 1. The facsimile 5 is controlled, started and stopped via a signal line 7 2  extending from telephone 6. In this system, a call incoming via circuit 3 3  is transmitted via PBX 1 to the telephone 6. If the call is responded by telephone 6, transmission of an original document to facsimile 5 is requested. When a predetermined operation is performed by pressing buttons at telephone 6, a control signal is delivered to the signal lines 7 1  and 7 2 , the switch 8 is switched so as to connect the circuit 3 3  and facsimile 5 and to start facsimile 5. The document transmission side starts facsimile transmission via the circuit 3 3  after switching has been finished. 
     Handling this system is not troublesome because the switch 8 is not required to be changed manually. However, the special telephone 6 is required to control switch 8 and facsimile 5. In addition, there is a call incoming at the circuit 3 3 , it is delivered to the telephone 6, so that when the telephone 6 is used by another circuit (for example, 3 1  or 3 2 ), it is impossible to transmit an original document to facsimile 5. In order to avoid this inconvenience, all the telephones 2 1  -2 n  could have the same structure as the telephone 6. However, the use of more than a few special telephones would increase the entire cost and the number of signal lines and complicate the structure of the system. 
     As described above, the use of a switch such as the circuit changing switch 4 shown in FIG. 1 renders manual changing troublesome. The use of a system such as that shown in FIG. 2 not only requires special telephones, but also makes it impossible to transmit information to a facsimile if the special telephone is in use. In order to cope with this inconvenient situation, all the system telephones could be replaced with special telephones such as those mentioned above. However, this would increase the cost of the system and complicate the system due to an increase in the number of control signal lines. This invention derives from the consideration of drawbacks in such conventional circuit switching system. 
     The object of this invention is to provide a circuit switching system which eliminates troublesome manual switching and allows a telephone and a facsimile to use a circuit in common without relying upon a special telephone. 
     SUMMARY OF THE INVENTION 
     According to this invention, a circuit switching system comprises switch means connected to a circuit for switching the circuit selectively to a reception side telephone or facsimile; detection and control means for receiving a signal on the circuit, determining whether the signal designates circuit switching, and driving the switch means to switch the circuit from the reception side telephone to the facsimile and to deliver a starting signal to the facsimile when the signal on the circuit is determined to designate circuit switching. 
     The reception side telephone may be connected directly to the circuit or may be connected via a PBX or the like to the circuit. 
     According to this invention, circuit switching is performed automatically by a signal designating a circuit switching, so that troublesome manual switching is avoided. Since this system does not employ a structure in which a telephone itself directly controls the switch, the telephone and facsimile can use the circuit in common even if the telephone is not a special one. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIGS. 1 and 2 are block diagrams of telephone systems using a conventional circuit switching system. 
     FIG. 3 is a block diagram of a telephone system using one embodiment of this invention. 
     FIG. 4 is a block diagram showing one embodiment of a circuit switching system of this invention. 
     FIG. 5 is a flowchart showing another embodiment of this invention. 
     FIG. 6 is a block diagram showing a further embodiment of this invention. 
     FIG. 7 is a block diagram showing the details of a starting indication circuit of the further embodiment. 
     FIG. 8 is a block diagram of a telephone system in which a circuit switching system is provided in a PBX. 
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     One embodiment of this invention will now be described with reference to the drawings. FIG. 3 is a block diagram of a telephone system using one embodiment of this invention. FIG. 4 is a block diagram showing in detail one embodiment of this invention. In these Figures, like reference numerals are used to denote like elements in FIGS. 1, 2, 3 and 4 throughout and further description will be omitted. Reference numeral 9 denotes a circuit switching system which includes a switch 6 provided between circuit 3 3  and PBX 1 to switch the circuit 3 3  to one of PBX 1 and facsimile 5, and a detection and control unit 10 which controls switching of the switch 6. The unit 10 includes an MF tone detection and conversion circuit 11 which detects and decodes a PB-MF tone (a dual tone multi-frequency signal, hereinafter referred to as the DTMF signal) on the circuit 3 3 , a determination circuit 12 which receives decoded data from the conversion circuit 11 and determines whether the data indicates a circuit changing command, and a control circuit 13 which performs the switching control of the switch 6 and the starting and stopping of the facsimile 5 in accordance with the result detected by the determination circuit 12. The MF tone detection and conversion circuit 11 and determination circuit 12 function as detection means which receives a signal from the circuit 3 3  and detects whether the signal indicates a circuit switching command. The control circuit 13 functions as control means which, when the detection means detects a circuit switching command, changes the switch 6 so as to connect the circuit 3 3  to facsimile 5 and to start the facsimile 5. 
     In the telephone system thus constructed, the control circuit 13 initially controls the switch 6 via a signal line 14 such that, as shown, the circuit 3 3  and PBX 1 are connected and that the facsimile 5 is placed at its inactive state via a signal line 15. When there is a call incoming via the circuit 3 3 , the call is delivered to any one or more of telephones 2 1  -2 n  via PBX 1. If this call is responded by any one of the telephones, it is possible to talk with a person at the other end of the line. If that person requests facsimile communication, certain buttons of the telephone which has responded to the call are pressed in a predetermined manner (generally, not performed in the usual operation of the dial buttons--for example, the button &#34;#&#34; is pressed successively by a predetermined number of times, the buttons &#34;#&#34; and &#34;*&#34; are pressed alternately by a number of times.). The telephone then transmits the corresponding DTMF signal via PBX 1 to the line 3 3 . This DTMF tone is received by MF tone detection conversion circuit 11 and transmitted as circuit changing command data to the determination circuit 12. When the circuit 12 receives the command data, it produces an active output. When the control circuit 13 receives this output, it controls the switch 6 via the signal line 14 such that the circuit 3 3  is connected to the facsimile 5 and that the facsimile 5 is started via signal line 15. Thereafter, the facsimile 5 can perform facsimile communication via the circuit 3 3  with a terminal at the other end of the circuit 3 3 . When the facsimile communication has ended, the control circuit 13 senses &#34;no signal&#34;  via a signal line 17 and determines that the communication has ended, controls the switch 6 via the signal line 14 such the circuit 3 3  is connected to PBX 1 and stops the facsimile 5 via the signal 15. 
     While in the above embodiment the detection and control unit 10 has been shown as being composed of MF tone detection and conversion circuit 11, determination circuit 12 and control circuit 13, it may be composed by software. FIG. 5 is a flowchart of one embodiment of the detection and control unit 10 constructed by software. 
     In this embodiment, it is arranged that a switching command which instructs the circuit switching system 9 to switch the circuit to the facsimile 5 is generated by pressing sequentially the buttons &#34;#&#34;, &#34;*&#34;, and &#34;#&#34; of the telephone connected to PBX 1. 
     The detection and control unit 10 monitors a signal on the circuit 3 3  (step 101). When a signal on the circuit 3 3  is detected (step 102), a shift is made to step 103 where it is determined whether the detected signal is a DTMF signal. If so, a shift is made to step 104 where it is determined whether the DTMF signal is a signal corresponding to &#34;#&#34;, namely, whether the first figure of the signal transmitted to the circuit 3 3  corresponds to &#34;#&#34;. If so, a shift is made to 105 where it is determined whether the second figure of the signal transmitted to the circuit 3 3  corresponds to &#34;*&#34;. If so, a shift is made to step 106 where it is determined whether the third figure corresponds to &#34;#&#34;. As just described above, when the signal transmitted to the circuit 3 3  corresponds to &#34;#&#34;, &#34;*&#34; and &#34;#&#34;, it is determined to be so at steps 104, 105 and 106 and a shift is made to step 107. If it is determined that there is no signal, it is not DTMF signal, the first figure does not correspond to &#34;#&#34;, the second figure does not correspond to &#34;*&#34;, and the third figure does not correspond to &#34;#&#34; at steps 102, 103, 104, 105 and 106, respectively, a return is made to step 101. 
     At step 107 the switch 6 is changed via signal line 14 such that the circuit 3 3  is connected to the facsimile 5. 
     Subsequently, a shift is made to step 108 where the facsimile 5 is started via signal line 15. Thereafter, the facsimile 5 can perform facsimile communication with the terminal at the other end of the circuit 3 3  via this circuit. 
     If a starting signal is delivered at step 108, a shift is made to step 109 where the facsimile communication signal is sensed via a signal line 17. If it is determined that there is a signal at step 110, a return is made to step 109 where this operation is repeated. 
     When the facsimile communication ends and the facsimile communication signal on the signal line 17 disappears, it is determined that there is no signal at step 101 and a shift is made to step 111. 
     At step 111 the starting signal applied to the facsimile 5 via the signal line 15 is stopped. Subsequently a shift is made to step 112 where the switch 6 is controlled via the signal line 14 to switch the circuit 3 3  to PBX 1, and then a return is made to step 101. 
     FIG. 6 shows another embodiment of this invention. In this embodiment, a starting command circuit 16 is provided which is started via the signal line 15 by the control circuit 13. As shown in FIG. 7, the circuit 16 includes a loop forming circuit 161, an incoming signal generator 162, a response signal detector 163. When the starting command circuit 16 receives a command from control circuit 13, it drives the incoming signal generator to cause a 16 Hz incoming signal to be delivered to the facsimile 5A. When the facsimile 5A responds to this signal, this fact is sensed by the response signal detector 163 to stop the transmission of the 16 Hz incoming signal from the incoming signal generator 162 and to drive the loop forming circuit 161 such that a signal can pass between the facsimile 5A and the switch 6. Other structural portions are similar to the corresponding ones of the circuit switching system 9 of FIG. 4. According t such structure, the facsimile 5A can be constructed such that it operates in response to a usual incoming signal in an automatic reception mode without relying on a starting signal. 
     While in the above embodiment the DTMF signal is shown as being transmitted from the telephones 2 1  -2 n  of PBX 1, it may be transmitted from the terminal at the other end of the circuit. A command for circuit switching may be indicated by a signal other than DTMF signal. The circuit switching systems 9 and 9A may be built in the PBX, as shown in FIG. 8.