Communication apparatus, method of controlling communication apparatus, and storage medium

A communication apparatus for performing automatic reception processing of a calling signal received on a telephone line, by power supplied from a first power supply, includes an image processing unit, a detection unit, a counting unit, and a power supply control unit. The image processing unit performs image processing on image data received over the telephone line, by power supplied from a second power supply. The detection unit detects a calling signal received on the telephone line, by power supplied from the first power supply, while power supplied from the second power supply is stopped. The counting unit counts the number of calling signals detected by the detection unit. The power supply control unit starts supply of power from the second power supply on the basis that the number of detected calling signals counted by the counting unit reaches a predetermined number.

BACKGROUND OF THE INVENTION

Field of the Invention

The present invention relates to a communication apparatus, a method of controlling a communication apparatus, and a storage medium.

Description of the Related Art

In recent years, multi-functional peripherals have been widely used. Each of the multi-functional peripheral has multiple functions such as printing, copying, and the like in a facsimile device having a facsimile communication function and a phone call function. The multi-functional peripherals is configured so that in facsimile communication, an automatic call reception mode can be performed which is configured to detect a calling signal and automatically make a response, and in the automatic call reception mode, a the number of calling signals before response, that is, how many times the calling signal is to be detected before the response, can be arbitrarily set by operation of an operation unit. Furthermore, as the need for power saving is increased, the multi-functional peripherals is required to stand by while maintaining a low-power state as much as possible when not in use, return from the low-power state upon detection of the calling signal from a communication line, and response to the communication line.

In response to the requirement, an apparatus for controlling call reception during a low-power state is disclosed, which includes a call reception ringing unit, a main CPU, and a sub-CPU, and a method is known in which the main CPU controls the call reception ringing unit only when the main CPU is operated in a normal state, and the sub-CPU controls the call reception ringing unit, when the main CPU is in the low-power state or while the main CPU is returned from the low-power state to the normal state (Japanese Patent Application Laid-Open No. 2013-5037).

Furthermore, a method is also known in which when a first calling signal is detected in an automatic call reception mode, it is determined whether the detection is performed in a low-power state or a normal state, and when the detection is performed in the low-power state, the calling signals being one less in number than a set number are counted after a CPU is booted, and then response starts (Japanese Patent Application Laid-Open No. 2000-261565).

In Japanese Patent Application Laid-Open No. 2013-5037, the sub-CPU is required, and the sub-CPU always consumes large amounts of power. Thus, the cost rises with the sub-CPU.

In Japanese Patent Application Laid-Open No. 2000-261565, the response is always started after counting the calling signals one less than a value of the set number during sleep, and it is always required to ensure booting the CPU within one count.

SUMMARY OF THE INVENTION

A communication apparatus according to an embodiment of the present invention includes a configuration described below.

A communication apparatus for performing automatic reception processing of a calling signal received on a telephone line, by power supplied from a first power supply, includes an image processing unit configured to perform image processing on image data received over the telephone line, by power supplied from a second power supply, a detection unit configured to detect a calling signal received on the telephone line, by power supplied from the first power supply, while power supplied from the second power supply is stopped, a counting unit configured to count the number of calling signals detected by the detection unit, and a power supply control unit configured to start supply of power from the second power supply on the basis that the number of detected calling signals counted by the counting unit reaches a predetermined number.

The number of calling signals received is accurately counted, with an inexpensive configuration, while maintaining a low-power state upon reception of a calling signal. Further features of the present invention will become apparent from the following description of exemplary embodiments (with reference to the attached drawings).

DESCRIPTION OF THE EMBODIMENTS

Next, detailed description of preferred embodiments will be described with reference to the drawings.

<Description of System Configuration>

First Embodiment

FIG. 1is a diagram illustrating an image printing apparatus to which a facsimile communication apparatus according to an embodiment of the present invention is applied. The communication apparatus according to the present example performs automatic reception processing of a calling signal received on a telephone line by power supplied from a first power supply, as described later.

InFIG. 1, a controller unit is denoted by101which is configured to control units of the image printing apparatus. The controller unit101is a section controlling operation of the image printing apparatus, and performs transmission and reception, conversion, and storage of data, and power control. An operation unit is denoted by102, and includes an operation panel configured to receive various operations from a user, and a display device configured to display operational information. A scanner unit is denoted by103, and scans an image and inputs the image to the controller unit101. A printer unit is denoted by104, and prints and outputs various types of input images processed by the controller unit101. A network is denoted by105, and a LAN is assumed in the present embodiment.

