Background of the Invention
1. Field of the Invention
The present invention relates to a communicating apparatus which can concurrently communicate voice data and data other than the voice data.
2. Related Background Art
Hitherto, as an apparatus which can concurrently communicate, for example, facsimile data and voice data, a communicating apparatus which can concurrently execute a facsimile communication and a speech communication by one apparatus by assembling a facsimile function and a telephone function in the apparatus main body has been proposed. U.S. Pat. Nos. 4,785,355 and 4,825,461 relate to such apparatus.
With such a communicating apparatus, however, existing types of facsimile apparatus or telephone cannot be used, so that these is a problem in that an apparatus which has been used hitherto is no longer of use.
An apparatus which concurrently communicates facsimile data and voice data by using one line is also proposed in Japanese Laid-Open Patent Application No. 5-75756.
In that apparatus, however, during the concurrent communication of a facsimile communication and a voice communication, even when one of those communications is finished, the apparatus cannot be switched to purely-facsimile or purely-voice communication.
Summary of the Invention
It is an object of the invention to provide a communicating apparatus which can apparatus which can concurrently perform a voice communication and data communication by using the existing facsimile apparatus or telephone.
It is another object of the invention to provide a communicating apparatus which can select between concurrent voice and data communication, voice communication, and data communication.
Further, another object of the invention is to provide a communicating apparatus which can automatically switch among concurrent voice and data communication, voice communication, and data communication.
The above and other objects and features of the present invention will become apparent from the following detailed description and the appended claims with reference to the accompanying drawings.
Brief Description of the Drawings
FIG. 1 is a block diagram showing a construction of a communicating apparatus of the invention;
FIG. 2 shows a format for transmitting and receiving voices and data of the invention;
FIG. 3 is a constructional diagram of a line interface unit of the invention;
FIG. 4 is a table showing the relation between the ON/OFF states of switches in the line interface and the operating modes of the communicating apparatus in the invention;
FIG. 5 is a diagram showing a communicating procedure of the communicating apparatus of the invention;
FIG. 6 shows a format for transmitting and receiving voices and data of the invention;
FIG. 7 shows a format for transmitting and receiving voices and data of the invention;
FIG. 8 shows a format for transmitting and receiving voices and data of the invention;
FIG. 9 is a diagram showing a protocol for a G3 mode of a facsimile apparatus which is connected to the communicating apparatus of the invention;
FIG. 10, consisting of FIGS. 10A and 10B, is a flowchart illustrating the operation of the communicating apparatus of the first embodiment of the invention;
FIG. 11 is a flowchart showing the operation of the communicating apparatus of the first embodiment of the invention;
FIG. 12 is a flowchart showing the operation of the communicating apparatus of the first embodiment of the invention; and
FIG. 13, consisting of FIGS. 13A and 13B is a flowchart illustrating the operation of a communicating apparatus of the second embodiment of the invention.
Detailed Description of the Preferred Embodiments
FIG. 1 is a block diagram showing a construction of a communicating apparatus according to the first is embodiment of the invention.
A CPU 1 controls the whole apparatus, namely, RAM 3, an operation/display unit 4, an FAX/voice communication processing unit 5, an FAX signal processing unit 6, a voice signal processing unit 7, and a line interface unit 8, in accordance with a program stored in an ROM 2.
The RAM 3 is used to temporarily store input/output data to/from the FAX/voice communication processing unit 5, FAX signal processing unit 6, and voice signal processing unit 7, to store data necessary to process in the CPU 1, and the like.
The operation/display unit 4 has various keys, such as key to select whether a concurrent communication of FAX/voice is executed or not and the like, and a display showing operating states of the keys.
The FAX/voice communication processing unit 5 comprises a modem for modulating and demodulating data corresponding to V.17 and transmits and receives voices and data in a format shown in FIG. 2 with another communicating apparatus having a construction similar to that of the present apparatus through the line interface unit 8 and a line 9.
FIG. 2 will now be described. In FIG. 2, one block denotes one byte unit. Voice data is constructed by two bytes, while image data is constructed by one byte. That is, the modem of V.17 is a modem which can execute a full duplex communication of 14.4 kbps. 9.6 kbps in 14.4 kpbs data is used for communication of the voice data, and 4.8 kbps is used for communication of the image data.
The transmission side modulates the voice data and image data stored in the RAM 3 in accordance with this order and transmits to the line 9. The reception side demodulates the received data and stores into the RAM 3 in accordance with that order.
While performing a facsimile communication according to T.30 by the ITU-T recommendation with a facsimile apparatus connected to the line interface unit 8 by a command from the CPU 1, the FAX signal processing unit 6 converts information from the facsimile apparatus to a digital signal and stores into a data buffer for facsimile in the RAM 3. On the contrary, the FAX signal processing unit 6 decodes the data stored in the data buffer for facsimile in the RAM 3, converts it to an analog facsimile signal, and communicates with the facsimile apparatus through the line interface unit 8. Thus, the facsimile communication can be performed concurrently with the voice communication by connecting an existing facsimile apparatus to the present communicating apparatus.
The voice signal processing unit 7 encodes the analog signal from the telephone connected to the line interface unit 8 using VSELP coding (Vector-Sum Excited Linear Predictive Coding) as one example for the coding methods of the voice signal and stores the encoded data to a date buffer for voice data in the RAM 3. The voice signal processing unit 7 decodes the voice data stored in the buffer for voice data in the RAM 3 and transmits to the telephone through the line interface unit 8 as an analog signal. Thus, the voice communication can be performed concurrently with the facsimile communication by connecting in existing telephone to the communicating apparatus.
The telephone line 9, facsimile apparatus, and telephone can be connected to the line interface unit 8 as mentioned above. Specifically, the line interface unit 8 is constructed as shown in FIG. 3. In FIG. 3, SW1 denotes a switch for switching the connection of the line 9 to either one of the FAX/voice communication processing unit 5 and the externally attached facsimile apparatus/telephone. SW2 denotes a switch for switching the connection of the line 9 to either one of the facsimile apparatus and the telephone in the case where the line 9 is connected to the externally attached facsimile apparatus/telephone by the switch SW1.
SW3 indicates a switch for switching the connection of the externally attached facsimile apparatus to either one of the line 9 switched by the switch SW2 and an input/output to/from the FAX signal processing unit 6. SW4 denotes a switch for switching the connection of the externally attached telephone to either one of the line 9 switched by the switch SW2 and the input/output to/from the voice signal processing unit 7 in a manner similar to the case of the switch SW3.
FIG. 4 shows a table for explaining the relation of the ON/OFF states of each of the above-mentioned switches and the operating modes of the present apparatus.
The operation of the embodiment will now be described with reference to FIG. 5 in accordance with flowcharts of FIGS. 10A and 10B to 12.
First, in a standby state in step S0, all of the initializing operations of the apparatus are executed. When the initialization is finished in step S0, the line interface unit 8 is set to the voice mode (mode 2) in FIG. 4. Mode 2 is a mode for performing an ordinary interactive communicating operation by the telephone connected to the line interface unit 8, and such an operation is executed as an initializing set of the line interface unit 8.
The off-hook or on-hook state of the telephone is detected in step S2. In the case of off-hook, the line interface unit 8 is set to mode 2 in step S3. In such a state, the line 9 is connected to the externally attached telephone.
The off-hook or on-hook state of the facsimile apparatus connected to the line interface unit 8 is detected in step S4. In the case of off-hook, the line interface unit 8 is set to mode 3 in step S5. Mode 3 is a mode for performing the ordinary communication of facsimile and the line 9 is connected to the externally attached facsimile apparatus. In this instance, the facsimile has a priority of the off-hook. Even if the telephone is off-hooked, when the facsimile apparatus is off-hooked, the line 9 is connected to the facsimile apparatus. The priority of the off-hook can be alternatively given to the telephone.
In step S6, when a concurrent communication signal which exists in control data and requests the concurrent communication is received from the partner side, the request of the concurrent communication from the partner side is conveyed to the operator in step S7. When a concurrent communication key is depressed, the line interface unit 8 is set to an FAX/voice concurrent communication mode (mode 1) and a response signal for the concurrent communication request is transmitted in step S9. Mode 1 is a mode for connecting the line 9 to the FAX/voice communication processing unit 5 of the apparatus, for connecting the externally attached facsimile apparatus to the FAX signal processing unit 6, and for connecting the externally attached telephone to the voice signal processing unit 7. The apparatus operates in mode 2 or mode 3 until the concurrent communication key of the operation/display 4 of the apparatus is depressed.
When the concurrent communication key is depressed in step S13, a concurrent communication signal for requesting the concurrent communication is transmitted in step S14. When a response signal for the concurrent communication signal is received in step S15, the line interface unit 8 is set to the FAX/voice concurrent communication mode (mode 1) in step S16.
The communication of mode 1 is executed in accordance with a procedure shown in FIG. 5 as follows.
First, the reception side transmits an ANS signal (tone signal of 2500 Hz for 0.5 second) to the transmission side in step S10. On the contrary, when the ANS signal is received in step S17, the transmission side transmits an ACK signal (tone signal of 2300 Hz for 0.5 second) to the reception side in step S18.
Further, in step S19, while transmitting a TCF signal (data of all "1" of 14.4 kbps for one second continuously) to the reception side, the transmission side receives the TCF signal which is similarly sent from the reception side. When the ACK signal from the transmission side is received in step S11, the reception side executes an operation similar to that in step S19 on the transmission side in step S12.
Since the operations on the transmission side in steps S20 to S28 and the operations on the reception side in steps S31 to S39 are executed in substantially the same manner, only the operations on the transmission side will be described hereinbelow.
The transmission side receives the TCF signal from the reception side in step S20. When the error rate of the TCF signal is equal to or less than 10%, the TCF signal reception can be performed. The ACK signal is sent to a receiver in step S21, and a response from the reception side to the TCF signal transmitted from the transmission side is received.
When the error rate of the TCF signal is larger than 10% in step S20, a NACK signal (tone signal of 2700 Hz for 0.5 second) is transmitted to the receiver in step S26, it is judged that concurrent communication of the voice and facsimile data cannot be executed, an error and such judgement result are displayed on a display in step S28, the line interface unit 8 is set to mode 2, and the apparatus is returned to the standby state.
When the response signal received in step S22 is the ACK signal, the communication of 14.4 kbps is started in step S23. The high speed communication in step S23 is finished when the concurrent communication key of the operation/display unit is continuously depressed for two seconds or more in step S24. The line interface unit 8 is set to mode 2 in step S25 and the apparatus is returned to the standby state.
When the response signal received in step S22 is not the ACK signal, a check is made to see if the response signal is the NACK signal or not in step S27. If it is the NACK signal, it is judged that the concurrent communication cannot be executed and the error is displayed and the apparatus is returned to the standby state.
The above-mentioned high speed data communication in step S23 will now be described with reference to FIGS. 6 to 9.
The whole high speed data communication is performed by the full duplex communication of 14.4 kbps. A voice signal from the telephone is converted to digital data of 9.6 kbps by the VSELP coding by the voice signal processing unit 7. The modulated data is transmitted to the partner side in a format shown in FIG. 2, 6, 7, or 8 from the FAX/voice communication processing unit 5.
On the contrary, on the reception side, the data transmitted in the format shown in FIG. 2, 6, 7, or 8 is demodulated by the FAX/voice communication processing unit 5, the demodulated data is divided into voice data and image data, the voice data is contrarily converted to the voice signal by the voice signal processing unit 7, and the voice signal is outputted to the telephone.
By executing the above operations in both of the transmission and reception sides, the interactive communication can be realized. In this instance, although the voice data always exists, the image data does not always exist. When no image data exists, data of all 1 is sent as image data. The voice communication during the high speed data communication is realized as mentioned above.
When the image communication is executed in addition to the voice communication, as shown in FIG. 9, the transmission side executes the facsimile communication of 4800 bps with the facsimile apparatus connected to the line interface unit 8 in accordance with a protocol for a G3 mode.
The reception side also executes the facsimile communication of 4800 bps with the facsimile apparatus connected in a manner similar to that on the transmission side in accordance with the protocol for the G3 mode.
According to the apparatus, as shown in FIG. 9, the transmission or reception side which received a DIS signal in the G3 mode transmits the DIS signal as image data of high speed data as shown in FIG. 6. In the boundary area between no data and image data, the format shown in FIG. 8 is used.
After that, procedure signals of the G3 mode are similarily transmitted and received. Further, the image data is also similarity transmitted and received in the format shown in FIG. 7.
FIGS. 13A and 13B are flowcharts showing the operations at the time of a mode setting of the second embodiment of the invention.
In the second embodiment, since construction of the communicating apparatus and its operation are similar to those of the first embodiment, their descriptions are omitted here.
First, all of the initializing operations of the apparatus are executed in the standby state in step S1300. When the initialization is finished in step S1300, the line interface unit 8 is set in the voice mode (mode 2) in FIG. 4 in step S1301.
Mode 2 is a mode for performing the ordinary interactive communicating operation by the telephone connected to the line interface unit 8. The operation is executed as an initialization setting of the line interface unit 8.
The off-hook or on-hook state of the telephone is detected in step S1302. When the telephone is off-hooked, the presence or absence of a document in the facsimile apparatus is checked in step S1303. When the document is set in the facsimile apparatus in step S1303, a request signal of the concurrent communication of the telephone and the facsimile apparatus is transmitted to the partner side in step S1304. When the response signal for the request signal of the concurrent communication is received in step S1305, it is judged that the partner side can also perform the concurrent communication. The line interface unit 8 is set to the FAX/voice concurrent communication mode (mode 1) in step S1306. The externally attached facsimile apparatus is connected to the FAX signal processing unit 6, the externally attached telephone is connected to the voice signal processing unit 7, and concurrent communication of the facsimile apparatus and the telephone is executed. Since the data format for concurrent communication and the communicating operation of the communicating apparatus are similar to those of the first embodiment, their descriptions are omitted here.
When the off-hook state of the telephone is not detected in step S1302 and the document is set in the facsimile apparatus in step S1314, the line interface unit 8 is set to the facsimile communication mode (mode 3) in step S1315. Mode 3 is a mode for performing the ordinary communication of facsimile apparatus and the line 9 is connected to the externally attached facsimile apparatus. Since the data format and the communicating operation for facsimile communication are similar to those in the first embodiment, their descriptions are omitted here.
When the request signal of the concurrent communication is received from the partner side in step S1316, the response signal for the concurrent communication request signal is returned in step S1317, and the processing routine advances to step S1306. When the request signal of the concurrent communication is not received in step S1316, the detection of the off-hook signal from the externally attached telephone is executed in step S1318. When the off-hook state is detected, step S1304 follows. When the off-hook state is not detected, the absence or presence of the document in the externally attached facsimile apparatus is checked in step S1319. When no document is left in the facsimile apparatus, the apparatus enters the standby state.
When a absence of the document in the facsimile apparatus is detected in step S1303, the line interface unit 8 is set in the voice mode (mode 2) in step S1309, the line 9 is connected to the externally attached telephone, and voice communication is executed. When the request signal of the concurrent communication of the facsimile apparatus and the telephone is received from the partner side in step S1310, the response signal for the request signal of the concurrent communication is returned in step S1311 and S1306 follows. When the request signal of the concurrent communication is not received in step S1310, the absence or presence of the document of the externally attached facsimile apparatus is checked in step S1312. When the presence of the document is detected, step S1304 follows. When no document is set in the facsimile apparatus in step S1312 and the on-hook of the externally attached telephone is detected in step S1313, the apparatus enters the standby state.
When there is no document in the facsimile apparatus in step S1307, the end of the facsimile communication is notified to the partner which executes the communication. When the response signal from the partner side is received, the mode is switched to the voice mode (mode 2).
When the on-hook state of the telephone is detected in step S1308, end of the interactive communication is conmunicated to the partner which executes the communication. When the response signal is received from the partner side, the mode is switched to the facsimile communication mode (mode 3). As a method for the notification of the facsimile communication end and the notification of the interactive communication end, the on-hook signals of the facsimile and the telephone can be sent to the partner side or the signals corresponding to the on-hook signals can be also preset and sent.
As mentioned above, according to the second embodiment, when the end of the communication of the telephone or facsimile apparatus is detected during the concurrent communication of the facsimile apparatus and voices, the mode is automatically switched to the voice mode or facsimile communication mode and the communication is executed.
When the signal of the communication start of the facsimile apparatus is detected during the communication in the voice mode, the mode is automatically switched to the FAX/voice concurrent communication mode and the concurrent communication is executed.
When the signal of the communication start of the telephone is detected during the communication in the facsimile communication mode, the mode is automatically switched to the FAX/voice concurrent communication mode and the concurrent communication is executed.
According to the embodiment, although the communicating apparatus to which the existing facsimile apparatus and telephone are connected and which can perform the concurrent communication of the facsimile apparatus and the voices has been described, the invention can be also applied to a communicating apparatus in which the facsimile apparatus and the telephone are assembled.
Although the concurrent communication of the telephone and the facsimile apparatus has been described in the first and second embodiments, according to the invention, various kinds of concurrent communications such as concurrent communication of a telephone and a computer communication, concurrent communication of the data communication and the voice communication, and concurrent communication between the data communications can be also performed. In this case, the concurrent communication can be performed by connecting a computer or other data communication terminals to the line interface unit 8 in place of the facsimile apparatus or the telephone.
Although the concurrent communication has been realized by the time-division multiplexing in the first and second embodiments, according to the invention, for instance, the concurrent communication can be also realized by another multiplexing method such as frequency multiplexing method or code multiplexing method.
Although the invention has been described above on the basis of the preferred embodiments, the present invention is not limited to the foregoing embodiments but many modifications and variations are possible within the spirit and scope of the appended claims of the invention.