Communication method and apparatus

Abstract: A communication apparatus capable of transmission and reception simultaneously through a plurality of communication channels of an ISDN basic interface has a communication mode which leaves at least one of the plurality of communication channels free. If this mode has been set, transmission or reception is allowed when this one communication channel among the plurality thereof is made free for the transmission or reception.

Description: SPECIFICATION BACKGROUND OF THE INVENTION 1. Field of the Invention: This invention relates to a communication apparatus used upon being connected to an ISDN, by way of example. The invention further relates to a communication method using this communication apparatus. 2. Description of the Prior Art: In general, a facsimile apparatus connected to an ISDN is capable of sending and receiving facsimile documents in G3 and G4 modes. An apparatus has also been proposed in which two 64 Kbit/s B channels are used to enable facsimile transmission and reception in the G3 and G4 modes simultaneously in order that a plurality of the B channels of an ISDN can be exploited effectively. When a facsimile apparatus of this kind is used, the plurality of communication channels of the ISDN are employed without distinguishing between facsimile transmission and facsimile reception. Consequently, in the example of the prior art described above, when a facsimile transmission is being carried out using one B channel, facsimile reception using one other B channel is possible, and therefore a situation can arise in which the two B channels are used for facsimile transmission and reception simultaneously. In such case, transmission/reception of another facsimile signal through this communication line becomes impossible, and a conversation by telephone through this ISDN also can no longer be carried out. US patent No. US-A-4,888,766 discloses a multi-terminal control system which includes a network, such as an ISDN. When an establishment of a communication path is sent to the network by a calling machine, it is determined whether or not one or more of the two information channels B1 and B2 is unused. If anyone of B1 and B2 is available, then the network allocates one of them to the calling machine. If both of the channels B1 and B2 are occupied, then the call at the information channels B1 and B2 are once disconnected, and then another call establishment message S1 is sent to the network by designating a signal channel D. Thus, this document only discloses how to establish a communication path by using an available channel and to change channel to another channel if there is no available channel. SUMMARY OF THE INVENTION An object of the present invention is to provide a communication method and apparatus in which, when one channel of an ISDN is being used owing to transmission (or reception), another channel of the ISDN can be left free for facsimile reception (or transmission). According a first aspect of the present invention, there is provided a communication apparatus capable of communication through a plurality of communication channels wherein plural independent communications can be performed concurrently over respective communication channels, each independent communication being performed in one of a plurality of different types of communication modes, and each communication channel being capable of performing communication in any of the types of communication modes, characterised by comprising : setting means for setting a special purpose mode to limit availability of use of the plurality of communication channels for performing communication in to one of the said types of communication modes ; input means for inputting a communication request including the type of communication mode ; and communication control means responsive to the communication request for discriminating whether or not the type of communication mode corresponding to the communication request is currently being performed through some of the plurality of communication channels for discriminating whether or not there is an available communication channel, and for performing a communication corresponding to the communication request in accordance with the type of communication mode which is currently being performed and with the availability of the communication channel ; wherein, in a case where the special purpose mode is set, even if a communication channel is available, said communication control means performs a communication corresponding to the communication request in accordance with the discrimination of whether or not the type of the communication mode is currently being performed, and in a case where the special purpose mode is not set, said communication control means performs the communication corresponding to the communication request, as soon as a communication channel is available for said communication. According to another aspect of the present invention, there is provided a communication method for communicating through a plurality of communication channels, wherein plural independent communications can be performed concurrently over respective communication channels, each independent communication being performed in one of a plurality of different types of communication modes, and each communication channel being capable of performing communication in any of the types of communication modes, characterised by the steps of : setting a special purpose mode to limit availability of use of the plurality of communication channels for performing a communication to one of the said of types of communication modes ; inputting a communication request including the type of communication mode ; discriminating whether or not the type of communication mode corresponding to the communication request is currently being performed through one of the communication channels discriminating whether or not there is an available communication channel performing a communication corresponding to the communication request in accordance with the type of communication mode which is currently being performed and with the availability of the communication channel, wherein, in a case where the special purpose mode is set, even if a communication channel is available, performing a communication responding to the communication request in accordance with the discrimination of whether or not the type of the communication mode is currently being performed, and in a case where the special purpose mode is not set, performing the communication corresponding to the communication request, as soon as a communication channel is available for said communication. Another object of the present invention is to provide a communication method and apparatus so adapted that when one communication channel is being used for facsimile communication, another communication channel is left free so that it can be used for telephonic communication. According to the present invention, the foregoing object is attained by providing a communication apparatus capable of performing transmission and reception simultaneously through a plurality of communication channels of an ISDN basic interface, comprising means for setting a communication mode, and transmission-enable means which, when at least one communication channel among the plurality of communication channels is placed in an idle state for transmission in accordance with the communication mode, allows this transmission to take place. According to another aspect of the present invention, the foregoing object is attained by providing a communication apparatus capable of performing transmission and reception simultaneously through a plurality of communication channels of an ISDN basic interface, comprising means for setting a communication mode, and reception-enable means which, when at least one communication channel among the plurality of communication channels is placed in an idle state for an incoming call in accordance with the communication mode, allows reception in response to this incoming call to take place. Other features and advantages of the present invention will be apparent from the following description taken in conjunction with the accompanying drawings, in which like reference characters designate the same or similar parts throughout the figures thereof. BRIEF DESCRIPTION OF THE DRAWINGS Figs. 1A and 1B are diagrams illustrating examples of terminal connections by a basic interface in an ISDN to which the present invention is capable of being applied; Fig. 2 is a block diagram illustrating the construction of a facsimile apparatus connected to an ISDN according to an embodiment of the present invention; Fig. 3 is a diagram for describing a basic terminal connection sequence in an ISDN; Fig. 4 is a flowchart for describing a communication-mode selection procedure executed by a CPU in the present embodiment; Fig. 5 is a flowchart for describing a transmission procedure executed by the CPU in the present embodiment; and Fig. 6 is a flowchart for describing a reception procedure executed by the CPU in the present embodiment. DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will now be described with reference to the accompanying drawings. Figs. 1A and 1B are diagrams illustrating examples of terminal connections by a basic interface in an ISDN to which the present invention is capable of being applied. In Figs. 1A and 1B, numerals 301, 302 denote buses connected to an ISDN. A telephone 201 and a facsimile terminal 202 are connected to the bus 301 in Fig. 1A, and facsimile terminals 203, 204, each of which is equipped with a telephone, and a telephone 205 are connected to the bus 302 in Fig. 1B. The basic interface has two 64 Kbit/s information channels (B channels) and one 16 Kbit/s signal channel (D channel). By virtue of bus-type 1:n (n≤8) wiring, a plurality of terminal devices can be connected on one set of wires and are capable of communicating with the ISDN simultaneously. In Fig. 1A, the telephone 201 and facsimile terminal 202 connected to the bus 301 serve as ISDN terminals. In Fig. 1B, the facsimile terminals 203, 204 and telephone 205 connected to the bus 302 likewise serve as ISDN terminals. In accordance with 1:n wiring (bus wiring), ISDN terminals can be connected up to a maximum of eight points with regard to a user having one subscriber line. The switching control method according to the present invention is applicable both in a case where the telephone 201 and facsimile terminal 202 possesses separate interfaces on the bus 301, as shown in Fig. 1A, and a case where facsimile terminals possess one interface on the bus 302, as illustrated by the facsimile terminals 203, 204 equipped with their own telephones in Fig. 1B. Fig. 2 is a block diagram illustrating the construction of a facsimile terminal connected to an ISDN according to an embodiment of the present invention. This terminal is a facsimile terminal having a telephone function. In Fig. 2 showing the hardware configuration of the terminal, numeral 1 denotes a central controller comprising a CPU 101, a ROM 102 storing various data as well as control program executed by the CPU 101, and a RAM 103. The central controller 1 controls the overall facsimile terminal based upon the programs stored in the ROM 102. The ROM 102 stores programs in accordance with the flowcharts shown in Figs. 4, 5 and 6, described later. The RAM 103 is used as a working area during operation of the CPU 101 and temporarily preserves various data. A variety of controllers are connected to the CPU 101 via a system bus 104. A reader controller 21 controls a reader 2 which reads data for transmission, namely a document to be transmitted. A printer controller 31 controls a printer 3, which performs printing based upon image data inputted at the time of facsimile reception, etc. An image-memory controller 41 controls the reading and writing of image data stored in an image memory 4. At the time of a facsimile transmission, the reader 2 reads the document to be transmitted and outputs original-image data, in the form of a digital signal, to the system bus 104 via the reader controller 21. Under the control of the image-memory controller 41, the original-image data is stored temporarily in the image memory 4. At transmission, the image data stored in the image memory 4 is encoded by the image-memory controller 41, and the encoded data is sent to the ISDN via a communication controller 51. At the time of transmission, the image-memory controller 41 encodes the image data from the image memory 4 and outputs the encoded data to the system bus 104; at the time of reception, the image-memory controller 41 decodes the image data received and stored in the image memory 4, and transfers the decoded data to the printer 3 via the system bus 104 and printer controller 31. The printer 3 has a printing mechanism for reproducing the original image from the sending side on recording paper by using the decoded image data, namely the image data which enters in page units, by way of example. The printing mechanism can be of any appropriate type, such as one using a thermal recording system, a laser-beam system or the like. Facsimile transmission/reception of the kind described above is carried out via the communication controller 51. The latter is a unit which controls communication inclusive of facsimile communication and conversion by telephone, described below. The facsimile terminal of this embodiment has, in addition to the image reading and printing mechanisms described above, an operation panel 6 for operating the terminal, an operation-panel controller 61, a telephone 7 for conversion, and a telephone controller 71. The operation panel 6 is provided with various switches manipulated by the operator. These switches include switches generally required on the control panel of an ordinary facsimile apparatus, such as a communication start switch, a transmission stop key, etc. Since the facsimile terminal possesses a telephone function, a ten-key pad, namely a dial-key pad, is used for entering the telephone numbers of other parties. These keys can be provided on the operation panel 6. The latter is further provided with various switches for designating a called terminal number, for designating a communication mode inclusive of a subaddress, and for designating a priority transmission. Fig. 3 is a diagram for describing a basic terminal connection sequence in an ISDN. The procedure illustrated in Fig. 3 is composed of the following steps (1) through (12): 1 ○ When an originating terminals starts making a call setting, the originating terminal transmits a call-setting message. The call-setting message contains a calling/called terminal number (inclusive of a subaddress), transfer capability and conformability verification information, etc. 2 ○ If a B channel is capable of being used, the ISDN sends a call-setting reception message to the calling terminal. 3 ○ Meanwhile, the call-setting message arrives at a plurality of terminals connected to the bus on the receiving party's side. As mentioned above, the call-setting message contains a calling/called terminal number (inclusive of a subaddress), the transfer capability and the conformability verification information. Based on this message, each terminal is capable of determining whether a response should be made or not. A terminal transmits an acknowledging answer message only if it is judged that communication is possible. 4 ○ Depending upon the called terminal, there are cases where the call-setting message cannot be answered immediately. In order to inform of this, the terminal sends a message (call) to the ISDN. When the call message is received, the ISDN sends this call message to the originating terminal in order to inform it of the fact that the called terminal is being called. 5 ○ The answer message indicates that a call is capable of being accepted and requests that a communication path for this purpose be set. At this time the ISDN sends this message to the originating terminal in order to inform it of the fact that the called terminal has answered and that a communication path has been set. 6 ○ In response to the answer message from the called terminal, the ISDN sends back an answer verification message. 7 ○ Thus, the originating terminal and the called terminal enter a data-transfer phase and carry out communication. 8 ○ If the connection is broken during this communication, the terminal requesting the disconnection sends a disconnect-request message to the ISDN. In the case of Fig. 3, the terminal on the originating side is shown to be the terminal issuing the disconnect request. 9 ○ and If the disconnect request has been issued, first the ISDN and the terminal accept the disconnect request and then transmit a release message to inform of the fact that the B-channel call number has been disconnected. and The terminal which has issued the disconnect request and the ISDN answer the release message by a disconnect-complete message. Thus, the original state is restored, namely the state which prevailed prior to the call setting. Operation from call setting to completion of disconnection is executed in accordance with the foregoing procedure. The operation of the facsimile terminal according to this embodiment will now be described. Fig. 4 is a flowchart for describing a communication-mode selection procedure executed by the CPU 101 in the present embodiment. The control program for executing this processing has been stored in ROM 102. First, when a communication mode is selected by the operator using the operation panel 6 at step S41, the type of communication mode selected is discriminated at step S42. In a case where a special-purpose mode is selected that allows only one communication channel of the ISDN to be used for facsimile transmission or reception, a special-purpose mode flag (EF) is set to "1" at step S43. In all other cases, a normal-mode flag (EF) is set to "0" at step S44. The normal mode allows communication channels to be used in an ordinary manner. Whether or not the special-purpose mode is selected is designated by the operator using a switch provided on the operation panel. The communication mode is thus selected. Fig. 5 is a flowchart for describing the transmission procedure executed by the CPU 101 of this embodiment. After the communication mode has been selected in accordance with the flowchart shown in Fig. 4, the operator designates a transmission operation (ordinary transmission or priority transmission) at step S51 in Fig. 5 using the operation panel 6. When this is done, the program proceeds to step S52, at which it is determined whether the special-purpose mode has been selected. If the flag EF is not "1", namely if the normal mode is in effect, the program proceeds to step S53, at which it is determined whether there is a free (idle) communication channel. If there is such a channel, transmission is performed at step S54 in accordance with the communication procedure. If the normal mode (EF = "0") is in effect but there is no idle channel, then the program proceeds from step S53 to step S57 where a registration is made in a transmission queue. If the flag EF is found to be "1" at step S52, meaning that the special-purpose mode is in effect, then the program proceeds to step S55, at which it is determined whether the priority-transmission operation has been performed. If the special-purpose mode is in effect and the priority-transmission operation has been designated, the program proceeds to step S53 so that processing from step S53 onward is executed just as in the case of the normal mode. On the other hand, if the special-purpose mode is in effect and the priority-transmission operation has not been performed, the program proceeds to step S56, at which processing for the original special-purpose mode is executed. That is, if it is determined at step S56 that a transmission is currently underway using one communication channel, the program proceeds to step S57. Here, in order to leave the other communication channel for reception, the transmission is not allowed and a registration is made in the transmission queue. If all channels are found to be free at step S56, the program proceeds to step S54, at which transmission is carried out via the one communication channel (i.e., transmission is allowed). Thus, in transmission processing, transmission is controlled in such a manner that one communication channel will always be idle. Fig. 6 is a flowchart for describing the reception procedure executed by the CPU 101 of this embodiment. First, at step S61, an incoming call is accepted from the D channel of the ISDN. Next, the program proceeds to step S62. If the special-purpose mode is not in effect; or if the special-purpose mode is in effect (flag EF = "1") and the subaddress portion of the called terminal indicates a reception-priority subaddress while the call-setting message is being transmitted (steps S63 → S65); or if the special-purpose mode is in effect and reception is not in progress despite the fact that the subaddress portion of the called terminal does not indicate a reception-priority subaddress (steps S64 → S65); the program proceeds to step S65, where the incoming call is answered and reception is carried out in accordance with the communication procedure. On the other hand, if the special-purpose mode is in effect and reception is already in progress (inclusive of the case where the subaddress portion of the called terminal does not indicate a reception-priority subaddress) using one communication channel, the program proceeds to step S66 through steps S62, S63 and S64. At step S66, reception is not allowed, the incoming call is refused and processing is terminated. Thus, in accordance with the present embodiment, as described above, there is provided a facsimile terminal capable of communicating simultaneously with a plurality of parties through a plurality of communication channels using one communication line. In this facsimile terminal, one channel of the communication channels is left free for reception (or transmission) during facsimile transmission (or reception), thereby making facsimile reception (or transmission) possible at all times. This makes the facsimile terminal easier and more convenient to use. Further, by adopting the foregoing arrangement, one communication channel is left free for communication by telephone during facsimile transmission/reception, thereby making communication by telephone possible at all times, even during facsimile transmission/reception. This makes the facsimile terminal easier and more convenient to use. Further, though the foregoing embodiment deals with a facsimile apparatus, the invention is not limited to this embodiment. The invention covers all communication apparatus capable of transmission/reception simultaneously through a plurality of communication channels. Moreover, though the foregoing embodiment deals with a facsimile apparatus connected to an ISDN, this does not impose a limitation upon the invention. The present invention is applicable to all communication apparatus capable of transmission/reception upon being connected to a communication line accommodating a plurality of communication channels. The present invention can be applied to a system composed of a plurality of devices or to an apparatus comprising a single device. In addition, it goes without saying that the present invention is applicable to a case where the invention can be achieved by supplying a system or apparatus with a program for implementing the invention.