The first power supply106and a second power supply107are power supplies each configured to convert a commercial AC power source supplied from a power plug108to DC voltage used for the units of the image printing apparatus. The second power supply107outputs power controlled by a power supply control signal109output from the controller unit101. A facsimile unit is denoted by110, and connected to an external telephone or a facsimile apparatus over the telephone line111.

In a normal mode, both of the first power supply106and the second power supply107are turned on, but in an energy saving mode, the second power supply107is turned off. Here, the energy saving mode represents a state in which, when the apparatus does not perform job processing, power feeding to portions is stopped partially excluding the controller unit101and the facsimile unit110, in order to reduce consumption of power from the commercial power source. In the energy saving mode, reception of a job can be detected in the controller unit101. Upon the detection, the power supply control signal109is switched to transition to the normal mode, and the second power supply107is turned on.

FIG. 2is a block diagram illustrating a configuration of the controller unit101and the facsimile unit110illustrated inFIG. 1.

InFIG. 2, an image processing unit201internally has a control CPU, exchanges or controls data for an objective unit, according to a processing mode of copying, printing, facsimile, or the like, and performs desired image processing on image data. A scanner I/F202and a printer I/F203represent I/Fs for connection to the scanner unit103and the printer unit104, respectively.

A CI counting unit is denoted by204, is a CI used for counting a CI reception signal upon facsimile or telephone reception, and has a hardware counter in the present embodiment. A ringing control unit is denoted by205, and stops the ringing of an external handset caused by the reception of the CI. A power supply control unit is denoted by206, which performs various power supply control in a system, and is operated by power supplied from the first power supply106. Furthermore, the second power supply107is controlled by the power supply control signal109. A CI count value storage unit is denoted by207, and stores a set ring count value in an automatic call reception mode, set by the user from the operation unit102.

Next, description will be made of a schematic block diagram of the inside of the facsimile unit110.

In the facsimile unit110, a modem216is a modulator/demodulator connected to the image processing unit201, and operated based on control by the image processing unit201. A network control unit (NCU) is denoted by208, and transmits and receives a dialing signal over the telephone line111to call a communication partner. Note that, the NCU208may be included in the modem216.

A noise removal circuit209is a circuit configured to suppress lightning surge, electromagnetic noise, or the like from the external telephone line111, and prevent external transmission of noise from the facsimile unit110.

A CI detection unit210detects the calling signal (hereinafter, referred to as CI signal) received from the telephone line111. When detecting the CI signal from the telephone line111, the CI detection unit210transmits a CI detection signal214representing the detection of the CI signal, to the CI counting unit204. An H relay211is a relay switch circuit configured to selectively connect the connected external telephone212to signal input from the telephone line111through the noise removal circuit209, or signal input from the pseudo CI transmission circuit213. Furthermore, the H relay211is controlled by the ringing control unit205, using an H relay control signal215.

Note that, when the H relay211is connected to the telephone line111side, the external telephone212is rung by power fed from the telephone line111, and when the H relay211is not connected to the telephone line111, even if the CI signal is received, the telephone212is not rung.

The pseudo CI transmission circuit213is a circuit configured to transmit a pseudo CI signal to the telephone212. The pseudo CI signal is a signal transmitted to the telephone212to ring the telephone212being disconnected from the telephone line, when the CI is received from a calling party device over the telephone line111.

Note that, in the present embodiment, the normal state represents a state in which power supply voltages from the first power supply106and the second power supply107are supplied to devices. Upon transition to a low-power state, power supplied from the second power supply107is turned off by control of a power supply control unit206. However, the first power supply106and the second power supply107each inclusively represent a plurality of types of power supplies, power supplies supplying power even in the low-power state are defined as the first power supply106, and power supplies turned off in the low-power state are defined as the second power supply107.

[Example of Communication Control by Power Priority Setting]

Next, operation performed from first calling signal detection to response in the above apparatus configuration, will be described using a timing chart illustrated inFIG. 3A. The operation is performed during a stand-by time with low power, when the facsimile is set to an automatic call reception mode.

Note that, in the present embodiment, a call count in the automatic call reception mode is previously set to three from the operation unit102, and the call count (=3) is stored in the CI count value storage unit207.

When the CI detection unit210detects the CI signal, and transmits the CI detection signal214to the CI counting unit204, the CI counting unit204starts counting up. Then, the CI counting unit204continues counting up, until a count value (detection count) coincides with the value (predetermined number) stored in the CI count value storage unit207. When the count value is counted up to the set value, notification of count termination is transmitted to the ringing control unit205.

