JP7215262B2 - Information processing device and program - Google Patents

Information processing device and program Download PDF

Info

Publication number
JP7215262B2
JP7215262B2 JP2019049480A JP2019049480A JP7215262B2 JP 7215262 B2 JP7215262 B2 JP 7215262B2 JP 2019049480 A JP2019049480 A JP 2019049480A JP 2019049480 A JP2019049480 A JP 2019049480A JP 7215262 B2 JP7215262 B2 JP 7215262B2
Authority
JP
Japan
Prior art keywords
detection
control unit
interrupt signal
logic
interrupt
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2019049480A
Other languages
Japanese (ja)
Other versions
JP2020155806A (en
Inventor
翔 永瀬
美行 小林
正太郎 宮本
裕仁 大竹
辰寿 諏訪
英憲 田中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2019049480A priority Critical patent/JP7215262B2/en
Publication of JP2020155806A publication Critical patent/JP2020155806A/en
Application granted granted Critical
Publication of JP7215262B2 publication Critical patent/JP7215262B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimiles In General (AREA)
  • Facsimile Transmission Control (AREA)

Description

本発明は、情報処理装置およびプログラムに関する。 The present invention relates to an information processing device and program.

特許文献1には、メインCPUとサブCPUとを有し、メインCPUがスリープモード時に外部回線から着信を受けた場合、サブCPUが着信に対する応答を行うと共にメインCPUを起動させ、モデム制御の権限をメインCPUに委譲するようにしたファクシミリ装置が開示されている。 Patent Document 1 discloses a system that has a main CPU and a sub CPU, and when the main CPU receives an incoming call from an external line while in sleep mode, the sub CPU responds to the incoming call and activates the main CPU to provide modem control authority. is disclosed in a facsimile machine that transfers to a main CPU.

特許文献2には、メインコントローラ部は、装置が第1電力モードから消費電力の低い第2電力モードへの移行期間中に、割り込み信号の受付を禁止し、第2電力モードへの移行が完了すると、割り込みの禁止を解除し、マイコンは、移行期間中に負荷から割り込み信号が発生すると当該割り込み信号をパルス信号として繰り返しメインコントローラ部へ通知し、割り込みの禁止が解除されるとパルス信号をレベル信号に変更して通知するようにした画像処理装置が開示されている。 In Patent Document 2, the main controller prohibits acceptance of interrupt signals during the transition period of the device from the first power mode to the second power mode with low power consumption, and completes the transition to the second power mode. Then, the interrupt prohibition is released, and when an interrupt signal is generated from the load during the transition period, the microcomputer repeatedly notifies the main controller unit of the interrupt signal as a pulse signal. An image processing apparatus is disclosed that changes to a signal and notifies it.

特開2014-158129号公報JP 2014-158129 A 特開2018-061167号公報JP 2018-061167 A

本発明の目的は、検出部が外部要因の変化を検出したか否かの監視処理を第1の制御部から第2の制御部に移行する際に、移行期間中に検出部が外部要因の変化を受信した場合であっても、移行期間の終了後に検出部が外部要因の変化を検出したことを検知することが可能な情報処理装置およびプログラムを提供することである。 It is an object of the present invention to detect whether or not the detection unit has detected a change in the external factor during the transition period, when the detection unit detects a change in the external factor. It is an object of the present invention to provide an information processing device and a program capable of detecting that a detection unit has detected a change in an external factor after the end of a transition period even when a change is received.

[情報処理装置]
請求項1に係る本発明は、外部からの着呼を検出すると、前記着呼の有無を通知するための割込信号の論理を変化させる検出部と、
前記割込信号の論理変化を検出すると、前記検出部において検出した着呼に応じた処理を実行する制御を行う第1の制御部と、
前記第1の制御部を制御するとともに、前記第1の制御部から前記割込信号の論理変化の監視処理を移行する際に、前記割込信号の論理変化の検出方法をエッジ検出からレベル検出に切り替え、前記第1の制御部において前記割込信号の論理変化に伴う割り込み処理が不許可となった後に、移行期間が終了すると前記割込信号の論理変化に伴う割り込み処理を許可として、前記割込信号の論理状態に応じて前記検出部において検出した着呼に応じた処理が実行されるような制御を行う第2の制御部とを備えた情報処理装置である。
[Information processing device]
In the present invention according to claim 1, when an incoming call from the outside is detected, a detection unit for changing the logic of an interrupt signal for notifying the presence or absence of the incoming call ;
a first control unit that performs control to execute processing corresponding to an incoming call detected by the detection unit when a logic change in the interrupt signal is detected;
controlling the first control unit and changing a detection method of the logic change of the interrupt signal from edge detection to level detection when transitioning from the first control unit to monitoring processing of the logic change of the interrupt signal; and after the first control unit disallows interrupt processing associated with a logic change of the interrupt signal, when the transition period ends, interrupt processing associated with a logic change of the interrupt signal is permitted, and a second control unit that performs control such that processing corresponding to an incoming call detected by the detection unit is executed in accordance with the logic state of an interrupt signal.

請求項2に係る本発明は、前記第2の制御部が、移行期間の終了後に、前記割込信号の論理変化の検出方法をレベル検出からエッジ検出に切り替える制御を行う請求項1記載の情報処理装置である。 In the present invention according to claim 2, the information according to claim 1, wherein the second control unit performs control to switch the detection method of the logic change of the interrupt signal from level detection to edge detection after the transition period ends. processing equipment.

請求項3に係る本発明は、前記第2の制御部が、移行期間中の前記割込信号の論理変化の検出状態を、移行期間の終了前に一旦クリアにする請求項1又は2記載の情報処理装置である。 According to a third aspect of the present invention, the second control section temporarily clears the detection state of the logic change of the interrupt signal during the transition period before the end of the transition period. It is an information processing device.

請求項4に係る本発明は、前記第2の制御部が、自装置の動作モードが通常動作モードから省電力モードに切り替えられた際に、前記第1の制御部から前記割込信号の論理変化の監視処理を移行し、前記第1の制御部を動作停止状態とする請求項1から3のいずれか記載の情報処理装置である。 According to the fourth aspect of the present invention, the second control unit controls the logic of the interrupt signal from the first control unit when the operation mode of the device is switched from the normal operation mode to the power saving mode. 4. The information processing apparatus according to any one of claims 1 to 3, wherein the change monitoring process is shifted and the operation of the first control unit is stopped.

請求項5に係る本発明は、前記第1の制御部が、動作停止状態となる前に、前記検出部を省電力状態とする制御を行い、
前記検出部は、通常動作状態から省電力状態に移行する際に、内部で発生したノイズにより前記割込信号を論理変化させる請求項4記載の情報処理装置である。
In the present invention according to claim 5, the first control unit controls the detection unit to be in a power saving state before entering an operation stop state,
5. The information processing apparatus according to claim 4, wherein the detection unit changes the logic of the interrupt signal due to internally generated noise when shifting from the normal operation state to the power saving state.

請求項6に係る本発明は、前記第2の制御部が、前記第1の制御部から前記割込信号の論理変化の監視が移行され、前記割込信号の論理変化に伴う割り込みが許可されて、前記割込信号の論理変化を検出した場合に、自装置の動作モードを省電力モードから通常動作モードに切り替えて、前記第1の制御部を起動させて前記検出部において検出した着呼に応じた処理を実行させる請求項4又は5記載の情報処理装置である。 In the present invention according to claim 6, the second control unit is transferred from the first control unit to monitoring the logic change of the interrupt signal, and the interrupt caused by the logic change of the interrupt signal is permitted. switch the operation mode of the device from the power saving mode to the normal operation mode when detecting a logic change of the interrupt signal, activate the first control unit, and detect the incoming call detected by the detection unit. 6. The information processing apparatus according to claim 4 or 5, wherein a process according to the condition is executed.

[プログラム]
請求項7に係る本発明は、外部からの着呼を検出して前記着呼の有無を通知するための割込信号の論理を変化させるステップと、
第1の制御部において、前記割込信号の論理変化を検出すると、検出された着呼に応じた処理を実行する制御を行うステップと、
前記第1の制御部を制御する第2制御部において、前記第1の制御部から前記割込信号の論理変化の監視処理を移行する際に、前記割込信号の論理変化の検出方法をエッジ検出からレベル検出に切り替えるステップと、
前記第2の制御部において、前記第1の制御部において前記割込信号の論理変化に伴う割り込み処理が不許可となった後に、移行期間が終了すると前記割込信号の論理変化に伴う割り込み処理を許可として、前記割込信号の論理状態に応じて、検出された着呼に応じた処理が実行されるような制御を行うステップと、をコンピュータに実行させるためのプログラムである。
[program]
The present invention according to claim 7 is the step of detecting an incoming call from the outside and changing the logic of an interrupt signal for notifying the presence or absence of the incoming call;
a first control unit, upon detecting a logic change of the interrupt signal, performing control to execute processing according to the detected incoming call ;
In a second control unit that controls the first control unit, when transitioning from the first control unit to monitoring processing of a logic change in the interrupt signal, a method for detecting a logic change in the interrupt signal is provided. switching from edge detection to level detection;
In the second control unit, when the transition period ends after the first control unit disallows the interrupt processing associated with the logic change of the interrupt signal, interrupt processing associated with the logic change of the interrupt signal is performed. and performing control such that processing corresponding to the detected incoming call is executed according to the logic state of the interrupt signal.

請求項1に係る本発明によれば、検出部が外部要因の変化を検出したか否かの監視処理を第1の制御部から第2の制御部に移行する際に、移行期間中に検出部が外部要因の変化を受信した場合であっても、移行期間の終了後に検出部が外部要因の変化を検出したことを検知することが可能な情報処理装置を提供することができる。 According to the first aspect of the present invention, when the detection unit shifts the monitoring process of whether or not the detection unit has detected a change in the external factor from the first control unit to the second control unit, detection is performed during the transition period. It is possible to provide an information processing apparatus capable of detecting that the detection unit has detected a change in the external factor after the transition period has ended even when the unit receives the change in the external factor.

請求項2に係る本発明によれば、移行期間の終了後にもレベル検出のまま割込信号の論理変化を検出する場合と比較して、第2の制御部が割込信号の論理変化を検出するための処理負担を軽減することが可能な情報処理装置を提供することができる。 According to the second aspect of the present invention, the second control unit detects the logic change of the interrupt signal, compared to the case where the logic change of the interrupt signal is detected while the level is detected even after the transition period ends. It is possible to provide an information processing apparatus capable of reducing the processing load for processing.

請求項3に係る本発明によれば、移行期間中に検出部における誤動作により割込信号の論理変化が発生した場合でも、移行期間の終了後に不要な処理が実行されるのを防ぐことが可能な情報処理装置を提供することができる。 According to the third aspect of the present invention, it is possible to prevent unnecessary processing from being executed after the end of the transition period even if a logic change occurs in the interrupt signal due to malfunction of the detection unit during the transition period. It is possible to provide a sophisticated information processing apparatus.

請求項4に係る本発明によれば、第1の制御部を動作停止状態としない場合と比較して、装置の消費電力を削減することが可能な情報処理装置を提供することができる。 According to the fourth aspect of the present invention, it is possible to provide an information processing apparatus capable of reducing the power consumption of the apparatus as compared with the case where the first control unit is not put in the operation stop state.

請求項5に係る本発明によれば、検出部を省電力状態にしない場合と比較して、装置の消費電力を削減することが可能な情報処理装置を提供することができる。 According to the fifth aspect of the present invention, it is possible to provide an information processing apparatus capable of reducing the power consumption of the apparatus as compared with the case where the detection unit is not placed in the power saving state.

請求項6に係る本発明によれば、検出部において検出された外部要因の変化に応じた処理を実行する機能が第2の制御部に備わっていない場合でも、第1の制御部が動作停止状態の場合に検出において外部要因の変化を検出した際に、検出部において検出された外部要因の変化に応じた処理を実行することが可能な情報処理装置を提供することができる。 According to the sixth aspect of the present invention, even if the second control unit does not have a function of executing processing according to changes in external factors detected by the detection unit, the first control unit stops operating. It is possible to provide an information processing apparatus capable of executing processing according to the change in the external factor detected by the detection unit when the change in the external factor is detected in the state detection.

請求項7に係る本発明によれば、検出部が外部要因の変化を検出したか否かの監視処理を第1の制御部から第2の制御部に移行する際に、移行期間中に検出部が外部要因の変化を受信した場合であっても、移行期間の終了後に検出部が外部要因の変化を検出したことを検知することが可能なプログラムを提供することができる。 According to the seventh aspect of the present invention, when the monitoring process of whether or not the detection unit detects a change in the external factor is transferred from the first control unit to the second control unit, detection is performed during the transition period. It is possible to provide a program capable of detecting that the detection unit has detected a change in the external factor after the transition period has ended even when the unit receives the change in the external factor.

本発明の一実施形態の画像形成システムのシステム構成を示す図である。1 is a diagram showing the system configuration of an image forming system according to one embodiment of the present invention; FIG. 本発明の一実施形態における画像形成装置10の通常動作モードにおけるハードウェア構成を示すブロック図である。2 is a block diagram showing the hardware configuration in the normal operation mode of image forming apparatus 10 according to one embodiment of the present invention; FIG. 本発明の一実施形態における画像形成装置10のスリープモードにおけるハードウェア構成を示すブロック図である。2 is a block diagram showing the hardware configuration in sleep mode of the image forming apparatus 10 according to one embodiment of the present invention; FIG. CPU10、20においてモデム信号110の論理変化をエッジ検出により検出するための構成を説明するための図である。FIG. 2 is a diagram for explaining a configuration for detecting a logic change of a modem signal 110 by edge detection in CPUs 10 and 20; CPU10、20においてモデム信号110の論理変化をレベル検出により検出するための構成を説明するための図である。2 is a diagram for explaining a configuration for detecting a logic change of a modem signal 110 by level detection in CPUs 10 and 20; FIG. 本発明の一実施形態の画像形成装置40においてモデム信号110の監視処理をCPU10からCPU20に移行する際の処理を説明するためのフローチャートである。4 is a flow chart for explaining processing when the modem signal 110 monitoring processing is transferred from the CPU 10 to the CPU 20 in the image forming apparatus 40 according to the embodiment of the present invention. 図6のフローチャートにおいて説明したCPU10からCPU20への監視処理の移行途中の動作を説明するための図である。FIG. 7 is a diagram for explaining an operation during transition of monitoring processing from the CPU 10 to the CPU 20 explained in the flowchart of FIG. 6; 監視処理の移行中においてもモデム信号110の検出トリガをエッジ検出のままとした場合の、着呼が無い場合のタイミングチャートを示す図である。FIG. 11 is a timing chart showing a case where there is no incoming call when the detection trigger of the modem signal 110 remains edge detection even during transition to monitoring processing. 監視処理の移行中においてもモデム信号110の検出トリガをエッジ検出のままとした場合の、着呼が有る場合のタイミングチャートを示す図である。FIG. 10 is a timing chart showing a case where there is an incoming call when the detection trigger of the modem signal 110 remains edge detection even during transition to monitoring processing. 監視処理の移行中においてモデム信号110の検出トリガをエッジ検出からレベル検出に切り替えた場合の、着呼が無い場合のタイミングチャートを示す図である。FIG. 10 is a timing chart showing a case where there is no incoming call when the detection trigger of the modem signal 110 is switched from edge detection to level detection during transition of monitoring processing. 監視処理の移行中においてモデム信号110の検出トリガをエッジ検出からレベル検出に切り替えた場合の、着呼が有る場合のタイミングチャートを示す図である。FIG. 10 is a diagram showing a timing chart when there is an incoming call when the detection trigger of the modem signal 110 is switched from edge detection to level detection during transition of monitoring processing;

次に、本発明の実施の形態について図面を参照して詳細に説明する。 Next, embodiments of the present invention will be described in detail with reference to the drawings.

図1は本発明の一実施形態の画像形成システムの構成を示す図である。 FIG. 1 is a diagram showing the configuration of an image forming system according to one embodiment of the present invention.

本発明の一実施形態の画像形成システムは、図1に示されるように、ネットワーク60により相互に接続された画像形成装置40、および端末装置50により構成される。端末装置50は、印刷データを生成して、ネットワーク60経由にて生成した印刷データを画像形成装置40に対して送信する。画像形成装置40は、端末装置50から送信された印刷データを受け付けて、印刷データに応じた画像を用紙上に出力する。なお、画像形成装置40は、印刷機能、スキャン機能、複写機能、ファクシミリ機能等の複数の機能を有するいわゆる複合機と呼ばれる装置である。なお、画像形成装置40には、FAX送受信を行うために電話回線70が接続されている。 An image forming system according to one embodiment of the present invention comprises an image forming apparatus 40 and a terminal device 50 interconnected by a network 60, as shown in FIG. The terminal device 50 generates print data and transmits the generated print data to the image forming device 40 via the network 60 . The image forming device 40 receives the print data transmitted from the terminal device 50 and outputs an image corresponding to the print data on paper. Note that the image forming apparatus 40 is a so-called multifunction machine having multiple functions such as a printing function, a scanning function, a copying function, and a facsimile function. A telephone line 70 is connected to the image forming apparatus 40 for facsimile transmission/reception.

次に、本実施形態の画像形成システムにおける画像形成装置40のハードウェア構成を図2のブロック図に示す。 Next, the hardware configuration of the image forming apparatus 40 in the image forming system of this embodiment is shown in the block diagram of FIG.

画像形成装置40は、図2に示すようにハードウェア制御CPU10と、メインCPU20と、FAXモデム30とを備えている。なお、画像形成装置40には、図2に示した構成要素以外にもプリンタ部、スキャナ部、操作部、表示部等の様々な構成要素が備えられているが、本実施形態ではFAX受信における動作について主として説明するため他の構成要素については省略して説明する。 The image forming apparatus 40 includes a hardware control CPU 10, a main CPU 20, and a FAX modem 30, as shown in FIG. In addition to the components shown in FIG. 2, the image forming apparatus 40 includes various components such as a printer unit, a scanner unit, an operation unit, and a display unit. In order to mainly describe the operation, description of other components is omitted.

メインCPU20は、画像形成装置40全体の動作を制御している。そして、ハードウェア制御CPU10は、FAXモデム30等の各種デバイスの動作を制御している。なお、以下の説明については、メインCPU20は単にCPU20、ハードウェア制御CPU10は単にCPU10として標記する。 The main CPU 20 controls the operation of the image forming apparatus 40 as a whole. The hardware control CPU 10 controls operations of various devices such as the FAX modem 30 . In the following description, the main CPU 20 is simply referred to as CPU20, and the hardware control CPU 10 is simply referred to as CPU10.

FAXモデム30は、電話回線70を介して外部のファクシミリ装置等との間でFAXデータの送受信を行う。FAXモデム30は、電話回線70を介して外部からの着呼を検出すると、出力するモデム信号110の論理を変化させる。 The FAX modem 30 transmits and receives FAX data to and from an external facsimile device or the like via the telephone line 70 . When the FAX modem 30 detects an incoming call from the outside via the telephone line 70, it changes the logic of the output modem signal 110. FIG.

なお、本実施形態では、FAXモデム30は、外部からの着呼を検知した場合にはモデム信号110をロウレベル(以下Lレベルと略す。)とし、外部からの着呼を検知していない未検知の場合にはモデム信号110をハイレベル(以下Hレベルと略す。)とするものとして説明する。 In this embodiment, the FAX modem 30 sets the modem signal 110 to low level (hereinafter abbreviated as L level) when an incoming call from the outside is detected, and when an incoming call from the outside is not detected. In this case, the modem signal 110 is set to high level (hereinafter abbreviated as H level).

つまり、FAXモデム30は、モデム信号110を割込信号としてCPU10、20にそれぞれ出力しており、出力するモデム信号110の論理を変化させることにより着呼の有無を通知している。 That is, the FAX modem 30 outputs the modem signal 110 as an interrupt signal to the CPUs 10 and 20, respectively, and notifies the presence or absence of an incoming call by changing the logic of the output modem signal 110. FIG.

そして、CPU10は、モデム信号110の論理変化を検出すると、FAXモデム30において検出した着呼に応じた処理を実行する制御を行う。 When the CPU 10 detects a logic change in the modem signal 110, the CPU 10 controls the FAX modem 30 to execute processing according to the incoming call detected.

そして、図2に示した画像形成装置40のブロック図は、通常動作モードにおける様子を示す図である。 The block diagram of the image forming apparatus 40 shown in FIG. 2 shows the state in the normal operation mode.

本実施形態の画像形成装置40は、消費電力の削減のために通常動作モードとは別に、スリープモード(又は省電力モード)という動作モードとなるような機能を備えている。画像形成装置40は、例えば、予め設定された時間以上操作が行われなかった場合等に通常動作モードからスリープモードに自動的に移行することにより消費電力を削減するように構成されている。 The image forming apparatus 40 of the present embodiment has a function of operating in a sleep mode (or a power saving mode) in addition to the normal operating mode in order to reduce power consumption. The image forming apparatus 40 is configured to reduce power consumption by automatically shifting from a normal operation mode to a sleep mode, for example, when no operation has been performed for a preset time or longer.

図2は通常動作モードにおける様子が示されており、CPU10、CPU20、FAXモデム30は全て通常の状態で動作を行っている。そして、通常動作モードでは、CPU10は、モデム信号110の論理変化を検出する際の割り込み検知の状態をソフトウェア的にEnable(イネーブル)状態、つまり割り込み許可の状態に設定している。 FIG. 2 shows the state in the normal operation mode, and the CPU 10, CPU 20 and FAX modem 30 are all operating in the normal state. In the normal operation mode, the CPU 10 sets the interrupt detection state when detecting a logic change of the modem signal 110 to an enable state, that is, an interrupt permission state in terms of software.

逆に、CPU20は、通常動作モードでは、モデム信号110の論理変化を検出する際の割り込み検知の状態をソフトウェア的にDisable(ディセーブル)状態、つまり割り込み不許可の状態、又は割り込みのマスク状態に設定している。 Conversely, in the normal operation mode, the CPU 20 sets the state of interrupt detection when detecting a logic change in the modem signal 110 to a disabled state by software, that is, a state in which interrupts are not permitted, or a state in which interrupts are masked. have set.

そのため、この通常動作モードでは、FAXモデム30からのモデム信号110の論理変化の検知処理はCPU10が行っている。 Therefore, in this normal operation mode, the CPU 10 performs the process of detecting logic changes in the modem signal 110 from the FAX modem 30 .

次に、スリープモードにおける画像形成装置40の様子を図3に示す。 Next, FIG. 3 shows the state of the image forming apparatus 40 in sleep mode.

図3では、消費電力を削減するためにCPU10は電源オフ状態となっており、FAXモデム30は省電力状態となっている。FAXモデム30では、省電力状態においても電話回線70からの着呼の有無を検出してモデム信号110を論理変化させる機能は有効に動作しているが、FAXデータを受信する処理は通常動作状態とならなければ実行することができない。 In FIG. 3, the CPU 10 is in a power off state to reduce power consumption, and the FAX modem 30 is in a power saving state. In the FAX modem 30, the function of detecting the presence or absence of an incoming call from the telephone line 70 and changing the logic of the modem signal 110 by detecting the presence or absence of an incoming call from the telephone line 70 operates effectively even in the power saving state. If not, it cannot be executed.

そして、このスリープモードでは、CPU20は、モデム信号110の論理変化を検出する際の割り込み検知の状態をソフトウェア的にEnable状態の状態に設定する。つまり、スリープモードでは、FAXモデム30からのモデム信号110の論理変化の検知処理はCPU20が行っている。 In this sleep mode, the CPU 20 sets the interrupt detection state when detecting a logic change of the modem signal 110 to the enable state by software. In other words, in the sleep mode, the CPU 20 performs processing for detecting logic changes in the modem signal 110 from the FAX modem 30 .

つまり、図2に示したような通常動作モードから図3に示したようなスリープモードに移行する際には、FAXモデム30からのモデム信号110の論理変化の監視処理をCPU10からCPU20に移行する必要がある。 That is, when shifting from the normal operation mode as shown in FIG. 2 to the sleep mode as shown in FIG. There is a need.

そして、CPU20は、CPU10からモデム信号110の論理変化の監視処理を移行する際に、モデム信号110の論理変化の検出方法をエッジ検出からレベル検出に切り替え、CPU10においてモデム信号110の論理変化に伴う割り込み処理がDisable状態となった後に、移行期間が終了するとモデム信号110の論理変化に伴う割り込み処理をEnable状態として、モデム信号110の論理状態に応じてFAXモデム30において検出した着呼に応じた処理が実行されるような制御を行う。 Then, when the CPU 20 shifts from the CPU 10 to the monitoring process of the logic change of the modem signal 110, the CPU 20 switches the detection method of the logic change of the modem signal 110 from edge detection to level detection, and detects the logic change of the modem signal 110 in the CPU 10. When the transition period ends after the interrupt processing is disabled, the interrupt processing associated with the logic change of the modem signal 110 is enabled, and the incoming call detected by the FAX modem 30 is responded to according to the logic state of the modem signal 110. Control the execution of processing.

具体的には、CPU20は、CPU10からモデム信号110の論理変化の監視処理が移行され、モデム信号110の論理変化に伴う割り込みが許可されて、モデム信号110の論理変化を検出した場合に、自装置の動作モードをスリープモードから通常動作モードに切り替えて、CPU10を起動させてFAXモデム30において検出された着呼の処理を実行させる。 Specifically, when the CPU 20 detects a logic change in the modem signal 110 after transitioning from the CPU 10 to monitoring processing for a logic change in the modem signal 110 and allowing an interrupt due to a logic change in the modem signal 110, the CPU 20 automatically detects a logic change in the modem signal 110. The operating mode of the device is switched from the sleep mode to the normal operating mode, and the CPU 10 is activated to process the incoming call detected by the FAX modem 30. FIG.

なお、CPU20は、監視処理の移行期間の終了後に、モデム信号110の論理変化の検出方法、つまり検出トリガをレベル検出からエッジ検出に切り替える制御を行う。 It should be noted that the CPU 20 controls the method of detecting a logic change in the modem signal 110, that is, switching the detection trigger from level detection to edge detection after the end of the transition period of the monitoring process.

そして、CPU20は、自装置の動作モードが通常動作モードから省電力モードに切り替えられた際に、CPU10からモデム信号110の論理変化の監視処理を移行し、CPU10を動作停止状態、つまり電源オフ状態とする。 Then, when the operation mode of the device itself is switched from the normal operation mode to the power saving mode, the CPU 20 shifts the monitoring processing of the logic change of the modem signal 110 from the CPU 10, and puts the CPU 10 into an operation stop state, that is, a power off state. and

なお、CPU10は、この電源オフ状態となる前に、FAXモデム30を省電力状態とする制御を行う。 Note that the CPU 10 controls the FAX modem 30 to be in the power saving state before the power is turned off.

ここで、FAXモデム30は、通常動作状態から省電力状態に移行する際に、内部で発生したノイズによりモデム信号110を論理変化させる。このノイズは、モデムスリープノイズと呼ばれ、モデムスリープノイズが発生すると着呼が無いにもかかわらずモデム信号110が誤動作によりHレベルからLレベル、つまり着呼があることを示す状態となってしまう。 Here, when the FAX modem 30 shifts from the normal operation state to the power saving state, the logic of the modem signal 110 is changed due to internally generated noise. This noise is called modem sleep noise. When modem sleep noise occurs, the modem signal 110 malfunctions and changes from H level to L level, indicating that there is an incoming call, even though there is no incoming call. .

そのため、CPU10は、管理処理の移行期間中にFAXモデム30を制御して、FAXモデム30から出力されるモデム信号110をLレベルからHレベルに戻すような制御を行う。この制御はモデムクリアと呼ばれ、モデムクリアが行われることによりモデムスリームノイズにより誤動作していたモデム信号110は、Hレベルとなり正常な状態となる。 Therefore, the CPU 10 controls the FAX modem 30 during the transition period of the management process so as to return the modem signal 110 output from the FAX modem 30 from the L level to the H level. This control is called modem clear, and the modem signal 110, which has malfunctioned due to modem stream noise, becomes H level and returns to a normal state.

そして、CPU10は、監視処理の移行期間中のモデム信号110の論理変化の検出状態を、移行期間の終了前に一旦クリアにする。また、CPU20も、同様に、監視処理の移行期間中のモデム信号110の論理変化の検出状態を、移行期間の終了前に一旦クリアにする。 Then, the CPU 10 once clears the detection state of the logic change of the modem signal 110 during the transition period of the monitoring process before the end of the transition period. Similarly, the CPU 20 once clears the detection state of the logic change of the modem signal 110 during the transition period of the monitoring process before the end of the transition period.

次に、CPU10、20においてモデム信号110の論理変化を検出するための構成について図4、図5を参照して説明する。 Next, a configuration for detecting a logic change of modem signal 110 in CPUs 10 and 20 will be described with reference to FIGS. 4 and 5. FIG.

なお、CPU10、20の基本的な構成は同様な構成となっているため、図4、図5ではCPU10、20を同時に説明する。 Since the basic configurations of the CPUs 10 and 20 are the same, the CPUs 10 and 20 will be described simultaneously with reference to FIGS. 4 and 5. FIG.

CPU10は、演算処理部11、検知部12、レジスタ13を有し、CPU20は、演算処理部21、検知部22、レジスタ23を有している。 The CPU 10 has an arithmetic processing section 11 , a detection section 12 and a register 13 , and the CPU 20 has an arithmetic processing section 21 , a detection section 22 and a register 23 .

なお、図4は、検知部12、22が、モデム信号110の論理変化をエッジ検出により検出するような設定が行われている場合を説明する図であり、図5は、検知部12、22が、モデム信号110の論理変化をレベル検出により検出するような設定が行われている場合を説明する図である。 FIG. 4 is a diagram for explaining a case where the detection units 12 and 22 are set to detect logic changes in the modem signal 110 by edge detection. However, it is a diagram for explaining a case where a setting is made to detect a logic change of the modem signal 110 by level detection.

検知部12、22は、モデム信号110の論理変化を設定された検出方法により検出すると、その検出結果をレジスタ12、23に格納する。 When detecting a logic change of the modem signal 110 by the set detection method, the detection units 12 and 22 store the detection result in the registers 12 and 23 .

具体的には、検知部12、22は、図4に示すように、検出トリガがエッジ検出に設定されている場合、モデム信号110がHレベルからLレベルに変化する立下りを検出するとレジスタ12、23に「1」を格納する。 Specifically, as shown in FIG. 4, when the detection trigger is set to edge detection, the detection units 12 and 22 detect the falling edge of the modem signal 110 that changes from H level to L level. , 23 are stored with "1".

そして、検知部12、22は、図5に示すように、検出トリガがレベル検出に設定されている場合、モデム信号110のレベル判定を行い、その判定結果がLレベルである場合レジスタ12、23に「1」を格納する。 As shown in FIG. 5, the detection units 12 and 22 determine the level of the modem signal 110 when the detection trigger is set to level detection, and when the determination result is L level, the registers 12 and 23 stores "1" in

そして、レジスタ13、23は、「0」が格納されている場合にはLレベルの検知信号を出力し、「1」が格納されている場合にはHレベルの検知信号を出力する。 The registers 13 and 23 output an L-level detection signal when "0" is stored, and output an H-level detection signal when "1" is stored.

演算処理部11、21は、検知信号がLレベルからHレベルになったことによる割り込み処理を許可するか不許可するかをソフトウェア的に設定することができるようになっている。以降の説明では、上記でも説明したように、割り込み処理を許可した状態をEnable(イネーブル)状態、割り込み処理を不許可とした状態をDisable(ディセーブル)状態と表現する。 The arithmetic processing units 11 and 21 can be set by software as to whether to permit or not to permit interrupt processing when the detection signal changes from the L level to the H level. In the following description, as described above, a state in which interrupt processing is permitted is referred to as an Enable state, and a state in which interrupt processing is not permitted is referred to as a Disable state.

つまり、演算処理部11、21は、割り込み処理がEnable状態に設定され、かつ検知信号がHレベルとなっている場合に、モデム信号110がLレベルとなったこと、つまりFAXモデム30の着呼状態を検出した状態となる。 In other words, when the interrupt process is set to the Enable state and the detection signal is at H level, the arithmetic processing units 11 and 21 detect that the modem signal 110 has become L level, that is, that the FAX modem 30 has received a call. A state is detected.

次に、本実施形態の画像形成装置40においてモデム信号110の監視処理をCPU10からCPU20に移行する際の処理について図6のフローチャートを参照して説明する。 Next, the processing when the monitoring processing of the modem signal 110 is shifted from the CPU 10 to the CPU 20 in the image forming apparatus 40 of this embodiment will be described with reference to the flowchart of FIG.

先ず、通常動作モードの場合、図2に示すようにCPU10は割り込み検知がEnable状態、CPU20は割り込み検知がDisable状態に設定されている。 First, in the case of the normal operation mode, as shown in FIG. 2, the CPU 10 is set to enable interrupt detection, and the CPU 20 is set to disable interrupt detection.

そして、画像形成装置40が通常動作モードから省電力モードに移行する条件が満たされた場合、CPU10、20は、ステップS101において、モデム信号110の検出トリガをエッジ検出からレベル検出に変更する。 Then, when the conditions for shifting the image forming apparatus 40 from the normal operation mode to the power saving mode are satisfied, the CPUs 10 and 20 change the modem signal 110 detection trigger from edge detection to level detection in step S101.

そして、CPU20がCPU10に対して省電力モードへの移行を指示すると、CPU10は、ステップS102において、モデム信号110の割り込み検知をEnable状態からDisable状態に変更する。 Then, when the CPU 20 instructs the CPU 10 to shift to the power saving mode, the CPU 10 changes the interrupt detection of the modem signal 110 from the Enable state to the Disable state in step S102.

すると、CPU10は、ステップS103において、FAXモデム30を省電力状態に移行する。この際に、FAXモデム30では、上述したようなモデムスリープノイズが発生してモデム信号110がLレベルとなってしまう。 Then, in step S103, the CPU 10 shifts the FAX modem 30 to the power saving state. At this time, in the FAX modem 30, modem sleep noise as described above occurs, and the modem signal 110 becomes L level.

そのため、CPU10は、ステップS104において、FAXモデム30に対してモデム信号110をHレベルに戻すモデムクリアを実行する。 Therefore, in step S104, the CPU 10 executes modem clear for the FAX modem 30 to return the modem signal 110 to H level.

そして、CPU10では、ステップS105において、検知信号がクリアされ、CPU20では、ステップS106において、検知信号がクリアされる。 The CPU 10 clears the detection signal in step S105, and the CPU 20 clears the detection signal in step S106.

そして、CPU20では、ステップS107において、モデム信号110の割り込み検知がDisable状態からEnable状態に変更される。 In step S107, the CPU 20 changes the interrupt detection of the modem signal 110 from the disabled state to the enabled state.

最後に、CPU20が、ステップS108において、CPU10を電源オフ状態として移行処理は完了する。 Finally, in step S108, the CPU 20 turns off the power of the CPU 10 to complete the transition process.

その後、CPU20では、モデム信号110の検出トリガをレベル検出からエッジ検出に戻す処理が実行される。 After that, the CPU 20 executes processing for returning the detection trigger of the modem signal 110 from level detection to edge detection.

このような移管処理が実行されることにより、図2に示すような通常動作モードから図3に示すようなスリープモードへの移行処理が完了する。 By executing such a transfer process, the transition process from the normal operation mode as shown in FIG. 2 to the sleep mode as shown in FIG. 3 is completed.

なお、図6のフローチャートにおいて説明したCPU10からCPU20への監視処理の移行途中の動作を図7に示す。 FIG. 7 shows the operation during the transfer of the monitoring process from the CPU 10 to the CPU 20 described in the flowchart of FIG.

(1)先ず、CPU20がCPU10に省電力状態への移行指示を行う。その際に、CPU10、20では、モデム信号110の検出トリガをエッジ検出からレベル検出に切り替える。
(2)すると、CPU10では、割り込み検知をEnable状態からDisable状態に変更する。
(3)そして、CPU10がFAXモデム30に省電力状態への移行を指示することによりFAXモデム30は省電力状態となる。その際にモデムスリープノイズが発生したことによりモデム信号110がHレベルからLレベルとなってしまう。
(4)そのため、CPU10は、FAXモデム30に対してモデムクリアを行う。その結果、モデム信号110がLレベルからHレベルに戻る。
(1) First, the CPU 20 instructs the CPU 10 to shift to the power saving state. At this time, the CPUs 10 and 20 switch the modem signal 110 detection trigger from edge detection to level detection.
(2) Then, the CPU 10 changes the interrupt detection from the Enable state to the Disable state.
(3) Then, the CPU 10 instructs the FAX modem 30 to shift to the power saving state, whereby the FAX modem 30 enters the power saving state. At that time, the modem signal 110 changes from H level to L level due to modem sleep noise.
(4) Therefore, the CPU 10 clears the FAX modem 30 . As a result, the modem signal 110 returns from L level to H level.

その後、CPU10、20においてそれぞれの検知信号がクリアされ、CPU20が割込み検知をDisable状態からEnable状態に変更する。そして、CPU10が電源オフ状態となって監視処理の移行が終了する。なお、CPU20は、モデム信号110の検出トリガをレベル検出からエッジ検出に戻す。 After that, the respective detection signals are cleared in the CPUs 10 and 20, and the CPU 20 changes the interrupt detection from the disabled state to the enabled state. Then, the CPU 10 is turned off, and the shift of the monitoring process ends. Note that the CPU 20 changes the modem signal 110 detection trigger from level detection to edge detection.

次に、モデム信号110の監視処理をCPU10からCPU20に移行する際に、モデム信号110の検出トリガをエッジ検出からレベル検出に切り替えている理由を図8~図11のタイミングチャートを参照して説明する。 Next, the reason why the modem signal 110 detection trigger is switched from edge detection to level detection when the monitoring process of the modem signal 110 is transferred from the CPU 10 to the CPU 20 will be described with reference to the timing charts of FIGS. do.

先ず、監視処理の移行中においてもモデム信号110の検出トリガをエッジ検出のままとした場合のタイミングチャートを図8、図9に示す。 First, FIGS. 8 and 9 show timing charts when the modem signal 110 detection trigger remains edge detection even during the transition to the monitoring process.

そして、図8は、監視処理の移行中に着呼が無い場合で、図9は、管理処理の移行中に着呼が有る場合を示している。 FIG. 8 shows a case where there is no incoming call during transition of the monitoring process, and FIG. 9 shows a case where there is an incoming call during transition of the management process.

先ず、図8のタイミングチャートについて説明する。CPU10が、時刻T2において、割込み検知をDisable状態に変更して、時刻T4において、FAXモデム30を省電力状態にした場合、FAXモデム30において発生したモデムスリープノイズによりモデム信号110はLレベルとなる。 First, the timing chart of FIG. 8 will be described. When the CPU 10 changes interrupt detection to the disabled state at time T2 and puts the FAX modem 30 into the power saving state at time T4, modem sleep noise generated in the FAX modem 30 causes the modem signal 110 to go low. .

すると、CPU10、20では、このモデム信号110の論理変化が検出されて、それぞれの検知信号も検知状態つまりHレベルとなる。 Then, the CPUs 10 and 20 detect the logic change of the modem signal 110, and the respective detection signals are also in the detection state, ie, H level.

その後、時刻T5において、CPU10がFAXモデム30に対してモデムクリアを行うと、モデム信号110は未検知状態であるHレベルに戻る。 After that, at time T5, when the CPU 10 clears the FAX modem 30, the modem signal 110 returns to H level, which is an undetected state.

そして、時刻T6において、CPU10は検知信号をクリアし、時刻T7において、CPU20は検知信号をクリアする。 At time T6, the CPU 10 clears the detection signal, and at time T7, the CPU 20 clears the detection signal.

その後、CPU20は、時刻T8において、割り込み検知をDisable状態からEnable状態に変更して監視処理の移行が完了する。 After that, at time T8, the CPU 20 changes the interrupt detection from the disabled state to the enabled state to complete the shift of the monitoring process.

この図8のタイミングチャートでは、移行期間中に着呼が無いため特に問題は発生しない。 In the timing chart of FIG. 8, no particular problem occurs because there is no incoming call during the transition period.

次に、図9のタイミングチャートについて説明する。CPU10が、時刻T2において、割込み検知をDisable状態に変更する。 Next, the timing chart of FIG. 9 will be described. The CPU 10 changes interrupt detection to the disabled state at time T2.

そして、図9では、時刻T3において、FAXモデム30が電話回線70からの着呼を検出したことにより、モデム信号110はLレベルとなる。 In FIG. 9, at time T3, FAX modem 30 detects an incoming call from telephone line 70, and modem signal 110 becomes L level.

すると、CPU10、20では、このモデム信号110の論理変化が検出されて、それぞれの検知信号も検知状態つまりHレベルとなる。 Then, the CPUs 10 and 20 detect the logic change of the modem signal 110, and the respective detection signals are also in the detection state, ie, H level.

そして、時刻T4において、CPU10がFAXモデム30を省電力状態にしたことにより、FAXモデム30においてモデムスリープノイズが発生するがモデム信号110は既にLレベルとっているため論理変化は発生しない。 At time T4, the CPU 10 puts the FAX modem 30 into the power saving state, so that modem sleep noise occurs in the FAX modem 30, but since the modem signal 110 has already taken L level, no logic change occurs.

その後、時刻T5において、CPU10がFAXモデム30に対してモデムクリアを行うが、モデム信号110は一時的には未検知状態であるHレベルに戻るが、着呼状態が継続しているためモデム信号110はLレベルのままとなる。 After that, at time T5, the CPU 10 clears the FAX modem 30, but the modem signal 110 temporarily returns to H level, which is an undetected state. 110 remains at L level.

そして、時刻T6において、CPU10は検知信号をクリアし、時刻T7において、CPU20は検知信号をクリアする。 At time T6, the CPU 10 clears the detection signal, and at time T7, the CPU 20 clears the detection signal.

その後、CPU20は、時刻T8において、割り込み検知をDisable状態からEnable状態に変更して監視処理の移行を完了するが、時刻T7において検知信号をクリアしてしまっているため、割り込み検知をEnable状態としたとしてもCPU20は着呼状態を検出することはできない。 After that, at time T8, the CPU 20 changes the interrupt detection from the disabled state to the enabled state to complete the shift of the monitoring process. Even if it does, the CPU 20 cannot detect the incoming call state.

つまり、図9のタイミングチャートでは、CPU20は、移行期間中の時刻T3において発生した着呼を移行期間の完了後に検知することができない。そのため、画像形成装置40はスリープモードのままとなり、移行期間中に発生した着呼は適切に処理されないことになる。 That is, in the timing chart of FIG. 9, the CPU 20 cannot detect the incoming call that occurred at time T3 during the transition period after the transition period is completed. Therefore, the image forming apparatus 40 remains in sleep mode, and incoming calls that occur during the transition period are not properly processed.

次に、監視処理の移行中においてモデム信号110の検出トリガをエッジ検出からレベル検出に切り替えるようにした本実施形態の画像形成装置40におけるタイミングチャートを図10、図11に示す。 Next, FIGS. 10 and 11 show timing charts in the image forming apparatus 40 of the present embodiment in which the detection trigger of the modem signal 110 is switched from edge detection to level detection during transition of monitoring processing.

そして、図10は、監視処理の移行中に着呼が無い場合で、図11は、管理処理の移行中に着呼が有る場合を示している。 FIG. 10 shows a case where there is no incoming call during transition of the monitoring process, and FIG. 11 shows a case where there is an incoming call during transition of the management process.

先ず、図10のタイミングチャートについて説明する。時刻T1では、CPU10、20においてモデム信号110の検出トリガをエッジ検出からレベル検出に切り替える処理が行われる。 First, the timing chart of FIG. 10 will be described. At time T1, the CPUs 10 and 20 perform processing for switching the modem signal 110 detection trigger from edge detection to level detection.

そして、CPU10が、時刻T2において、割込み検知をDisable状態に変更して、時刻T4において、FAXモデム30を省電力状態にした場合、FAXモデム30において発生したモデムスリープノイズによりモデム信号110はLレベルとなる。 When the CPU 10 changes interrupt detection to the disabled state at time T2 and puts the FAX modem 30 into the power saving state at time T4, modem sleep noise generated in the FAX modem 30 causes the modem signal 110 to go low. becomes.

すると、CPU10、20では、このモデム信号110の論理変化が検出されて、それぞれの検知信号も検知状態つまりHレベルとなる。 Then, the CPUs 10 and 20 detect the logic change of the modem signal 110, and the respective detection signals are also in the detection state, ie, H level.

その後、時刻T5において、CPU10がFAXモデム30に対してモデムクリアを行うと、モデム信号110は未検知状態であるHレベルに戻る。 After that, at time T5, when the CPU 10 clears the FAX modem 30, the modem signal 110 returns to H level, which is an undetected state.

そして、時刻T6において、CPU10は検知信号をクリアし、時刻T7において、CPU20は検知信号をクリアする。この図9のフローチャートでは、時刻T6、T7において、モデム信号110の検出トリガがエッジ検出であるため、CPU10、20の検知信号は一旦クリアされるとそのままクリアされた状態、つまりLレベルの状態のままとなる。つまり、ある信号の論理変化をエッジ検出により検出する場合、その信号がHレベルからLレベル(又はその逆)というようにレベル反転が発生しないと論理変化として検出されないからである。 At time T6, the CPU 10 clears the detection signal, and at time T7, the CPU 20 clears the detection signal. In the flowchart of FIG. 9, at times T6 and T7, the detection trigger of the modem signal 110 is edge detection. remain. That is, when a logic change of a certain signal is detected by edge detection, it is not detected as a logic change unless level inversion occurs such that the signal changes from H level to L level (or vice versa).

その後、CPU20は、時刻T8において、割り込み検知をDisable状態からEnable状態に変更する。そして、CPU20では、時刻T9において、検出トリガをレベル検出からエッジ検出に変更して監視処理の移行が完了する。 Thereafter, at time T8, the CPU 20 changes interrupt detection from the Disable state to the Enable state. Then, at time T9, the CPU 20 changes the detection trigger from level detection to edge detection, and the transition to the monitoring process is completed.

この図10のタイミングチャートでは、移行期間中に着呼が無いため図8に示したタイミングチャートとは大きな差は発生しない。 In the timing chart of FIG. 10, there is no incoming call during the transition period, so there is no big difference from the timing chart shown in FIG.

次に、図11のタイミングチャートについて説明する。時刻T1では、CPU10、20においてモデム信号110の検出トリガをエッジ検出からレベル検出に切り替える処理が行われる。そして、CPU10が、時刻T2において、割込み検知をDisable状態に変更する。 Next, the timing chart of FIG. 11 will be described. At time T1, the CPUs 10 and 20 perform processing for switching the modem signal 110 detection trigger from edge detection to level detection. Then, the CPU 10 changes interrupt detection to the disabled state at time T2.

ここで、図11では、時刻T3において、FAXモデム30が電話回線70からの着呼を検出したことにより、モデム信号110はLレベルとなる。 Here, in FIG. 11, the FAX modem 30 detects an incoming call from the telephone line 70 at time T3, and the modem signal 110 becomes L level.

すると、CPU10、20では、このモデム信号110の論理変化が検出されて、それぞれの検知信号も検知状態つまりHレベルとなる。 Then, the CPUs 10 and 20 detect the logic change of the modem signal 110, and the respective detection signals are also in the detection state, ie, H level.

そして、時刻T4において、CPU10がFAXモデム30を省電力状態にしたことにより、FAXモデム30においてモデムスリープノイズが発生するがモデム信号110は既にLレベルとっているため論理変化は発生しない。 At time T4, the CPU 10 puts the FAX modem 30 into the power saving state, so that modem sleep noise occurs in the FAX modem 30, but since the modem signal 110 has already taken L level, no logic change occurs.

その後、時刻T5において、CPU10がFAXモデム30に対してモデムクリアを行うが、モデム信号110は一時的には未検知状態であるHレベルに戻るが、着呼状態が継続しているためモデム信号110はLレベルのままとなる。 After that, at time T5, the CPU 10 clears the FAX modem 30, but the modem signal 110 temporarily returns to H level, which is an undetected state. 110 remains at L level.

そして、時刻T6において、CPU10は検知信号をクリアし、時刻T7において、CPU20は検知信号をクリアする。この図11のタイミングチャートでは、時刻T6、T7において、モデム信号110の検出トリガがレベル検出であるため、CPU10、20の検知信号は一旦クリアされたとしても、その後もモデム信号110がLレベルであることにより、検知信号は再度検知状態、つまりHレベルの状態となる。つまり、本実施形態では、モデム信号110の論理状態をレベル検出により検出する場合、モデム信号110がLレベルの状態である限り、モデム信号110はHレベルからLレベルに変化したことを検出することができるからである。 At time T6, the CPU 10 clears the detection signal, and at time T7, the CPU 20 clears the detection signal. In the timing chart of FIG. 11, at times T6 and T7, the modem signal 110 detection trigger is level detection. As a result, the detection signal becomes the detection state again, that is, the state of H level. That is, in this embodiment, when the logic state of the modem signal 110 is detected by level detection, it is possible to detect that the modem signal 110 has changed from the H level to the L level as long as the modem signal 110 is in the L level state. This is because

その後、CPU20は、時刻T8において、割り込み検知をDisable状態からEnable状態に変更して監視処理の移行を完了する。その際に、CPU20の検知信号がHレベルであり、かつCPU20の割り込み検知がEnable状態であるため、CPU20は、モデム信号110がLレベルとなっていること、つまり着呼状態を検出することができている。 After that, at time T8, the CPU 20 changes the interrupt detection from the disabled state to the enabled state, and completes the transition of the monitoring process. At this time, since the detection signal of the CPU 20 is at the H level and the interrupt detection of the CPU 20 is in the Enable state, the CPU 20 can detect that the modem signal 110 is at the L level, that is, the incoming call state. is made of.

つまり、図11のタイミングチャートでは、CPU20は、移行期間中の時刻T3において発生した着呼を移行期間の完了後に検知することができている。そのため、画像形成装置40はスリープモードを解除して通常動作モードに移行して、CPU10を起動させるので、移行期間中に発生した着呼は適切に処理される。 That is, in the timing chart of FIG. 11, the CPU 20 can detect the incoming call that occurred at time T3 during the transition period after the transition period is completed. Therefore, the image forming apparatus 40 cancels the sleep mode, shifts to the normal operation mode, and activates the CPU 10, so that an incoming call that occurs during the transition period is appropriately processed.

[変形例]
上記実施形態では、電話回線70を経由したFAXの着呼を検出すると、出力するモデム信号110の論理を変化させるFAXモデム30を用いた場合について説明したが、本発明はこれに限定されるものではなく、外部要因の変化を検出すると、出力する割込信号の論理を変化させる検出部を用いた場合でも同様に本発明を適用することができるものである。
[Modification]
In the above embodiment, the case of using the FAX modem 30 that changes the logic of the output modem signal 110 upon detection of an incoming FAX call via the telephone line 70 has been described, but the present invention is limited to this. Instead, the present invention can be applied in the same manner even when a detection unit that changes the logic of the output interrupt signal upon detection of a change in an external factor is used.

10 ハードウェア制御CPU
11 演算処理部
12 検知部
13 レジスタ
20 メインCPU
21 演算処理部
22 検知部
23 レジスタ
30 FAXモデム
40 画像形成装置
50 端末装置
60 ネットワーク
70 電話回線
110 モデム信号
10 hardware control CPU
11 arithmetic processing unit 12 detection unit 13 register 20 main CPU
21 arithmetic processing unit 22 detection unit 23 register 30 FAX modem 40 image forming apparatus 50 terminal device 60 network 70 telephone line 110 modem signal

Claims (7)

外部からの着呼を検出すると、前記着呼の有無を通知するための割込信号の論理を変化させる検出部と、
前記割込信号の論理変化を検出すると、前記検出部において検出した着呼に応じた処理を実行する制御を行う第1の制御部と、
前記第1の制御部を制御するとともに、前記第1の制御部から前記割込信号の論理変化の監視処理を移行する際に、前記割込信号の論理変化の検出方法をエッジ検出からレベル検出に切り替え、前記第1の制御部において前記割込信号の論理変化に伴う割り込み処理が不許可となった後に、移行期間が終了すると前記割込信号の論理変化に伴う割り込み処理を許可として、前記割込信号の論理状態に応じて前記検出部において検出した着呼に応じた処理が実行されるような制御を行う第2の制御部と、
を備えた情報処理装置。
a detection unit that, when detecting an incoming call from the outside , changes the logic of an interrupt signal for notifying the presence or absence of the incoming call ;
a first control unit that performs control to execute processing corresponding to an incoming call detected by the detection unit when a logic change in the interrupt signal is detected;
controlling the first control unit and changing a detection method of the logic change of the interrupt signal from edge detection to level detection when transitioning from the first control unit to monitoring processing of the logic change of the interrupt signal; and after the first control unit disallows interrupt processing associated with a logic change of the interrupt signal, when the transition period ends, interrupt processing associated with a logic change of the interrupt signal is permitted, a second control unit that performs control such that processing corresponding to the incoming call detected by the detection unit is executed according to the logic state of the interrupt signal;
Information processing device with
前記第2の制御部が、移行期間の終了後に、前記割込信号の論理変化の検出方法をレベル検出からエッジ検出に切り替える制御を行う請求項1記載の情報処理装置。 2. The information processing apparatus according to claim 1, wherein said second control unit performs control to switch a method of detecting a logic change of said interrupt signal from level detection to edge detection after a transition period ends. 前記第2の制御部が、移行期間中の前記割込信号の論理変化の検出状態を、移行期間の終了前に一旦クリアにする請求項1又は2記載の情報処理装置。 3. The information processing apparatus according to claim 1, wherein said second control unit once clears the detection state of the logic change of said interrupt signal during the transition period before the end of the transition period. 前記第2の制御部が、自装置の動作モードが通常動作モードから省電力モードに切り替えられた際に、前記第1の制御部から前記割込信号の論理変化の監視処理を移行し、前記第1の制御部を動作停止状態とする請求項1から3のいずれか記載の情報処理装置。 When the operation mode of the device is switched from the normal operation mode to the power saving mode, the second control unit shifts the monitoring process of the logic change of the interrupt signal from the first control unit, 4. The information processing apparatus according to any one of claims 1 to 3, wherein the first control unit is in an operation stop state. 前記第1の制御部が、動作停止状態となる前に、前記検出部を省電力状態とする制御を行い、
前記検出部は、通常動作状態から省電力状態に移行する際に、内部で発生したノイズにより前記割込信号を論理変化させる請求項4記載の情報処理装置。
The first control unit controls the detection unit to be in a power saving state before entering the operation stop state,
5. The information processing apparatus according to claim 4, wherein the detection unit changes the logic of the interrupt signal due to internally generated noise when shifting from the normal operation state to the power saving state.
前記第2の制御部が、前記第1の制御部から前記割込信号の論理変化の監視が移行され、前記割込信号の論理変化に伴う割り込みが許可されて、前記割込信号の論理変化を検出した場合に、自装置の動作モードを省電力モードから通常動作モードに切り替えて、前記第1の制御部を起動させて前記検出部において検出した着呼に応じた処理を実行させる請求項4又は5記載の情報処理装置。 In the second control unit, the monitoring of the logic change of the interrupt signal is transferred from the first control unit, the interrupt accompanying the logic change of the interrupt signal is permitted, and the logic change of the interrupt signal is permitted. is detected, the operation mode of the device is switched from the power saving mode to the normal operation mode, and the first control unit is activated to execute processing according to the incoming call detected by the detection unit. 6. The information processing device according to 4 or 5. 外部からの着呼を検出して前記着呼の有無を通知するための割込信号の論理を変化させるステップと、
第1の制御部において、前記割込信号の論理変化を検出すると、検出された着呼に応じた処理を実行する制御を行うステップと、
前記第1の制御部を制御する第2制御部において、前記第1の制御部から前記割込信号の論理変化の監視処理を移行する際に、前記割込信号の論理変化の検出方法をエッジ検出からレベル検出に切り替えるステップと、
前記第2の制御部において、前記第1の制御部において前記割込信号の論理変化に伴う割り込み処理が不許可となった後に、移行期間が終了すると前記割込信号の論理変化に伴う割り込み処理を許可として、前記割込信号の論理状態に応じて、検出された着呼に応じた処理が実行されるような制御を行うステップと、
をコンピュータに実行させるためのプログラム。
detecting an incoming call from the outside and changing the logic of an interrupt signal for notifying the presence or absence of the incoming call;
a first control unit, upon detecting a logic change of the interrupt signal, performing control to execute processing according to the detected incoming call ;
In a second control unit that controls the first control unit, when transitioning from the first control unit to monitoring processing of a logic change in the interrupt signal, a method for detecting a logic change in the interrupt signal is provided. switching from edge detection to level detection;
In the second control unit, when the transition period ends after the first control unit disallows the interrupt processing associated with the logic change of the interrupt signal, interrupt processing associated with the logic change of the interrupt signal is performed. and performing control so that processing corresponding to the detected incoming call is executed according to the logic state of the interrupt signal;
A program that causes a computer to run
JP2019049480A 2019-03-18 2019-03-18 Information processing device and program Active JP7215262B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019049480A JP7215262B2 (en) 2019-03-18 2019-03-18 Information processing device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019049480A JP7215262B2 (en) 2019-03-18 2019-03-18 Information processing device and program

Publications (2)

Publication Number Publication Date
JP2020155806A JP2020155806A (en) 2020-09-24
JP7215262B2 true JP7215262B2 (en) 2023-01-31

Family

ID=72559837

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019049480A Active JP7215262B2 (en) 2019-03-18 2019-03-18 Information processing device and program

Country Status (1)

Country Link
JP (1) JP7215262B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004194273A (en) 2002-12-10 2004-07-08 Lg Electronics Inc Home network system and method of adding/deleting home electrical appliance therein

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004194273A (en) 2002-12-10 2004-07-08 Lg Electronics Inc Home network system and method of adding/deleting home electrical appliance therein

Also Published As

Publication number Publication date
JP2020155806A (en) 2020-09-24

Similar Documents

Publication Publication Date Title
JP5397739B2 (en) Image processing apparatus, image processing method, and image processing program
US7376853B2 (en) Network apparatus, method for controlling the same, and program for the same
JP5882591B2 (en) Image processing apparatus, information processing apparatus, control method thereof, program, and storage medium
US20160127591A1 (en) Image forming apparatus control method of image forming apparatus and program
JPH07168741A (en) Watchdog timer device
JP3315941B2 (en) Facsimile machine
JP7215262B2 (en) Information processing device and program
US11064084B2 (en) Image forming apparatus capable of reducing time of shift to low-power consumption operation mode, method of controlling same, and storage medium
JP5760723B2 (en) Image processing apparatus, image processing method, image processing program, and recording medium
US20200117132A1 (en) Printing apparatus, method for controlling same, and storage medium
JP4157063B2 (en) Power saving management device
JP2006201948A (en) Interrupt signal accepting device and method
JP2001257818A (en) Facsimile machine
JP6752078B2 (en) Image forming device, its control method, and program
JP5318012B2 (en) Power-saving multi-CPU system and image forming apparatus
JP5824996B2 (en) Information processing apparatus, information processing apparatus control method, and information processing apparatus control program
JP6390509B2 (en) Image forming apparatus
JP2000092254A (en) Control method for facsimile equipment
JP5423698B2 (en) Image forming apparatus
JPH08223339A (en) Image processing unit
JP2002078195A (en) Electric machine, image forming device and power control method of the electric machine
JP4605053B2 (en) Data processing device
JPH10107821A (en) Multiplex transmitter
JP4381948B2 (en) Power control system, MFP
JP2005178106A (en) Image forming device with power saving function

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20201102

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220228

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20221018

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20221025

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221209

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20221220

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230102

R150 Certificate of patent or registration of utility model

Ref document number: 7215262

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150