Abstract:
A communicating apparatus having a plurality of ports to connect a plurality of communication lines comprises a memory to store information indicating whether the plurality of communication lines are extensions of a private branch network or not, a designating circuit to designate whether the communication is to be executed through said extensions or not, and a selector to select one of the plurality of ports in accordance with the result of the designation of the designating circuit and the contents of the memory. The memory stores information indicating whether the communication lines are ISDN lines or PSTN lines. The selector includes a call generating circuit for generating a call in the G4 facsimile mode when the selected communication line is an ISDN line and for generating a call in the G3 facsimile mode when it is decided that the partner is not a G4 facsimile apparatus after completion of the call generation.

Description:
This application is a continuation of application Ser. No. 08/159,128 Nov. 30, 1993 now abandoned. 
    
    
     BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The present invention relates to a communication apparatus which can connect a plurality of communication lines. 
     2. Related Background Art 
     Hitherto, a multi-port facsimile apparatus having a plurality of communication ports has been used. Generally, in such a multi-port facsimile apparatus, some of the plurality of communication ports are connected to a public network such as an ISDN network (Integrated Service Digital Network), PSTN network (Public Switched Telephone Network), or the like and the other communication ports are connected to extensions of a private network In this case, a respective denomination such as &#34;port 1&#34;, &#34;port 2&#34;, or the like is added to each communication port. When the operator performs a call generating operation, a desired communication port is designated by a selecting key in accordance with the transmission destination. 
     In many cases, however, the operator of the facsimile apparatus isn&#39;t aware which communication should be used and is merely aware whether the facsimile apparatus on the transmission destination side is connected to an extension or an external line. Therefore, the above conventional method of designating the communication port has a problem in that the operator who has no knowledge about the facsimile communication cannot easily understand the operation, and the operation is consequently troublesome. 
     SUMMARY OF THE INVENTION 
     It is an object of the invention to improve operating efficiency of a communicating apparatus having a plurality of communication ports. 
     Another object of the invention is to improve an operating efficiency of communicating apparatus connected to extensions of a private network and other lines. 
     According to one aspect of the invention is provided a communicating apparatus comprising: a memory to store information regarding whether one of a plurality of communication lines is an extension of a private network or not; and an operation unit to designate whether the communication is to be performed through the extension or not, wherein, when the execution of the communication is designated by the operation unit through the extension or another line, a communication port is selected in accordance with the memory contents. 
     Still another aspect of the invention is to provide a communicating apparatus comprising a memory to store information indicating whether one of plurality of communication lines is an extension of a private network or not or whether they are digital lines or analog lines; and an operation unit to designate whether the communication is to be executed through the extension or not, wherein, in the case where the digital line and the analog line are included in the extension designated by the operation unit or in another line, a communication port to which the digital line is connected is selected. This aspect also includes a method of selecting the communication port for such a communicating apparatus. 
     Still another aspect of the invention is to provide a communicating apparatus comprising: a memory to store information indicating whether one of a plurality of communication lines is an extensions of a private network or not; and a display for displaying the line classification in the case where the extensions and the other lines are included in the plurality of communication lines. 
     The above and other objects and features of the present invention will become more fully apparent from the following detailed description of the preferred embodiments and the appended claims with reference to the accompanying drawings. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a block diagram showing a schematic construction of a facsimile apparatus according to an embodiment of the invention; 
     FIG. 2 is a front view showing a construction of an operation unit; 
     FIG. 3 is a diagram showing set registration items for a line registration table; 
     FIG. 4 is a diagram showing an example of line connection in a facsimile apparatus of the 2-port type; 
     FIG. 5 is a diagram showing the contents of set registration in the line registration table corresponding to the line connection example of FIG. 4; 
     FIG. 6 is a diagram showing transmitting process in the facsimile apparatus of the 2-port type; 
     FIG. 7 is a diagram showing a line connection example in a facsimile apparatus of the 4-port type; 
     FIG. 8 is a diagram showing the contents of set registration in a line registration table corresponding to the line connection example of FIG. 7; 
     FIG. 9 is a diagram showing the transmitting process in the facsimile apparatus of the 4-port type; and 
     FIG. 10 is a flowchart showing the operation of the embodiment upon transmission. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     Embodiments of the invention will now be described hereinbelow with reference to FIGS. 1 to 10. 
     FIG. 1 is a block diagram showing a schematic construction of a facsimile apparatus according to an embodiment of the invention. A scanner 1 to read an image of an original is connected to a multi-port memory 3 through a compression unit 2 for encoding and compressing the read image data into compressed data by a method based on the MH, MR, MMR, or the like method. The multi-port memory 3 is connected to an expansion unit 4 for expanding the encoded and compressed image data and reconstructing the original image data. A printer 5 to print the original image is connected to the expansion unit 4. 
     On the other hand, a central control unit 6 to control the whole apparatus is connected to the multi-port memory 3 through a bus B. An operation unit 7 to operate the apparatus, a ROM 8 in which a control program for the apparatus has been stored, and a RAM 9 in which control information and a line registration table T have been stored, are connected to the bus B. 
     A communication control unit 10 to interface a G3 communication control and a communication control and the line under control of the central control unit 6 is connected to the multi-port memory 3. The communication control unit 10 is provided with a communication port 11 having an ISDN i/f (interface) and a communication port 12 having a PSTN i/f. Further, a communication control unit 13 with the same construction as that of the communication control unit 10 can optionally be connected to the multi-port memory 3. 
     As shown in FIG. 2, a liquid crystal display surface 70 to display a state of the facsimile communication is provided for the operation unit 7. Various kinds of control buttons including a call selection button 71 is arranged in the lower portion of the liquid crystal display surface 70. Various kinds of operation buttons are arranged in the side portion of the liquid crystal display surface 70. The above various kinds of control buttons are constructed by a liquid crystal touch panel. Each time the call selection button 71 is touched, the display content of &#34;EXTENSION&#34; or &#34;EXTERNAL LINE&#34; is cyclically switched on the basis of the control of the central control unit 6. 
     In addition to the above buttons, a ten-key to perform the dial inputting operation and a one-touch key are also included in the operation unit 7. 
     By touching the various control buttons and the operation of the various operation buttons in the operation unit 7, the central control unit 6 controls the facsimile communicating operations of the communication control units 10 and 13 through the multi-port memory 3. The transmission image data from the compression unit 2 is transferred to the communication control units 10 and 13 through the multi-port memory 3. The reception image from the line is received through the communication control units 10 and 13 and is temporarily stored into the multi-port memory 3. After that, the reception image is transferred to the expansion unit 4 and is recorded by the printer 5. 
     FIG. 3 is a diagram showing set registration items to be set and registered into the line registration table T in the RAM 9 when the facsimile apparatus is installed. The set registration items relate mainly either to board classification or to port classification. The board classification is provided to distinguish the boards on which the communication control units 10 and 13 are mounted. Specifically speaking, any one of the items (1) &#34;NONE&#34; (no board is installed yet), (2) ISDNi/fxl, PSTNi/fxl, and (3) Xi/fxl, PSTNi/fxl is set and registered. &#34;ISDNi/f&#34; shows that the apparatus has an i/f (interface) such as ISDN network as a public network, high speed digital i/f, exclusive-use line, or the like. &#34;Xi/f&#34; shows that the apparatus has an interface based on the X21 or X21bis provision of the X series recommendation of the CCITT. 
     The set registration items of the port classification is classified into three classifications such as extension/external line classification, usage classification, and line classification. As set registration items of the extension/external line classification, there are (1) &#34;NO CONNECTION&#34;, (2) &#34;EXTERNAL LINE&#34;, (3) &#34;EXTENSION&#34; and (4) &#34;EXCLUSIVE USE LINE&#34;. As set registration items of the usage classification, there are (1) &#34;ORDINARY&#34;, (2) &#34;RECEPTION ONLY&#34;, and (3) &#34;TRANSMISSION ONLY&#34;. A communication port which has been set for reception only doesn&#39;t execute the transmitting operation. Further, as set registration items of the line classification, there are (1) ISDN, (2) PSTN, (3) Xi/f, (4) PBX (analog PBX: private Branch Exchange), and (5) Ii/f EXCLUSIVE-USE LINE. 
     Explanation will now be made with respect to how to set and register the board classification and port classification on the basis of the actual line connection example and how to execute the facsimile communicating process by the apparatus in such a set registration state. 
     The case of the 2-port type will be first described. For example, as shown in FIG. 4, it is now assumed that an I 1  port is connected to the,ISDN network of the external line and that a P 1  port is connected to the analog PBX of the extension. In the above connection example, the item contents as shown in FIG. 5 are set and registered into the line registration table T. Namely, with respect to the board on which the communication control unit 10 is installed, (1) &#34;ISDNi/fxl, PSTNi/fxl&#34; is set and registered as a board classification. With respect to the board on which the communication control unit 13 is mounted, (2) &#34;NONE&#34; is set and registered. With regard to the port classification, &#34;EXTERNAL LINE&#34; is set and registered as an extension/external line classification with respect to the I 1  port, while &#34;EXTENSION&#34; is set and registered with respect to the P 1  port. As a usage classification, &#34;ORDINARY&#34; is set and registered with respect to both of the I 1  port and the P 1  port. As a line classification, &#34;ISDN&#34; is set and registered with respect to the I 1  port, while &#34;PBX&#34; is set and registered with respect to the P 1  port. 
     In a state in which the classifications have been set and registered as mentioned above, when the operator selects either one of the extension and the external line by the touching operation of the call selection button 71 in FIG. 2 and dials the partner&#39;s facsimile number by the operation unit 7, the central control unit 6 refers to the registration contents in the line registration table T and automatically selects the communication port and the G3 or G4 communication mode as shown in FIG. 6. FIG. 6 shows the selecting processes of the communication port and the G3 or G4 communication mode corresponding to all of the line connection formats in case of the 2-port type. A portion surrounded by double lines corresponds to the connection format of FIG. 4. 
     That is, in the connection format of FIG. 4, when the operator selects the external line, the central control unit 6 performs a call generation in the G4 mode  I 1  (G4)! through the I 1  port. As a result of the communication in the G4 mode  I 1  (G4)!, when it is determined that the partner side is the G3 facsimile by a response from the ISDN, the central control unit 6 falls back to the G3 mode and again generates a call  →I 1  (G3)! through the I 1  port. When the operator selects the extension, the central control unit 6 generates a call in the G3 mode  P 1  (G3)! through the P 1  port. 
     As shown in FIG. 6, in the case where the connection format is set to &#34;I 1  EXTERNAL, P 1  EXTERNAL&#34; and both of the ports are connected to the external line, or in the case where the connection format is set to &#34;I 1  EXTENSION, P 1  EXTENSION&#34; and both of the ports are connected to the extension, the central control unit 6 displays none of the external line and the extension for the call selection button 71 on the touch panel, and a call is automatically generated to the external line or extension even when the call selection button 71 is not touched. In the case where, on the other hand, the exclusive-use line is connected such that the connection format is set to, for example, &#34;I 1  EXCLUSIVE, P 1  EXTERNAL&#34;, the facsimile number of the partner apparatus connected to the exclusive-use line is preliminarily registered, thereby simplifying the operation upon transmission by connecting the line by the one-touch dial. 
     The central control unit 6 automatically selects the above port and mode on the basis of the following rules. 
     (a) The operator executes only the selection between the extension/external line and the exclusive-use line without executing the selection designation of the port and mode. The exclusive-use line is selected by inputting the number to designate the exclusive-use line. In case of the one-touch dial, when the number to designate the exclusive-use line is registered, the central control unit 6 selects the exclusive-use line. 
     (b) In the case where the ISDNi/f is included in the extension/external line port which was selected and designated, the port having the ISDNi/f is preferentially selected and first executes the communication in the G4 mode. 
     (c) As a result of the communication in the G4 mode, when it is decided that the partner apparatus is the G3 facsimile apparatus, the apparatus falls back to the G3 mode by the ISDNi/f port and again performs the communication. In this case, the reason why the PSTNi/f port is not used is because an amount 3 of loss in the subscriber&#39;s line is larger than that in case of the ISDNi/f and the line quality deteriorates. 
     (d) The call generation from the communication port which was registered as a reception only port is inhibited. 
     The program describing the transmitting process as shown in FIG. 6 which is based on such rules has been previously stored in the ROM 8. The item contents according to the line connection format as shown in FIG. 5 are set and registered into the line registration table T when the apparatus is installed. Due to this, the central control unit 6 executes the facsimile communication based on the above rules with reference to the line registration table T. 
     The case of the 4-port type will now be described with reference to FIGS. 7 to 9. For example, as shown in FIG. 7, in the facsimile apparatus having four ports of I 1 , P 1 , I 2 , and P 2 , it is now assumed that the I 1  port is connected to the ISDN network of the external line, the P 1  port is connected to the analog PBX of the extension, the I 2  port is connected to the Ii/f high speed digital exclusive-use line of the external line which uses the I 2  port only for reception, and the P 2  port is connected to the PSTN network of the external line. 
     In the connection format, item contents as shown in FIG. 8 are set and registered into the line registration table T. That is, as a board classification, with respect to the board on which the communication control unit 10 is mounted, (1) &#34;ISDNi/fxl, PSTNi/fxl&#34; is set and registered. With respect to the board on which the communication control unit 13 is mounted, (2) &#34;ISDNi/fxl, PSTNi/fxl&#34; is set and registered. On the other hand, as for the port classification as an extension/external line classification, &#34;EXTERNAL&#34; is set and registered with respect to the I 1  port, &#34;EXTENSION&#34; is set and registered with regard to the P 1  port, &#34;EXCLUSIVE&#34; is set and registered with respect to the I 2  port, and &#34;EXTERNAL&#34; is set and registered with regard to the P 2  port. As a usage classification, &#34;ORDINARY&#34; is set and registered with respect to all of the I 1 , P 1 , and I 2  ports, while &#34;RECEPTION ONLY&#34; is set and registered with regard to the P 2  port. As a line classification, &#34;ISDN&#34; is set and registered with respect to the I 1  port, &#34;analog PBX&#34; is set and registered with regard to the P 1  port, &#34;Ii/f high speed digital exclusive-use line&#34; is set and registered with regard to the I 2  port, and &#34;PSTN&#34; is set and registered with respect to the P 2  port, respectively. 
     The transmitting process (selection of the communication port and communication mode) in the facsimile apparatus of the 4-port type is executed as shown in FIG. 9. The communicating process in FIG. 9 corresponds to all of the line connection formats in case of the 4-port type. The portion surrounded by double lines corresponds to the connection format in FIG. 7. 
     That is, in the state in which the apparatus is installed in the line connection format of FIG. 7 and the contents as shown in FIG. 8 have been set and registered in the line registration table T, when the operator selects the external line by the touching operation of the call selection button 71 in FIG. 2, the central control unit 6 generates a call in the G4 mode  I 1  (G4)! through the I 1  port as shown by double lines in FIG. 9. As a result of the communication in the G4 mode  I 1  (G4)!, when it is determined that the partner side apparatus is the G3 facsimile apparatus due to a response from the ISDN, the apparatus falls back to the G3 mode and again generates a call through the I 1  port  →I 1  (G3)!. On the other hand, when the operator selects the extension, the central control unit 6 generates a call through the P 1  port in the G3 mode  P 1  (G3)!. 
     As mentioned above, the rules to automatically select the communication port and the communication mode in case of the 4-port type are the same as those in case of the 2-port type and are generally the same as those in case of the N-port type. However, in the case where a plurality of ports connected to the external line exist as shown in the column of remarks and it is determined that the partner side is the G3 facsimile apparatus as a result of the first communication in the G4 mode, so long as the port which generated the first call in the G4 mode at the time point of the regeneration of the call is in use state, the apparatus again generates a call in the G3 mode through another port connected to the external line. 
     The transmitting operation in the embodiment will now be described with reference to FIG. 10. 
     When the call selection button 71 is depressed (step S1), the central control unit 6 switches the display to the external line so long as the extension is displayed in the call selection button 71 and also switches the display to the extension so long as the external line is displayed in the call selection button 71 (S2). 
     When a transmission destination side is designated by the ten-key of the operation unit 7 and the start key is depressed or the one-touch key is depressed (S3), the central control unit 6 judges whether the number to designate the exclusive-use line is included in the number of the transmission destination side or not. When the number to designate the exclusive-use line is included, the communication port to which the exclusive-use line is connected is selected with reference to the line registration table T. When the number to designate the exclusive-use line is not included, the central control unit 6 selects the communication port connected to the extension or external line in accordance with the state of the call selection button 71 (S4) and generates a call in the G4 facsimile mode to the transmission destination side designated in step S3 (S5). 
     In step S4, the central control unit selects the ISDN line to perform the communication of a high quality in the case where it is determined on the basis of the line registration table T that the ISDN line and PSTN line exist in the extension or external line corresponding to the designation of the call selection button 71. 
     When the apparatus can communicate with the transmission destination side (S6), the communication is executed. 
     When the apparatus cannot communicate with the transmission destination side in step S6, the communication port is again selected (S8) and the call is again generated (S5). 
     In the case where the ISDN line is selected in step S4 and the call is generated in the G4 facsimile mode in step S5, when it is determined that the transmission destination side is the G3 facsimile apparatus from the ISDN in step S6, the central control unit 6 again selects the ISDN line in step S8 and generates a call in the G3 facsimile mode in step S5. When the ISDN line is in use when the call is again generated, the central control unit 6 selects the PSTN line in step S8 and generates a call in the G3 facsimile mode in step S5. 
     Although the present invention has been described above on the basis of the preferred embodiments, the invention is not limited to the constructions of the above embodiments but many variations and modifications such as a key telephone system and the like are possible within the scope of the claims of the invention.