The ringing control unit205turns on the H relay control signal215switches the H relay211to the side of the pseudo CI transmission circuit213, blocks the CI reception signal from the telephone line111side to the external telephone212and stops the ringing.

The CI counting unit204simultaneously sends the notification of count termination also to the power supply control unit206, and the power supply control unit206controls the power supply control signal109to turn on the second power supply107, and supplies power from the second power supply107to the image processing unit201. The CPU in the image processing unit201performs initialization processing during a predetermined time after the power supply from the second power supply107, and then controls the modem216to start facsimile reception.

After the reception, a count value register and a ringing control unit control register, not illustrated, in the CI counting unit204are cleared, the H relay control signal215output from the ringing control unit205is turned off, and the H relay211is returned to the telephone line111side.

Operation performed from calling signal detection to response in the normal state is illustrated inFIG. 3B. In this configuration, the second power supply107is already turned on and the image processing unit201is in an activated state, and thus, immediately after the CI counting unit204detects the CI signals and counts up the predetermined count value, the image processing unit201can receive the image data.

FIGS. 4A and 4Bare flowcharts illustrating a method of controlling a communication apparatus according to the present embodiment. In particular, an example of communication processing relating to a hardware sequencer of the CI counting unit204according to the present embodiment is illustrated inFIG. 4A. Note that, the flowchart ofFIG. 4Ahas steps each corresponding to processing performed by the hardware sequencer of the CI counting unit204.

In S401, when the CI counting unit204determines the reception of the CI detection signal214from the CI detection unit210, the process proceeds to S402to start counting the CI signal. In S403, counting up is continued until the count value coincides with the value (=3) stored in the CI count value storage unit207, and when the count value coincides with the stored value, the process proceeds to S404. In S404, the notification of count termination is sent to the ringing control unit205, the ringing control unit205is caused to turn on the H relay211, and the CI signal from the telephone line111to the external telephone212is blocked to stop the ringing.

Then, the process proceeds to S405, the notification of count termination is sent to the power supply control unit206, the second power supply107is turned on by the power supply control signal109, power is supplied from the second power supply107to the image processing unit201, the image processing unit201is activated, and the process ends.

Next, an example of control of the CPU included in the image processing unit201ofFIG. 2is illustrated inFIG. 4B. Note that, the flowchart ofFIG. 4Bhas steps achieved by execution of a control program stored in the CPU in the controller unit101.

In S406, after power is supplied from the second power supply107to the image processing unit201to complete the booting of the CPU on the inside, the process proceeds to S407. In S407, the CPU on the inside reads a return cause register, not illustrated, of the CI counting unit204, and determines whether returning is caused by detection of the CI. Here, when the CPU determines that the returning is caused by the CI detection signal, the process proceeds to S408, and the modem216is controlled to start facsimile reception.

In contrast, when the CPU determines that the returning is not caused by the CI detection signal, in S407, the process proceeds to S411to perform processing according to a corresponding cause of the returning, and the process ends.

When the facsimile reception is determined to be finished, in S409, the process proceeds to S410. In S410, the CPU clears a count result register and a ringing control notification register in the CI counting unit204. Then, the CPU turns off the H relay control signal215to return the H relay211to the telephone line111side, and when a next CI signal is generated from the telephone line111, the telephone can be rung again.

According to the present embodiment, the communication apparatus has a hardware counter having a simple configuration to count the reception signal even in the low-power state, accurately counts the ringing, and then returns from the low-power state to the normal state. Thus, the communication apparatus can accurately count the ringing while maintaining the low-power state.

Second Embodiment

In the present embodiment, the automatic call reception mode has power priority setting configured to give a priority to reduce power consumption, and activation time priority setting configured to give a priority to reduce an activation time. Thus, the user can have desired setting through key input from the operation unit102.

Here, description of the power priority setting is similar to the first embodiment, and repetitive description will be omitted. Furthermore, an example of an internal configuration of the image printing apparatus and an internal schematic block diagram of the image printing apparatus are similar toFIGS. 1 and 2of Embodiment 1, and repetitive description will be omitted.

[Example of Communication Control by Activation Time Priority Setting]

FIG. 5is a timing chart illustrating a method of controlling a communication apparatus according to the present embodiment. An example of timing when the activation time priority setting is set is described in the present example. Note that, in the present embodiment, a call count in the automatic call reception mode is previously set to three from the operation unit102, and the call count is stored in the CI count value storage unit207. It should be considered that processing is performed determining that a current time corresponds to the activation time priority setting.