Claims: A Communication apparatus (203) capable of communication through a plurality of communication channels (301, 302), wherein plural independent communications can be performed concurrently over respective communication channels, each independent communication being performed in one of a plurality of different types of communication modes, and each communication channel being capable of performing communication in any of the types of communication modes, characterised by comprising : setting means (1, 101, 102, 6, 61, S41-S43, S52, S62) for setting a special purpose mode to limit availability of use of the plurality of communication channels for performing communication in one of the said types of communication modes ; input means (51, 6, 61, S41, S61) for inputting a communication request including the type of communication mode ; and communication control means (1, 101, 102, 51) responsive to the communication request for discriminating whether or not the type of communication mode corresponding to the communication request is currently being performed through some of the plurality ofcommunication channels (S56, S64) for discriminating whether or not there is an available communication channel (S53, S61), and for performing a communication corresponding to the communication request in accordance with the type of communication mode which is currently being performed and with the availability of a communication channel ; wherein, in a case where the special purpose mode is set, even if a communication channel is available, said communication control means performs a communication (S55, S53, S56) corresponding to the communication request in accordance with the discrimination of whether or not the type of the communication mode is currently being performed, and in a case where the special purpose mode is not set, said communication control means performs the communication (S53, S54, S57) corresponding to the communication request, as soon as a communication channel is available for said communication. The apparatus according to claim 1, characterized by further comprising priority-mode setting means (6, 61, S51) for setting a communication mode in which a priority is given to a transmission, wherein, in a case where the priority is given to the transmission by said priority-mode setting means, said communication control means (1, 101, 102, 51) performs the transmission (S54) corresponding to the communication request as soon as a communication channel (301, 302) is available (301, 302). The apparatus according to either one of claims 1 or 2, characterized in that said communication control means (1, 101, 102, 51) transmits a facsimile signal (S54) through one of the plurality of the communication channels (301, 302), and another of the plurality of communication channels is used in reception of a facsimile signal (S65). The apparatus according to either one of claims 1 or 2, characterized in that said communication control means (51) transmits or receives a facsimile signal (S54) through one of the plurality of the communication channels (301, 302), and another communication channel is used in communication by telephone. The apparatus according to any one of claims 1 to 4, characterized in that said communication channels (301, 302) are B channels of an ISDN. The apparatus according to any one of claims 1 to 5, characterized in that the type of communication mode includes a facsimile transmission mode. The apparatus according to any one of claims 1 to 5, characterized in that the type of communication mode includes a facsimile reception mode. The apparatus according to any one of claims 1 to 7, characterized in that the plurality of communication channels (301, 302) include two data channels, and said communication control means (1, 101, 102, 51) performs the communication in a type of communication mode when both of the two data channels are not used in said type of communication mode (S56, S57). The apparatus according to any one of claims 1 to 8, characterized in that, in a case where the special purpose mode is set and the type of communication mode corresponding to the communication request is currently being performed through some of the plurality of communication channels (301, 302), said communication control means (1, 101, 102, 51) delays the setting of the communication corresponding to the communication request (S57, S66), even if a communication channel is available. The apparatus according to any of claims 1 to 9, characterized in that, in a case where : the special purpose mode is set and a transmission request is input by said input means (51), said communication control means (1, 101, 102, 51) discriminates (S56) whether or not a transmission other than transmission corresponding to the transmission request is being performed through some of the plurality of communication channels (301, 302), and performs the transmission corresponding to the transmission request when : no transmission other than transmission corresponding to the transmission request is being performed, and a communication channel is available (S54). The apparatus according to any of claims 1 to 10, characterized in that, in a case where : the special purpose mode is set and a communication request, corresponding to a reception request, is input by said input means (51), said communication control means (1, 101, 102, 51) discriminates (S64) whether or not a reception other than reception corresponding to the communication request is being performed through some of the plurality of communication channels (301, 302), and performs the reception corresponding to the reception request when no reception other than reception corresponding to the communication request is being performed (S65). The apparatus according to any of claims 1 to 11, characterized in that said communication control means (1, 101, 102, 51) includes connecting means (51) for connecting the plurality of communication channels (301, 302). The apparatus according to any of claims 1 to 12, characterized in that said communication control means (1, 101, 102, 51) communicates in a priority mode independently of a setting of the special purpose mode by said setting means (1, 101, 102, 6, 61). The apparatus according to any of claims 1 to 13, characterized in that said communication control means (51) discriminates (S53, S56, S64) the state of one of said communication channels (301, 302). A communication method for communicating through a plurality of communication channels (301, 302), wherein plural independent communications can be performed concurrently over respective communication channels, each independent communication being performed in one of a plurality of different types of communication modes, and each communication channel being capable of performing communication in any of the types of communication modes, characterised by the steps of : setting a special purpose mode (S52, S62) to limit availability of use of the plurality of communication channels for performing a communication in one of the said of types of communication modes ; inputting a communication request (S41, S51, S61) including the type of communication mode ; discriminating whether or not the type of communication mode corresponding to the communication request is currently being performed through one of the communication channels (S56, S64) ; discriminating whether or not there is an available communication channel (S53) ; performing a communication corresponding to the communication request in accordance with the type of communication mode which is currently being performed and with the availability of the communication channel, wherein, in a case where the special purpose mode is set, even if a communication channel is available, performing (S54, S65) a communication responding to the communication request in accordance with the discrimination (S56, S64) of whether or not the type of the communication mode is currently being performed, and in a case where the special purpose mode is not set, performing the communication (S53, S54, S65) corresponding to the communication request, as soon as a communication channel is available for said communication. The method according to claim 15, wherein in a case where a priority is given to a transmission (S51), performing the transmission (S53, S54, S65) corresponding to the communication request by using the available communication channel (301, 302), whenever the setting the special purpose mode (S52, S62). The method according to either one of claims 15 or 16, characterized in that the type of communication mode includes a facsimile transmission mode. The method according to either one of claims 15 or 16, characterized in that the type of communication mode includes a facsimile reception mode. The method according to any one of claims 15 to 18, characterized in that the plurality of communication channels (301, 302) include two data channels, and when none of the two data channels is used in the type of communication mode corresponding to the communication request, the communication in the type of communication mode corresponding to the communication request is performed. The method according to any one of claims 15 to 19, characterized in that the plurality of communication channels (301, 302) are B channels of an ISDN.

Inventors: ABE SHINTARO, ABE, SHINTARO
Applicants: CANON KK, CANON KABUSHIKI KAISHA
Application year: 1991
Main classification: H04Q11
IPC codes: H04Q11, H04N1