1. Field of the invention
The present invention relates to a facsimile apparatus connected to an IP (Internet Protocol) network and a public telephone network, a method of controlling the same, and to a storage medium.
2. Description of the Related Art
In recent years, fax machines that include an IP facsimile communication function that uses an IP (Internet Protocol) network and conforms to SIP (Session Initiation Protocol) and T.38 standards have become widespread. SIP is a call control protocol for performing communication of various types of media, such as voice, data, and images, over an IP network defined by RFC 3261. T.38 is an ITU-T recommendation, and is a standard that defines the method of translating facsimile signals used on a subscribed telephone network into IP messages and transmitting them (see Japanese Patent Laid-Open No. 2003-169186).
This type of facsimile apparatus is connected to both an IP network and a public telephone network, and a user can perform facsimile transmission seamlessly without being concerned with whether the IP network or public telephone network (hereinafter referred to as PSTN) is used. In other words, if the IP network is available, the facsimile apparatus performs Internet facsimile (referred to below as “IPFAX”) transmission using the SIP and T.38 protocols. Also, in the case where the IP network cannot be used while IPFAX communication is in progress, G3FAX transmission is performed if the PSTN is available.
With a conventional facsimile apparatus connected to an IP network and a public telephone network (PSTN) as described above, G3FAX transmission is performed if the PSTN is available in the case where a fax transmission job is input while IPFAX communication using the IP network is in progress. Because of this, transmission is performed by G3FAX using the PSTN network, regardless of the fact that the fax that was originally intended to be transmitted by IPFAX can be transmitted by IPFAX after a short wait. Since G3FAX that uses a PSTN network has a slower communication speed compared to IPFAX transmission using an IP network, the communication cost is higher than that of IPFAX transmission. Thus, since G3FAX transmission using a PSTN network is performed regardless of the fact that IPFAX transmission is possible, there is a problem in that needless communication cost is incurred.
An aspect of the present invention is to eliminate the above-mentioned problems with the conventional technology.
A feature of the present invention is to provide a technique for performing facsimile transmission via an IP network instead of performing transmission via a public telephone network even in the case where transmission is instructed while communication over the IP network is in progress.
According to an aspect of the present invention, there is provided a facsimile apparatus capable of connecting to a plurality of lines including a first line and a second line, the facsimile apparatus comprising: a first transmission control unit configured to, in a case where a user designates the first line or the second line as a line to be used for transmission of image data, control to transmit the image data via the designated line; a second transmission control unit configured to, in a case where the user designates that the line to be used for transmission of the image data is to be automatically selected, control to transmit the image data via the first line, and in a case where transmission via the first line is not able to be performed, control to transmit the image data via the second line; and a setting unit configured to set whether or not to enable switching from the first line to the second line by the second transmission control unit for transmission of the image data, wherein in a case where the transmission via the first line is not able to be performed, the second transmission control unit controls, if the switching from the first line to the second line is set to be enabled by the setting unit, to transmit the image data via the second line, and if the switching from the first line to the second line is not set to be enabled by the setting unit, not to transmit the image data via the second line.
Further features of the present invention will become apparent from the following description of exemplary embodiments with reference to the attached drawdings.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
Embodiments of the present invention will be described hereinafter in detail, with reference to the accompanying drawings. It is to be understood that the following embodiments are not intended to limit the claims of the present invention, and that not all of the combinations of the aspects that are described according to the following embodiments are necessarily required with respect to the means to solve the problems according to the present invention.
In
A modem 108 demodulates modulated signals received from lines, and conversely modulates signals and transmits them. to ate lines. An NCU (Network Control Unit) 109 is an I/F unit that interfaces with an analog line (PSTN) 110. A telephone 111 includes a handset used for calling, and an answering machine function. A LAN I/F 112 controls communication with a network 113, such as a LAN. The network 113 is an IP network such as an internal. IP network or an NGN.
An image processor 114 carries out correction processing on image data scanned by a scanner and outputs high-definition image data. A sheet scanner 115 and a book scanner 116 each include a CIS (contact image sensor), an original transport mechanism, and the like, optically scan originals, generate and output electrical image data, and can scan both sides of an original. A console unit 117 includes a keyboard, a display unit with a touch panel function, and the like, displays messages and the like to the operator, and receives various types of input operations from the operator. The console unit 117 displays messages indicating that speed dialing can be performed when the handset of the telephone 111 is off the hook, and displays the fact that communication is in progress and that it is possible to receive communication reservations when the telephone 111 is off the hook.
A line buffer 118 is used in the case of controlling image data transfer and stores image data in units of lines. A print buffer 119 is one page-worth of buffer memory that stores print data of one page that is to be output to a printer 120. The printer 120 is a printer such as a laser-beam or inkjet printer that prints a received image or file data on regular paper, and can print on both sides.
When an operation for FAX transmission is performed with the console unit 117, a job controller 201 generates a FAX transmission job and notifies a communication manager 202. The communication manager 202 requests a line controller 203 to perform outgoing call processing, using job information such as network selection information (IP/PSTN) notified by the job controller 201.
Here, if the network selection information is PSTN, G3 facsimile transmission is to be performed, and therefore the modem 108 and the NCU 109 are notified by the line controller 203 to perform a dial operation. When this call origination ends and a connection to the other party is established, the communication manager 202 causes a communication controller 204 to start up, and executes G3 facsimile communication by performing T.30 protocol control with respect to the modem 108 and the NCU 109.
On the other hand, if the network selection information is an IP network, internet facsimile transmission (hereinafter referred to as “IPFAX transmission”) is performed using the SIP and T.38 protocols. Accordingly, in this case, the line controller 203 notifies a protocol stack 205 to connect to the other party with the SIP protocol. The SIP message created by The protocol stack 205 is transmitted to the LAN (IP network) 113 via an NIC 206. When the session with the other party using the SIP protocol is generated in this way, the communication controller 204 executes a real-time internet facsimile procedure according to T.38 with the connection destination.
This processing is started by the user setting the original to be transmitted on the scanner 115, and subsequently inputting the other party's telephone number using a numeric keypad or the like on the console unit 117 (speed-dial or address list may be selected). First, in step S301, the CPU 101 receives the other party's telephone number input by the user. Next, in step S302, the CPU 101 receives the designation of the network to connect to, which the user selected with the network selection screen displayed on the display unit of the console unit 117, and stores it in the RAM 103.
The network selection screen displays an “IP” button, a “PSTN”, and an “automatic” button. Here, it is possible for the user to select “IP”, “PSTN”, or “automatic” as the network to connect to for facsimile transmission. by touching a corresponding button. Here, “IP” indicates an IP network, and “PSTN” indicates a public telephone network. Additionally, “automatic” gives an instruction to connect to an available network out of the IP network and the public telephone network. The selection on the network selection screen is arbitrary, and the default setting is “automatic”. Note that in the case of selecting “automatic”, if transmission by IPFAX is possible, facsimile transmission is performed using an IP network.
Next, moving to step S303, the CPU 101 determines whether or not a start key on the console unit 117 was pressed. If the start key for instructing the start of transmission is pressed, the procedure advances to step S304, and the CPU 101 identifies the network that is selected by the user using the screen in
If the IP network is selected in step S304, the procedure advances to step S306, and the CPU 101 determines whether or not communication by IPFAX is in progress. If the IPFAX communication is not in progress, the procedure advances to step S307, and transmission by IPFAX is performed. Additionally, if the communication by IPFAX is in progress in step S306, the CPU 101 waits for the communication by IPFAX to end, whereafter the procedure advances to step S307, and the transmission by IPFAX is performed.
On the other hand, if “automatic” is selected in step S304, the procedure advances to step S308, and the CPU 101 identifies the networks that connect the facsimile apparatus 100 and a facsimile apparatus of the transmission destination. Here, they are connected with both the IP network and the public telephone network. Accordingly, in step S308, the CPU 101 first determines whether or not communication by IPFAX is in progress. If the communication by IPFAX is not in progress, the procedure advances to step S307, and the CPU 101 performs communication by IPFAX. On the other hand, if the communication by IPFAX is in progress in step S308, the procedure advances to step S309, and the CPU 101 determines whether or not an IP prioritization mode has been set. If the IP prioritization mode has been set, the procedure returns to step S308, the CPU 101 waits for the communication by IPFAX to end, and then the procedure advances to step S307.
On the other hand, if the IP prioritization mode has not been set in step S309, the procedure advances to step S310, and the CPU 101 determines whether or not communication by G3FAX is in progress. Here, if the communication by G3FAX is not in progress, the procedure advances to step S311, and the CPU 101 performs transmission by G3FAX. Additionally, if the communication by G3FAX is in progress in step S310, the procedure returns to step S308, and the above-described processing is performed.
Here, when the “ON” button is pressed, the IP prioritization mode is set, and when the “OFF” button is pressed, the IP prioritization mode is not set. The content set on this screen is stored in the RAM 103 and referenced in step S309 in
Thus, according to the facsimile apparatus 100 of the present embodiment, it is possible to designate a line for facsimile transmission, and if “automatic” is selected, an available network is selected from either IPFAX or G3FAX, and transmission is performed. Since it is determined in advance whether or not IPFAX can be used (step S308), transmission by IPFAX is performed when both IPFAX and G3FAX can be used.
Furthermore, if the IP prioritization mode has been set, the CPU will wait for transmission by IPFAX to become available and then perform transmission by IPFAX, even if transmission by G3FAX is available. This has an effect of preventing needless communication cost from being incurred due to transmission by G3FAX, even when a fax job is newly input while IPFAX communication is in progress. In particular, in the case where “automatic” is selected, it is possible to prevent communication cost from increasing due to the unintended execution of G3FAX by a user who is unaware that G3FAX transmission will be performed if other communication is being executed even when IPFAX transmission is available.
Both facsimile apparatuses 100-1 and 100-2 in
In such a connection environment, the facsimile apparatus 100-1, for example, communicates with the facsimile apparatus 100-2 via the internal IP network 401, a gateway 404-1, the NGN network 403, and a gateway 404-2. Additionally, the facsimile apparatus 100-1 can communicate with the facsimile apparatus 100-3 via the public telephone network 402.
For example, in the case where facsimile communication is to be performed from the facsimile apparatus 100-1 to another facsimile apparatus, a user of the facsimile apparatus 100-1 performs an operation on keys on the console unit 117 and inputs the telephone number of the transmission destination when a call is to be made. Then, the user selects on the network selection screen in
In the case where a fax job is newly input while IPFAX communication is in progress, this kind of configuration has an effect of being able to prevent needless communication cost from being incurred, due to G3FAX transmission being performed via a PSTN network, which has a slower communication speed compared to IPFAX.
Aspects of the present invention can also be realized by a computer of a system or apparatus (or devices such as a CPU or MPU) that reads out and executes a program recorded on a memory device to perform the functions of the above-described embodiments, and by a method, the steps of which are performed by a computer of a system or apparatus by, for example, reading out and executing a program recorded on a memory device to perform the functions of the above-described embodiments. For this purpose, the program is provided to the computer for example via a network or from a recording medium of various types serving as the memory device (for example, computer-readable medium.
While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
This application claims the benefit of Japanese Patent Application No. 2012-245633, filed Nov. 7, 2012, which is hereby incorporated by reference herein in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
2012-245633 | Nov 2012 | JP | national |