When the CI detection unit210detects the CI signal, and transmits the CI detection signal214to the CI counting unit204, the CI counting unit204starts counting up. At the same time, the CI counting unit204sends first CI reception notification to the power supply control unit206, and the power supply control unit206controls the power supply control signal109to turn on the second power supply107, and supplies power from the second power supply107to the image processing unit201. The CPU in the image processing unit201performs initialization processing during a predetermined time after the power supply from the second power supply107.

In contrast, the CI counting unit204continues counting up, until the count value coincides with the value (=3) stored in the CI count value storage unit207.

When the count value is counted up to the set value, the H relay control signal215is turned on to switch the H relay211to the side of the pseudo CI transmission circuit213. Thus, the CI reception signal from the telephone line111side to the external telephone212is blocked to stop the ringing. At this time, when the initialization is finished, the image processing unit201promptly controls the modem216, and starts facsimile reception.

After the reception, the CPU in the image processing unit201clears the count value register and the ringing control unit control register, not illustrated, in the CI counting unit204, and returns the count value in the CI counting unit204to “0”. Thus, the H relay control signal215is turned off, and the H relay211is returned to the telephone line111side.

FIGS. 6A and 6Bare flowcharts illustrating a method of controlling a communication apparatus according to the present embodiment. In particular, an example of communication processing relating to the hardware sequencer of the CI counting unit204according to the present embodiment is illustrated inFIG. 6A. Note that the flowchart ofFIG. 6Ahas steps corresponding to processing of the hardware sequencer of the CI counting unit204.

In S601, when the CI counting unit204receives the CI signal from the CI detection unit210, the process proceeds to S602, notification of CI signal reception is sent to the power supply control unit206, and the second power supply107is turned on by the power supply control signal109. Then, power is supplied from the second power supply107to the image processing unit201to activate the image processing unit201. Furthermore, in S603, counting the CI signals is started. In S604, counting up is continued until the count value coincides with the value (=3) stored in the CI count value storage unit207, and when the CI counting unit204determines that the count value coincides with the value, the process proceeds to S605, and the notification of count termination is sent to the ringing control unit205.

After the notification of count termination is sent, the ringing control unit205turns on the H relay211, blocks the CI signal from the telephone line111to the external telephone212, and stop the ringing. Then the process proceeds to S606, the notification of count termination is sent to the image processing unit201, and the process ends.

Next,FIG. 6Bcorresponds to an example of control of the CPU included in the image processing unit201according to the present embodiment.

In S607, power is supplied from the second power supply107to the image processing unit201to complete the booting of the CPU on the inside, and then, in S608, the CPU on the inside reads the return cause register, not illustrated, of the CI counting unit204, and determines whether returning is caused by detection of the CI. When the CPU determines that the returning is caused by the CI detection signal, the process proceeds to S609to stand by until notification of CI count termination is received from the CI counting unit204.

In contrast, when the CPU determines that the returning is not caused by the CI detection signal, in S608, the process proceeds to S613to perform processing according to a corresponding cause of the returning, and the process ends.

When the notification of CI count termination is received in S609, the process proceeds to S610, and the modem216is controlled to start facsimile reception.

When the facsimile reception is determined to be finished, in S611, the process proceeds to S612, and the CPU clears the count result register and the ringing control notification register in the CI counting unit204, and turns off the H relay control signal215. Thus, the H relay211is returned to the telephone line111side, and when a next CI signal is generated from the telephone line111, the telephone can be rung again.

According to the present embodiment, the communication apparatus has a hardware counter having a simple configuration to count the reception signal even in the low-power state, accurately counts the ringing, even if the CPU of a reception unit has the low-power state and then returns from the low-power state to the normal state.

Thus, the number of times of reception and ringing can be accurately counted, and, in addition to that, the low-power state can be maintained during the stand-by time.

Furthermore, the power priority setting for booting from the low-power state after counting the CI, or the activation time priority setting for booting from the low-power state immediately after reception of the CI can be selected according to the user's taste, and thus, user's convenience can be improved,

According to the embodiments, when the calling signal emitted by mistake is received during the low-power state, power supply to the image processing unit can be inhibited, and the low-power state can be accurately maintained.

Other Embodiments

This application claims the benefit of Japanese Patent Application No. 2015-082370, filed Apr. 14, 2015, which is hereby incorporated by reference herein in its entirety.