Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4071690B2 - Communication device, off-hook detection method, program, and recording medium - Google Patents
[go: Go Back, main page]

JP4071690B2 - Communication device, off-hook detection method, program, and recording medium - Google Patents

Communication device, off-hook detection method, program, and recording medium Download PDF

Info

Publication number
JP4071690B2
JP4071690B2 JP2003314636A JP2003314636A JP4071690B2 JP 4071690 B2 JP4071690 B2 JP 4071690B2 JP 2003314636 A JP2003314636 A JP 2003314636A JP 2003314636 A JP2003314636 A JP 2003314636A JP 4071690 B2 JP4071690 B2 JP 4071690B2
Authority
JP
Japan
Prior art keywords
unit
communication
hook
line
hook detection
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.)
Expired - Fee Related
Application number
JP2003314636A
Other languages
Japanese (ja)
Other versions
JP2004140809A (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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2003314636A priority Critical patent/JP4071690B2/en
Publication of JP2004140809A publication Critical patent/JP2004140809A/en
Application granted granted Critical
Publication of JP4071690B2 publication Critical patent/JP4071690B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Interface Circuits In Exchanges (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Description

この発明は、画像形成装置等の通信装置(電子装置)、その通信装置の変復調部におけるオフフック検知方法、上記変復調部を制御するコンピュータに必要な機能(この発明に係わる機能)を実現させるためのプログラム、およびそのプログラムを記録したコンピュータ読み取り可能な記録媒体に関する。   The present invention provides a communication device (electronic device) such as an image forming apparatus, an off-hook detection method in a modulation / demodulation unit of the communication device, and a function necessary for a computer that controls the modulation / demodulation unit (function related to the present invention). The present invention relates to a program and a computer-readable recording medium on which the program is recorded.

従来から、通信機能を備えたプリンタ,ファクシミリ(FAX)装置,デジタル複写機,スキャナ装置,デジタル複合機等の画像処理装置を始め、ネットワーク家電,自動販売機,医療機器,電源装置,空調システム,ガス・水道・電気等の計量システム等に通信機能(通信手段)を持たせた通信装置を被管理装置とし、サービスセンタ(管理センタ)の管理装置が公衆回線等の通信回線(アナログ回線)経由でこれらの被管理装置を遠隔管理する遠隔管理システムが提案されている。
あるいは、上述したような被管理装置が通信機能を備えていない場合や、通信機能を備えていてもその機能が管理装置と通信するための機能を持っていない場合には、その被管理装置に管理装置と通信可能な通信機能を有する仲介装置を接続し、管理装置が通信回線および仲介装置経由で被管理装置を遠隔管理する遠隔管理システムも提案されている。
Conventionally, image processing devices such as printers, facsimile (FAX) devices, digital copiers, scanner devices, digital multifunction peripherals with communication functions, network home appliances, vending machines, medical equipment, power supply devices, air conditioning systems, A communication device with a communication function (communication means) in a metering system for gas, water, electricity, etc. is a managed device, and the management device of the service center (management center) is via a communication line (analog line) such as a public line. Have proposed remote management systems for remotely managing these managed devices.
Alternatively, if the managed device as described above does not have a communication function, or if the function does not have a function for communicating with the management device even if it has a communication function, There has also been proposed a remote management system in which a mediation device having a communication function capable of communicating with a management device is connected, and the management device remotely manages the managed device via a communication line and the mediation device.

このような遠隔管理システムでは、管理装置が、通信装置に対するアクセス(発信)の際に、機器利用者(顧客先)の電話番号(管理装置が接続されている回線の電話番号)をダイヤルしてそのダイヤル信号を通信回線上に送出した後、管理装置からの通信を判別するための通信識別信号であるDTMF信号(IDトーン信号)を送出することにより、通信装置へアクセスすることができる。
ところで、通信装置は、電話器又はFAX装置等の外部併設機器を接続する外部併設機器接続部と、管理装置(外部装置)と通信回線経由でデータ通信を行うために、そのデータを変復調する変復調部(以下「モデム部」ともいう)と、通信回線をモデム部又は外部併設機器接続部への接続に切り替える通信回線切替部とを備えている。
通信回線切替部は、管理装置から送られてくるDTMF信号を検出するためのDTMF検出回路(通信識別信号検出手段)を備えている。
In such a remote management system, the management device dials the telephone number of the device user (customer) (the phone number of the line to which the management device is connected) when accessing (transmitting) the communication device. After transmitting the dial signal on the communication line, the communication apparatus can be accessed by transmitting a DTMF signal (ID tone signal) which is a communication identification signal for determining communication from the management apparatus.
By the way, the communication device modulates and demodulates the data in order to perform data communication with the management device (external device) via the communication line with the external device connection unit that connects the external device such as a telephone or a FAX device. Unit (hereinafter also referred to as “modem unit”) and a communication line switching unit that switches the communication line to a modem unit or an external equipment connection unit.
The communication line switching unit includes a DTMF detection circuit (communication identification signal detection means) for detecting a DTMF signal sent from the management device.

ここで、その通信回線切替部について、図18を参照して、もう少し具体的に説明する。
図18は、従来の通信回線切替部の構成例を示すブロック図である。なお、この例の通信回線切替部はモデム機能を備えたものである。
この通信回線切替部2000は、モデム部601以外に、保護回路602,オフフック電流検出回路2001,回線切替回路604,網制御フロントエンド部605,直流供給回路606を備えている。
保護回路602は、通信回線(ラインL1,L2)からのノイズを低減し、ノイズから装置を保護するための回路である。
Here, the communication line switching unit will be described more specifically with reference to FIG.
FIG. 18 is a block diagram illustrating a configuration example of a conventional communication line switching unit. The communication line switching unit in this example has a modem function.
In addition to the modem unit 601, the communication line switching unit 2000 includes a protection circuit 602, an off-hook current detection circuit 2001, a line switching circuit 604, a network control front end unit 605, and a DC supply circuit 606.
The protection circuit 602 is a circuit for reducing noise from the communication lines (lines L1, L2) and protecting the device from noise.

オフフック電流検出回路2001は、外部併設機器接続部を備えており、網制御フロントエンド部605によって形成される直流ループに流れる電流(オフフック電流)を検出することにより、外部併設機器105のオフフックを検出(検知)し、その旨をCPUへ通知する回路である。
回線切替回路604は、通信回線をモデム部601又は外部併設機器105(オフフック電流検出回路2001の外部併設機器接続部)への接続に切り替える回路である。
網制御フロントエンド部605は、オフフックして回線をつかんだ(通信回線のラインL1,L2を直流的に閉結した)際に直流ループを形成し、通信回線との間でモデム信号(音声帯域信号)の送受信を行ったり、通信回線からの呼び出し信号(リンギング)やDTMF信号を検出するなど、網制御に必要な公知の機能を備えたものである。
直流供給回路606は、回線切替回路604によって外部併設機器105に接続された場合(外部併設機器105が通信回線から切り離された場合)に、その外部併設機器105に所定の直流電圧を供給する回路である。
The off-hook current detection circuit 2001 includes an external device connection unit, and detects an off-hook of the external device 105 by detecting a current (off-hook current) flowing in a DC loop formed by the network control front end unit 605. This is a circuit that (detects) and notifies the CPU to that effect.
The line switching circuit 604 is a circuit that switches the communication line to a connection to the modem unit 601 or the external device 105 (the external device connection unit of the off-hook current detection circuit 2001).
The network control front end unit 605 forms a DC loop when the line is seized by hooking off (the lines L1 and L2 of the communication line are DC-closed), and a modem signal (voice band) is formed with the communication line. Signal), and a known function necessary for network control, such as detecting a calling signal (ringing) from a communication line or a DTMF signal.
The DC supply circuit 606 is a circuit that supplies a predetermined DC voltage to the external device 105 when connected to the external device 105 by the line switching circuit 604 (when the external device 105 is disconnected from the communication line). It is.

このような通信回線切替部を備えた(外部併設機器と回線を共用して使用する)通信装置では、自己への通信要求(コール)であるか、外部併設機器への通信要求であるかを、通信相手である管理装置が送出するDTMF信号を受信して判断する場合、着信があるとまず、外部併設機器がオフフックするため、そのことをトリガにDTMF信号の検出を開始する。DTMFの検出はリンギングをトリガに開始しても良いのだが、一部の内線交換機などでは1300Hz無鳴動着信用の呼び出し信号を利用している場合がある。その場合、通常の16Hzのリンギング検出だけでは着信を検出できない。   In a communication device having such a communication line switching unit (using a line shared with an external device), it is a communication request (call) to itself or a communication request to an external device. When receiving and judging a DTMF signal sent out by a management apparatus which is a communication partner, first, when there is an incoming call, the external side device goes off-hook, and the detection of the DTMF signal is started using this as a trigger. Although detection of DTMF may be started by ringing as a trigger, some extension exchanges may use a ringing signal for 1300 Hz ringing incoming. In that case, an incoming call cannot be detected only by normal 16 Hz ringing detection.

このような通信装置においては、上述したように、外部併設機器によるオフフック検出のために、オフフックにより流れるループ電流を検出するためのオフフック電流検出回路を実装している。ところが、オフフック電流検出回路はハードウェアであるので、それを備える分だけコストアップとなる。
この発明は上記の点に鑑みてなされたものであり、通信回線切替部を有する通信装置が、オフフック電流検出回路を使用せずに外部併設機器によるオフフック検出を可能にし、コストダウンを図ることを目的とする。
In such a communication apparatus, as described above, an off-hook current detection circuit for detecting a loop current flowing by off-hook is mounted for off-hook detection by an external device. However, since the off-hook current detection circuit is hardware, the cost is increased by the amount provided.
The present invention has been made in view of the above points, and a communication device having a communication line switching unit enables off-hook detection by an external device without using an off-hook current detection circuit, thereby reducing costs. Objective.

この発明は、上記の目的を達成するため、通信装置、その通信装置の変復調部におけるオフフック検知方法、上記変復調部を制御するコンピュータに必要な機能を実現させるためのプログラム、およびそのプログラムを記録したコンピュータ読み取り可能な記録媒体を提供する。   In order to achieve the above object, the present invention records a communication device, an off-hook detection method in a modulation / demodulation unit of the communication device, a program for realizing a function necessary for a computer controlling the modulation / demodulation unit, and the program A computer-readable recording medium is provided.

請求項1の発明による通信装置は、電話器又はファクシミリ装置等の外部併設機器を接続する外部併設機器接続部と、外部装置と通信回線経由でデータ通信を行うために、そのデータを変復調する変復調部とを有する通信装置であって、上記変復調部に、上記通信回線の回線電圧を測定する回線電圧測定手段と、該手段による測定値と予め決められたオフフック検出しきい値とを比較する比較手段と、該手段による比較結果に基づいて上記外部併設機器がオフフック状態であるか否かを判定する状態判定手段とを設けたものである。
請求項2の発明による通信装置は、請求項1の通信装置において、上記変復調部に、上記回線電圧測定手段による測定値と予め決められた電圧補正値とに基づいて上記オフフック検出しきい値を決定(算出)するオフフック検出しきい値決定手段を設けたものである。
A communication apparatus according to the invention of claim 1 is a modem for modulating / demodulating data to perform data communication with the external apparatus via a communication line with an external apparatus connecting section for connecting an external apparatus such as a telephone or a facsimile machine. A line voltage measuring means for measuring the line voltage of the communication line, and comparing the measured value by the means with a predetermined off-hook detection threshold value. Means and state determination means for determining whether or not the external apparatus is in an off-hook state based on a comparison result by the means.
According to a second aspect of the present invention, there is provided a communication apparatus according to the first aspect, wherein the modulation / demodulation unit is configured to set the off-hook detection threshold value based on a measured value by the line voltage measuring means and a predetermined voltage correction value. Off-hook detection threshold value determining means for determining (calculating) is provided.

請求項3の発明による通信装置は、請求項2の通信装置において、上記変復調部に、上記通信回線(交換機)に基づいて上記電圧補正値を決定する電圧補正値決定手段を設けたものである。
請求項4の発明による通信装置は、請求項1〜3のいずれかの通信装置において、上記状態判定手段による判定結果に基づいて上記通信回線を上記変復調部又は外部併設機器接続部への接続に切り替える(例えばオフフック状態と判定した場合に通信回線を変復調部への接続に切り替える)通信回線切替手段を設けたものである。
According to a third aspect of the present invention, there is provided a communication apparatus according to the second aspect, wherein the modulation / demodulation unit is provided with voltage correction value determining means for determining the voltage correction value based on the communication line (switch). .
A communication device according to a fourth aspect of the present invention is the communication device according to any one of the first to third aspects, wherein the communication line is connected to the modulation / demodulation unit or an external equipment connection unit based on a determination result by the state determination unit. Communication line switching means is provided for switching (for example, switching the communication line to connection to the modem unit when it is determined to be in an off-hook state).

請求項5の発明によるオフフック検知方法は、電話器又はファクシミリ装置等の外部併設機器を接続する外部併設機器接続部と、外部装置と通信回線経由でデータ通信を行うために、そのデータを変復調する変復調部とを有する通信装置におけるオフフック検知方法であって、上記変復調部が、上記通信回線の回線電圧を測定し、その測定値と予め決められたオフフック検出しきい値とを比較し、その比較結果に基づいて上記外部併設機器がオフフック状態であるか否かを判定することにより、該外部併設機器のオフフックを検知するものである。
請求項6の発明によるオフフック検知方法は、請求項5のオフフック検知方法において、上記変復調部が、上記測定値と予め決められた電圧補正値とに基づいて上記オフフック検出しきい値を決定するものである。
The off-hook detection method according to the invention of claim 5 modulates and demodulates the data in order to perform data communication with the external device via the communication line with the external device connection unit for connecting the external device such as a telephone or a facsimile machine. An off-hook detection method in a communication device having a modem unit, wherein the modem unit measures the line voltage of the communication line, compares the measured value with a predetermined off-hook detection threshold, and compares By determining whether or not the external equipment is in an off-hook state based on the result, the off-hook of the external equipment is detected.
An off-hook detection method according to a sixth aspect of the present invention is the off-hook detection method according to the fifth aspect, wherein the modulation / demodulation unit determines the off-hook detection threshold based on the measured value and a predetermined voltage correction value. It is.

請求項7の発明によるオフフック検知方法は、請求項6のオフフック検知方法において、上記変復調部が、上記通信回線に基づいて上記電圧補正値を決定するものである。
請求項8の発明によるプログラムは、電話器又はファクシミリ装置等の外部併設機器を接続する外部併設機器接続部と、外部装置と通信回線経由でデータ通信を行うために、そのデータを変復調する変復調部とを有する通信装置の変復調部を制御するコンピュータに、上記通信回線の回線電圧を測定する回線電圧測定機能と、該機能による測定値と予め決められたオフフック検出しきい値とを比較する比較機能と、該機能による比較結果に基づいて上記外部併設機器がオフフック状態であるか否かを判定する状態判定機能とを実現させるためのプログラムである。
An off-hook detection method according to a seventh aspect of the present invention is the off-hook detection method according to the sixth aspect, wherein the modem unit determines the voltage correction value based on the communication line.
The program according to the invention of claim 8 includes an external equipment connection section for connecting an external equipment such as a telephone or a facsimile machine, and a modulation / demodulation section for modulating / demodulating the data to perform data communication with the external apparatus via a communication line. A line voltage measuring function for measuring the line voltage of the communication line, and a comparison function for comparing a measured value obtained by the function with a predetermined off-hook detection threshold value. And a state determination function for determining whether or not the external device is in an off-hook state based on a comparison result of the function.

請求項9の発明によるプログラムは、請求項8のプログラムにおいて、上記コンピュータに、上記回線電圧測定機能による測定値と予め決められた電圧補正値とに基づいて上記オフフック検出しきい値を決定するオフフック検出しきい値決定機能をも実現させるためのプログラムである。
請求項10の発明によるプログラムは、請求項9のプログラムにおいて、上記コンピュータに、上記通信回線に基づいて上記電圧補正値を決定する電圧補正値決定機能をも実現させるためのプログラムである。
請求項11の発明による記録媒体は、請求項8〜10のいずれかのプログラムを記録したコンピュータ読み取り可能な記録媒体である。
According to a ninth aspect of the present invention, there is provided a program according to the eighth aspect, wherein the off-hook detection threshold value is determined by the computer based on a measurement value obtained by the line voltage measurement function and a predetermined voltage correction value. This is a program for realizing a detection threshold value determining function.
According to a tenth aspect of the present invention, there is provided a program for causing the computer to realize a voltage correction value determination function for determining the voltage correction value based on the communication line.
A recording medium according to an eleventh aspect of the present invention is a computer-readable recording medium in which the program according to any one of the eighth to tenth aspects is recorded.

この発明によれば、通信回線切替部を有する通信装置が、オフフック電流検出回路を使用せずに外部併設機器によるオフフック検出を可能にし、コストダウンを図ることができる。   According to the present invention, a communication device having a communication line switching unit can detect off-hook by an external device without using an off-hook current detection circuit, thereby reducing costs.

以下、この発明を実施するための最良の形態を図面に基づいて具体的に説明する。
まず、この発明による通信装置(電子装置)を被管理装置とする遠隔管理システムの構成例について説明する。
図1は、その遠隔管理システムの構成の一例を示す概念図である。なお、以下で述べるネットワークには、公衆回線を含まないものとする。
Hereinafter, the best mode for carrying out the present invention will be specifically described with reference to the drawings.
First, a configuration example of a remote management system using a communication device (electronic device) according to the present invention as a managed device will be described.
FIG. 1 is a conceptual diagram showing an example of the configuration of the remote management system. Note that the network described below does not include a public line.

この遠隔管理システムは、プリンタ,FAX装置,デジタル複写機,スキャナ装置,デジタル複合機等の画像処理装置や、ネットワーク家電,自動販売機,医療機器,電源装置,空調システム,ガス・水道・電気等の計量システム等に通信機能を持たせた電子装置である通信装置を被管理装置10(10a,10b,10c,10d,10e,10f)とする遠隔管理システムである。そして、この被管理装置10と接続される(被管理装置側から見た)外部装置として、被管理装置10とLAN(ローカルエリアネットワーク)等のネットワークによって接続された遠隔管理仲介装置である仲介装置101(101a,101b,101c)、更に仲介装置101と交換機106(106a,101b)を含む公衆回線(電話回線)103又はインタネット112を介して接続されるサーバ装置として機能する管理装置102を備え、当該管理装置102が、仲介装置101を介して各被管理装置10を集中的に遠隔管理できるようにしたものである。被管理装置10および仲介装置101は機器利用者(ユーザ)側のオフィス等に、管理装置102はサービスセンタ(管理センタ)にそれぞれ設置されている。   This remote management system includes image processing devices such as printers, fax machines, digital copiers, scanners, and digital multifunction devices, network home appliances, vending machines, medical equipment, power supply devices, air conditioning systems, gas, water, electricity, etc. This is a remote management system in which a communication device which is an electronic device having a communication function in the weighing system is a managed device 10 (10a, 10b, 10c, 10d, 10e, 10f). As an external device connected to the managed device 10 (as viewed from the managed device side), an intermediary device that is a remote management mediation device connected to the managed device 10 via a network such as a LAN (local area network). 101 (101a, 101b, 101c), and further includes a management device 102 functioning as a server device connected via a public line (telephone line) 103 or the Internet 112 including the intermediary device 101 and the exchange 106 (106a, 101b), The management device 102 can centrally and remotely manage each managed device 10 via the mediation device 101. The managed device 10 and the intermediary device 101 are installed in an office on the device user (user) side, and the management device 102 is installed in a service center (management center).

ここで、管理装置102がインタネット112経由で遠隔管理するサービスを、NRSという。このNRSを実現するために、機器利用者側のネットワークに、NRSに対応するソフトウェアを実装した仲介装置101および被管理装置10が接続されている。また、管理装置102が公衆回線103経由で遠隔管理するサービスをCSS(カスタマ・サポート・システム)という。なお、公衆回線103の代わりに、専用回線を用いてもよい。
公衆回線103(又は専用回線)としては、アナログ回線,ADSL回線,デジタル回線(ISDN回線),光ファイバー利用回線等の固定電話回線や、携帯電話回線,PHS回線等の移動電話回線がある。
Here, the service remotely managed by the management apparatus 102 via the Internet 112 is referred to as NRS. In order to realize this NRS, an intermediary device 101 and a managed device 10 in which software corresponding to the NRS is installed are connected to a network on the device user side. A service remotely managed by the management apparatus 102 via the public line 103 is called CSS (customer support system). Note that a dedicated line may be used instead of the public line 103.
The public line 103 (or dedicated line) includes an analog line, an ADSL line, a digital line (ISDN line), a fixed telephone line such as a fiber optic line, and a mobile telephone line such as a mobile phone line and a PHS line.

仲介装置101および被管理装置10は、その利用環境に応じて多様な階層構造を成す。
例えば、図1に示す設置環境Aでは、管理装置102とHTTP(Hyper Text Transfer Protocol)による直接的なコネクションを確立できる仲介装置101aが、被管理装置10aおよび10bを従える単純な階層構造になっているが、同図に示す設置環境Bでは、4台の被管理装置10を設置するため、1台の仲介装置101を設置しただけでは負荷が大きくなる。そのため、管理装置102とHTTPによる直接的なコネクションを確立できる仲介装置101bが、被管理装置10cおよび10dだけでなく、他の仲介装置101cを従え、この仲介装置101cが被管理装置10eおよび10fを更に従えるという階層構造を形成している。この場合、被管理装置10eおよび10fを遠隔管理するために管理装置102から発せられた情報は、仲介装置101bとその下位のノードである仲介装置101cとを経由して、被管理装置10e又は10fに到達することになる。
The intermediary device 101 and the managed device 10 have various hierarchical structures depending on the usage environment.
For example, in the installation environment A shown in FIG. 1, the intermediary device 101a capable of establishing a direct connection with the management device 102 using HTTP (Hyper Text Transfer Protocol) has a simple hierarchical structure with the managed devices 10a and 10b. However, in the installation environment B shown in the figure, since four managed devices 10 are installed, the load increases only by installing one intermediary device 101. Therefore, the intermediary device 101b that can establish a direct connection with the management device 102 by HTTP follows not only the managed devices 10c and 10d but also another intermediary device 101c, and the intermediary device 101c uses the managed devices 10e and 10f. Furthermore, a hierarchical structure is formed in which it can be followed. In this case, the information issued from the management device 102 for remotely managing the managed devices 10e and 10f is managed by the managed device 10e or 10f via the mediation device 101b and the mediation device 101c which is a lower node. Will be reached.

また、設置環境Cのように、被管理装置10に仲介装置101の機能を併せ持たせた仲介機能付被管理装置(以下単に「被管理装置」ともいう)11a,11bを、別途仲介装置を介さずに交換機106(106c)を含む公衆回線103又はインタネット112によって管理装置102に接続するようにしてもよい。
図示はしていないが、仲介機能付被管理装置11の下位に更に被管理装置10と同等の被管理装置を接続することもできる。
ダイヤルアップサーバ111は、中継装置であり、管理装置102と仲介装置101又は被管理装置11とを公衆回線103(専用回線でもよい)およびインタネット112経由で通信可能に接続する。例えば、仲介装置101又は被管理装置10からの要求(管理装置102との通信要求)により、その要求元と公衆回線103経由でネゴシエーション(通信に関する情報交換)を行い、公衆回線103およびインタネット112経由で要求元と管理装置102とを通信可能に接続する(要求元と管理装置102との間を通信可能状態にする)。
Further, as in the installation environment C, managed devices with an intermediary function (hereinafter also simply referred to as “managed devices”) 11a and 11b in which the managed device 10 is also provided with the functions of the intermediary device 101 are separately provided as intermediary devices. The management apparatus 102 may be connected via the public line 103 or the Internet 112 including the exchange 106 (106c) without being interposed.
Although not shown, a managed device equivalent to the managed device 10 can be further connected to the lower level of the managed device 11 with a mediation function.
The dial-up server 111 is a relay device, and connects the management device 102 and the mediation device 101 or the managed device 11 so that they can communicate with each other via the public line 103 (may be a dedicated line) and the Internet 112. For example, in response to a request (communication request with the management apparatus 102) from the intermediary apparatus 101 or the managed apparatus 10, negotiation (information exchange regarding communication) is performed with the request source via the public line 103, and the public line 103 and the Internet 112 are passed. Then, the request source and the management apparatus 102 are communicably connected (the communication between the request source and the management apparatus 102 is made possible).

なお、各設置環境A,B,Cには、セキュリティ面を考慮し、ファイアウォール104(104a,104b,104c)を設置する。このファイアウォール104は、プロキシサーバによって構成する。
また、各被管理装置10,11に、ネットワーク経由でパーソナルコンピュータ等の端末装置107(図7参照)や他の電子装置(外部装置)を接続することもできる。
さらに、各仲介装置101(101a,101b)および各被管理装置11(11a,11b)にはそれぞれ、電話器又はFAX装置等の外部併設機器105(105a,105b,105c,105d)が接続されている。この例では、仲介装置101cに外部併設機器105が接続されていないが、これは仲介装置101cに公衆回線103が接続されていないためである。
In each of the installation environments A, B, and C, a firewall 104 (104a, 104b, 104c) is installed in consideration of security. The firewall 104 is configured by a proxy server.
Further, a terminal device 107 (see FIG. 7) such as a personal computer or another electronic device (external device) can be connected to each managed device 10 or 11 via a network.
Furthermore, each intermediary device 101 (101a, 101b) and each managed device 11 (11a, 11b) are connected to an external side device 105 (105a, 105b, 105c, 105d) such as a telephone or a FAX device, respectively. Yes. In this example, the external apparatus 105 is not connected to the mediation device 101c, because the public line 103 is not connected to the mediation device 101c.

このような遠隔管理システムにおいて、仲介装置101は、これに接続された被管理装置10の制御管理のためのアプリケーションプログラムを実装している。
管理装置102は、各仲介装置101の制御管理、更にはこの仲介装置101を介した被管理装置10の制御管理を行うためのアプリケーションプログラムを実装している。そして、被管理装置10も含め、この遠隔管理システムにおけるこれら各ノードは、RPC(remote procedure call)により、相互の実装するアプリケーションプログラムのメソッドに対する処理の依頼である「要求」を送信し、この依頼された処理の結果である「応答」を取得することができるようになっている。
In such a remote management system, the mediation apparatus 101 has an application program for control management of the managed apparatus 10 connected thereto.
The management apparatus 102 is implemented with an application program for performing control management of each mediation apparatus 101 and further performing control management of the managed apparatus 10 via the mediation apparatus 101. Then, each of these nodes in the remote management system including the managed device 10 transmits a “request” which is a request for processing for a method of the application program to be implemented by RPC (remote procedure call). The “response” that is the result of the processed processing can be acquired.

すなわち、仲介装置101又はこれと接続された被管理装置10では、管理装置102への要求を生成してこれを管理装置102へ引き渡し、この要求に対する応答を取得できる一方で、管理装置102は、上記仲介装置101側への要求を生成してこれを仲介装置101側へ引き渡し、この要求に対する応答を取得できるようになっている。この要求には、仲介装置101に被管理装置10に対して各種要求を送信させ、被管理装置10からの応答を仲介装置101を介して取得することも含まれる。
なお、RPCを実現するために、SOAP(Simple Object Access Protocol),HTTP,FTP(File Transfer Protocol),COM(Component Object Model),CORBA(Common Object Request Broker Architecture)等の既知のプロトコル(通信規格),技術,仕様などを利用することができる。
That is, the intermediary device 101 or the managed device 10 connected thereto can generate a request to the management device 102 and pass it to the management device 102 to obtain a response to this request, while the management device 102 A request to the mediating apparatus 101 is generated and delivered to the mediating apparatus 101, and a response to the request can be acquired. This request includes causing the mediation device 101 to transmit various requests to the managed device 10 and obtaining a response from the managed device 10 via the mediation device 101.
In order to realize RPC, known protocols (communication standards) such as SOAP (Simple Object Access Protocol), HTTP, FTP (File Transfer Protocol), COM (Component Object Model), CORBA (Common Object Request Broker Architecture), etc. , Technology, specifications, etc. can be used.

この送受信のデータ送受モデルを図2の概念図に示す。
(A)は、被管理装置10で管理装置102に対する要求が発生したケースである。このケースでは、被管理装置10が被管理装置側要求aを生成し、これを仲介装置101を経由して受け取った管理装置102がこの要求に対する応答aを返すというモデルになる。同図に示す仲介装置101は複数であるケースも想定できる(上記図1に示す設置環境B)。なお、(A)では、応答aだけでなく応答遅延通知a′を返信するケースが表記されている。これは、管理装置102を、仲介装置101を経由して被管理装置側要求を受け取って、当該要求に対する応答を即座に返せないと判断したときには、応答遅延通知を通知して一旦接続状態を切断し、次回の接続の際に上記要求に対する応答を改めて引き渡す構成としているためである。
(B)は、管理装置102で被管理装置10に対する要求が発生したケースである。このケースでは、管理装置102が管理装置側要求bを生成し、これを仲介装置101を経由して受け取った被管理装置10が、当該要求に対する応答bを返すというモデルになっている。なお、(B)のケースでも、応答を即座に返せないときに応答遅延通知b′を返すことは(A)のケースと同様である。
The transmission / reception data transmission / reception model is shown in the conceptual diagram of FIG.
(A) is a case where a request to the management apparatus 102 has occurred in the managed apparatus 10. In this case, the managed device 10 generates a managed device-side request “a”, and the management device 102 that has received this request via the mediation device 101 returns a response “a” to this request. A case where there are a plurality of mediation apparatuses 101 shown in the figure can also be assumed (installation environment B shown in FIG. 1). Note that (A) shows a case in which not only the response a but also a response delay notification a ′ is returned. When the management apparatus 102 receives a managed apparatus side request via the intermediary apparatus 101 and determines that the response to the request cannot be returned immediately, it notifies the response delay notification and temporarily disconnects the connection state. This is because the response to the request is delivered again at the next connection.
(B) is a case where a request for the managed device 10 has occurred in the management device 102. In this case, the management apparatus 102 generates a management apparatus side request b, and the managed apparatus 10 that has received the request via the mediation apparatus 101 returns a response b to the request. Even in the case of (B), the response delay notification b ′ is returned in the same manner as in the case of (A) when the response cannot be returned immediately.

次に、図1に示す管理装置102における物理的構成について簡単に説明すると、当該管理装置102は、CPU,ROM,RAM等からなる制御装置や、データベース,モデム,プロキシ(Proxy)サーバ等によって構成されている。その構成については、追って詳細に説明する。
さらに、図1に示す仲介装置101における物理的構成について簡単に説明すると、当該仲介装置101は、CPU,ROM,RAM,不揮発性メモリ,PHY(物理メディアインタフェース)等によって構成されている。その構成については、追って詳細に説明する。
また、仲介機能付被管理装置11については、仲介装置101の機能を実現するためにこれらのユニットを単に被管理装置10に付加しても良いが、被管理装置10に備えるCPU,ROM,RAM等のハードウェア資源を利用し、CPUに適当なアプリケーションやプログラムモジュールを実行させることによって仲介装置101の機能を実現することもできる。
Next, the physical configuration of the management apparatus 102 shown in FIG. 1 will be briefly described. The management apparatus 102 includes a control device including a CPU, a ROM, a RAM, a database, a modem, a proxy server, and the like. Has been. The configuration will be described later in detail.
Furthermore, the physical configuration of the mediation apparatus 101 shown in FIG. 1 will be briefly described. The mediation apparatus 101 is configured by a CPU, a ROM, a RAM, a nonvolatile memory, a PHY (physical media interface), and the like. The configuration will be described later in detail.
In addition, for the managed device 11 with an intermediary function, these units may be simply added to the managed device 10 in order to realize the function of the intermediary device 101, but the CPU, ROM, and RAM provided in the managed device 10 The functions of the intermediary device 101 can be realized by causing the CPU to execute appropriate applications and program modules using hardware resources such as the above.

以下、図1に示した遠隔管理システムのより具体的な例として、この発明による電子装置である画像形成装置を被管理装置とする遠隔管理システムである画像形成装置管理システムについて説明する。図3は、その画像形成装置管理システムの構成の一例を示す概念図であるが、被管理装置10を画像形成装置100に、仲介機能付被管理装置11を仲介機能付画像形成装置(以下単に「画像形成装置」ともいう)110に変更した点が図1と相違するのみであるので、システムの全体構成についての説明は省略する。
画像形成装置100は、コピー,ファクシミリ,スキャナ等の機能および外部装置と通信を行う機能を備えたデジタル複合機であり、それらの機能に係るサービスを提供するためのアプリケーションプログラムを実装しているものである。また、仲介機能付画像形成装置110は、画像形成装置100に仲介装置101の機能を併せ持たせたものである。
Hereinafter, as a more specific example of the remote management system shown in FIG. 1, an image forming apparatus management system that is a remote management system using an image forming apparatus that is an electronic apparatus according to the present invention as a managed apparatus will be described. FIG. 3 is a conceptual diagram showing an example of the configuration of the image forming apparatus management system. In FIG. The only difference from FIG. 1 is that the configuration is changed to 110 (also referred to as “image forming apparatus”), and thus the description of the overall configuration of the system is omitted.
The image forming apparatus 100 is a digital multi-function peripheral having functions such as copying, facsimile, and scanner, and a function for communicating with an external apparatus, and is equipped with an application program for providing services related to these functions. It is. The image forming apparatus with a mediation function 110 is obtained by adding the functions of the mediation apparatus 101 to the image forming apparatus 100.

このような画像形成装置100の物理的構成について図4を用いて説明する。
図4は、画像形成装置100のハードウェア構成例を示すブロック図である。
この画像形成装置100は、CPU201,ASIC(Application Specific Integrated Circuit)202,SDRAM203,フラッシュメモリ(不揮発性メモリ)204,NRS用メモリ205,PHY(物理メディアインタフェース)206,操作部207,HDD(ハードディスクドライブ)208,モデム211,PI(パーソナルインタフェース)212,FCU(ファックスコントロールユニット)213,USB(Universal Serial Bus)214,IEEE1394インタフェース215,プロッタ/スキャナエンジン216,および周辺機217を備えている。これらのユニットは、それぞれがこの画像形成装置100におけるハードウェア資源である。なお、エンジンユニットであるスキャナエンジン/プロッタエンジン216はそれぞれ、内部に異常等の事象を検出するためのセンサを備えている。
A physical configuration of such an image forming apparatus 100 will be described with reference to FIG.
FIG. 4 is a block diagram illustrating a hardware configuration example of the image forming apparatus 100.
The image forming apparatus 100 includes a CPU 201, an ASIC (Application Specific Integrated Circuit) 202, an SDRAM 203, a flash memory (nonvolatile memory) 204, an NRS memory 205, a PHY (physical media interface) 206, an operation unit 207, and an HDD (hard disk drive). ) 208, modem 211, PI (personal interface) 212, FCU (fax control unit) 213, USB (Universal Serial Bus) 214, IEEE 1394 interface 215, plotter / scanner engine 216, and peripheral unit 217. Each of these units is a hardware resource in the image forming apparatus 100. Each scanner engine / plotter engine 216, which is an engine unit, includes a sensor for detecting an event such as an abnormality.

CPU201は、ASIC202を介してデータ処理(各機能の制御)を行う演算処理手段である。
ASIC202は、CPUI/Fインタフェース,SDRAMインタフェース,ローカルバスインタフェース,PCIインタフェース,MAC(Media Access Controller)、HDDインタフェースなどからなる多機能デバイスボードであり、CPU201の制御対象となるデバイスの共有化を図り、アーキテクチャの面からアプリ(アプリケーションソフト)等の開発の高効率化を支援するものである。
SDRAM203は、OS(オペレーティングシステム)を含む各種プログラムを記憶するプログラムメモリや、CPU201がデータ処理を行う際に使用するワークメモリ等として使用するメインメモリである。なお、このSDRAM203の代わりに、DRAMやSRAMを使用してもよい。
The CPU 201 is arithmetic processing means that performs data processing (control of each function) via the ASIC 202.
The ASIC 202 is a multi-function device board including a CPU I / F interface, an SDRAM interface, a local bus interface, a PCI interface, a MAC (Media Access Controller), an HDD interface, and the like, and aims to share a device to be controlled by the CPU 201. This is to support the development of applications (application software) from the viewpoint of architecture.
The SDRAM 203 is a program memory that stores various programs including an OS (operating system), a main memory that is used as a work memory used when the CPU 201 performs data processing, and the like. In place of the SDRAM 203, a DRAM or SRAM may be used.

フラッシュメモリ204は、この画像形成装置100を起動させるブートローダ(ブートプログラム)やOSイメージを記憶する固定プログラムメモリ、各アプリを記憶するアプリメモリ、各サービス(サービスソフトウェア)を記憶するサービスメモリ、ファームウェアを記憶するファームメモリ、稼動状況を監視・管理する対象となる機器(画像形成装置100)の識別情報であるアドレス(ネットワークアドレス)や機種機番、カウンタ情報(課金カウンタのデータ)を記憶するデータメモリ等として使用する不揮発性メモリ(不揮発性記憶手段)であり、電源がオフになっても記憶内容を保持するようになっている。なお、このフラッシュメモリ204の代わりに、RAMと電池を利用したバックアップ回路を集積した不揮発性RAMや、EEPROM等の他の不揮発性メモリを使用してもよい。   The flash memory 204 includes a boot loader (boot program) for starting the image forming apparatus 100, a fixed program memory for storing an OS image, an application memory for storing each application, a service memory for storing each service (service software), and firmware. Data memory for storing firmware memory to be stored, address (network address), model number, and counter information (billing counter data) that are identification information of a device (image forming apparatus 100) that is a target for monitoring and managing the operation status A non-volatile memory (non-volatile storage means) that is used as a storage device, etc., and retains stored contents even when the power is turned off. Instead of the flash memory 204, a nonvolatile RAM in which a backup circuit using a RAM and a battery is integrated, or another nonvolatile memory such as an EEPROM may be used.

NRS用メモリ205は、後述するNRSを記憶する不揮発性メモリであり、オプションでNRS機能を追加することができる。
PHY206は、ネットワークを介して外部装置と通信を行うためのインタフェースである。
操作部207は、各種の操作キー(操作スイッチ又は操作ボタンともいう)およびLCD又はCRTの文字表示器を有する操作手段である。
HDD208は、電源のオン・オフに関係なくデータを記憶保存する不揮発性記憶手段(記録媒体)である。このHDD208に、上述したフラッシュメモリ204内のプログラムやそれ以外のデータを記憶しておくこともできる。また、このHDD208を、ファームメモリとして使用することもできる。
モデム211は、変復調部(変復調手段)であり、外部(管理装置102等)へ公衆回線103経由でデータを送信する場合、そのデータを公衆回線に流せる形に変調する。また、管理装置102から送られてくる変調されたデータを受信した場合、そのデータを復調する。
The NRS memory 205 is a non-volatile memory that stores an NRS described later, and an NRS function can be added as an option.
The PHY 206 is an interface for communicating with an external device via a network.
The operation unit 207 is an operation unit having various operation keys (also referred to as operation switches or operation buttons) and an LCD or CRT character display.
The HDD 208 is a non-volatile storage means (recording medium) that stores and saves data regardless of whether the power is on or off. The HDD 208 can store the above-described program in the flash memory 204 and other data. The HDD 208 can also be used as a farm memory.
The modem 211 is a modulation / demodulation unit (modulation / demodulation means), and when data is transmitted to the outside (such as the management apparatus 102) via the public line 103, the modem 211 modulates the data so that it can be sent to the public line. In addition, when modulated data sent from the management apparatus 102 is received, the data is demodulated.

PI212は、RS485規格に準拠したインタフェースを備え、図示しないラインアダプタを介して公衆回線に接続している。
FCU213は、FAX装置又はモデム機能(FAX通信機能)を有するデジタル複写機やデジタル複合機等の画像形成装置および管理装置102等の外部装置との通信を公衆回線経由で制御する。
ここで、電源投入(電源オン)により、CPU201は、ASIC202経由でフラッシュメモリ204内のブートローダを起動させ、そのブートローダに従い、フラッシュメモリ204内のOSイメージを読み出し、それをSDRAM203にロードして使用可能なOSに展開する。そして、OSの展開が完了すると、そのOSを起動させる。その後、必要に応じてフラッシュメモリ204内のアプリやサービス等のプログラムあるいはNRS用メモリ205内のNRSを読み出し、それらをSDRAM203にロードして展開し、起動させることにより、各種機能を実現することができる。
The PI 212 includes an interface conforming to the RS485 standard, and is connected to a public line via a line adapter (not shown).
The FCU 213 controls communication with an external apparatus such as an image forming apparatus such as a digital copying machine or a digital multifunction peripheral having a FAX apparatus or a modem function (FAX communication function) and a management apparatus 102 via a public line.
Here, when the power is turned on (power is turned on), the CPU 201 activates the boot loader in the flash memory 204 via the ASIC 202, reads the OS image in the flash memory 204 according to the boot loader, and loads it into the SDRAM 203 for use. Deploy to any OS. When the OS deployment is completed, the OS is started. After that, various functions can be realized by reading programs such as applications and services in the flash memory 204 or NRS in the NRS memory 205 as needed, loading them into the SDRAM 203, expanding them, and starting them. it can.

次に、画像形成装置100(又は110)のソフトウェア構成について図5を用いて説明する。
図5は、画像形成装置100のソフトウェア構成の一例を示すブロック図である。
当該画像形成装置100のソフトウェア構成は、アプリケーションモジュール層,サービスモジュール層,汎用OS層からなる。そして、これらのソフトウェアを構成するプログラムはフラッシュメモリ204やNRS用メモリ205に記憶され、必要に応じて読み出されてCPU201によって実行される。そしてCPU201は、これらのプログラムを必要に応じて実行することにより、この発明による各種機能を実現することができる。
アプリケーションモジュール層のソフトウェアは、CPU201を、ハードウェア資源を動作させて所定の機能を実現させる複数のアプリケーション制御手段(処理実行手段)として機能させるためのプログラムによって構成され、サービスモジュール層のソフトウェアは、CPU201を、ハードウェア資源と各アプリケーション制御手段との間に介在し、複数のアプリケーション制御手段からのハードウェア資源に対する動作要求の受付,その動作要求の調停,およびその動作要求に基づく動作の実行制御を行うサービス制御手段(処理実行手段)として機能させるためのプログラムによって構成される。
Next, the software configuration of the image forming apparatus 100 (or 110) will be described with reference to FIG.
FIG. 5 is a block diagram illustrating an example of a software configuration of the image forming apparatus 100.
The software configuration of the image forming apparatus 100 includes an application module layer, a service module layer, and a general-purpose OS layer. The programs constituting the software are stored in the flash memory 204 and the NRS memory 205, read as necessary, and executed by the CPU 201. The CPU 201 can implement various functions according to the present invention by executing these programs as necessary.
The application module layer software is configured by a program for causing the CPU 201 to function as a plurality of application control means (process execution means) that operate hardware resources to realize a predetermined function. The CPU 201 is interposed between the hardware resource and each application control unit, and receives an operation request for the hardware resource from a plurality of application control units, arbitrates the operation request, and controls the execution of the operation based on the operation request. It is comprised by the program for functioning as a service control means (process execution means) which performs.

なお、それらの機能のうち、管理装置102との通信に係わる機能(通信手段としての機能)の実現方法は、画像形成装置100と画像形成装置110とによって異なる。つまり、画像形成装置110の場合は、仲介装置101の機能を備えているため、CPU201が対応するプログラムを実行することにより、管理装置102との通信に係わる機能を実現することができる。画像形成装置100の場合には、CPU201が対応するプログラムを実行すると共に、仲介装置101を利用することにより、管理装置102との通信に係わる機能を実現することができる。
サービスモジュール層には、オペレーションコントロールサービス(OCS)300、エンジンコントロールサービス(ECS)301、メモリコントロールサービス(MCS)302、ネットワークコントロールサービス(NCS)303、ファクスコントロールサービス(FCS)304、システムコントロールサービス(SCS)306、システムリソースマネージャ(SRM)307、イメージメモリハンドラ(IMH)308、デリバリーコントロールサービス(DCS)316、ユーザコントロールサービス(UCS)317を実装している。また、アプリケーションモジュール層には、NRSアプリ(以下単に「NRS」という)305、CSSアプリ(以下単に「CSS」という)315、コピーアプリ309、ファクスアプリ310、プリンタアプリ311、スキャナアプリ312、ネットファイルアプリ313、ウェブアプリ314を実装している。更に、汎用OS層には、汎用OS320を実装している。
Of these functions, a method for realizing a function related to communication with the management apparatus 102 (function as a communication unit) differs between the image forming apparatus 100 and the image forming apparatus 110. In other words, since the image forming apparatus 110 has the function of the mediation apparatus 101, the function related to the communication with the management apparatus 102 can be realized by the CPU 201 executing the corresponding program. In the case of the image forming apparatus 100, functions related to communication with the management apparatus 102 can be realized by the CPU 201 executing a corresponding program and using the mediation apparatus 101.
The service module layer includes an operation control service (OCS) 300, an engine control service (ECS) 301, a memory control service (MCS) 302, a network control service (NCS) 303, a fax control service (FCS) 304, a system control service ( SCS) 306, system resource manager (SRM) 307, image memory handler (IMH) 308, delivery control service (DCS) 316, and user control service (UCS) 317 are implemented. The application module layer includes an NRS application (hereinafter simply referred to as “NRS”) 305, a CSS application (hereinafter simply referred to as “CSS”) 315, a copy application 309, a fax application 310, a printer application 311, a scanner application 312, and a net file. An application 313 and a web application 314 are installed. Furthermore, a general-purpose OS 320 is mounted on the general-purpose OS layer.

これらを更に詳述する。
OCS300は、操作部207を制御するモジュールである。
ECS301は、ハードウェアリソース等のエンジンユニットを制御するモジュールである。
MCS302は、メモリ制御をするモジュールであり、例えば、画像メモリの取得および開放、HDD208の利用等を行う。
NCS303は、ネットワークとアプリケーションモジュール層の各アプリケーションプログラムとの仲介処理を行わせるモジュールである。
FCS304は、ファクシミリ送受信、ファクシミリ読み取り、ファクシミリ受信印刷等を行うモジュールである。
These will be described in further detail.
The OCS 300 is a module that controls the operation unit 207.
The ECS 301 is a module that controls engine units such as hardware resources.
The MCS 302 is a module that performs memory control. For example, the MCS 302 acquires and releases an image memory, uses the HDD 208, and the like.
The NCS 303 is a module that performs mediation between the network and each application program in the application module layer.
The FCS 304 is a module that performs facsimile transmission / reception, facsimile reading, facsimile reception printing, and the like.

SCS306は、コマンドの内容に応じたアプリケーションモジュール層の各アプリケーションプログラムの起動管理および終了管理を行うモジュールである。
SRM307は、システムの制御およびリソースの管理を行うモジュールである。
IMH308は、一時的に画像データを入れておくメモリを管理するモジュールである。
DCS316は、HDD208やSDRAM203に記憶している(する)画像ファイル等をSMTP(Simple Mail Transfer Protocol)やFTP(File Transfer Protocol)を用いて送受信するモジュールである。
UCS317は、機器利用者(ユーザ)が登録した宛先情報や宛名情報等のユーザ情報を管理するモジュールである。
The SCS 306 is a module that performs start management and end management of each application program in the application module layer according to the content of the command.
The SRM 307 is a module that controls the system and manages resources.
The IMH 308 is a module that manages a memory for temporarily storing image data.
The DCS 316 is a module for transmitting / receiving an image file or the like stored in the HDD 208 or the SDRAM 203 using SMTP (Simple Mail Transfer Protocol) or FTP (File Transfer Protocol).
The UCS 317 is a module that manages user information such as destination information and address information registered by a device user (user).

NRS305は、ネットワークを介してデータを送受信する際のデータの変換を行うなど、ネットワークを用いたNRS方式による遠隔管理に関する機能(管理装置102との通信に係わる機能)をまとめたアプリケーションプログラムである。
CSS315は、公衆回線を介してデータを送受信する際のデータの変換を行うなど、公衆回線を用いたCSS方式による遠隔管理に関する機能(管理装置102との通信に係わる機能)をまとめたアプリケーションプログラムである。
コピーアプリ309は、コピーサービスを実現するためのアプリケーションプログラムである。
ファクスアプリ310は、ファクスサービスを実現するためのアプリケーションプログラムである。
The NRS 305 is an application program that summarizes functions related to remote management (functions related to communication with the management apparatus 102) by the NRS method using the network, such as data conversion when data is transmitted and received via the network.
The CSS 315 is an application program that summarizes functions related to remote management by the CSS method using the public line (functions related to communication with the management apparatus 102) such as data conversion when data is transmitted and received via the public line. is there.
The copy application 309 is an application program for realizing a copy service.
The fax application 310 is an application program for realizing a fax service.

プリンタアプリ311は、プリンタサービスを実現するためのアプリケーションプログラムである。
スキャナアプリ312は、スキャナサービスを実現するためのアプリケーションプログラムである。
ネットファイルアプリ313は、ネットファイルサービスを実現するためのアプリケーションプログラムである。
ウェブアプリ314は、ウェブサービスを実現するためのアプリケーションプログラムである。
汎用OS320は、UNIX(登録商標),Linux(登録商標),Windows(登録商標)等のオペレーティングシステムを使用することができる。オペレーティングシステムは、サービスモジュール層やアプリケーションモジュール層のプログラムなどを実行させる処理を司る。ここで、UNIXやLinuxを用いれば、オープンソースゆえの安全性が担保され、ソースコード入手の容易性などの利点がある。
The printer application 311 is an application program for realizing a printer service.
The scanner application 312 is an application program for realizing a scanner service.
The net file application 313 is an application program for realizing a net file service.
The web application 314 is an application program for realizing a web service.
The general-purpose OS 320 can use an operating system such as UNIX (registered trademark), Linux (registered trademark), or Windows (registered trademark). The operating system manages the processing for executing the service module layer and application module layer programs. Here, if UNIX or Linux is used, the safety due to open source is ensured, and there are advantages such as easy source code acquisition.

次に、上述した画像形成装置100におけるソフトウェアの構成に含まれるNRSモジュールの内部構成を図6を用いて更に説明する。
図6は、NRS305の構成の一例を示す機能ブロック図である。同図に示すように、NRS305は、SCS306とNCS303との間で処理をおこなっている。ウェブサーバ機能部500は、外部から受信した要求に関する応答処理を行う。ここでの要求は、例えば、構造化言語であるXML(Extensible Markup Language)形式で記載された、SOAP(Simple Object Access Protocol)によるSOAPリクエストであることが考えられる。ウェブクライアント機能部501は、外部への要求を発行する処理を行う。libsoap502は、SOAPを処理するライブラリであり、libxml503は、XML形式で記載されたデータを処理するライブラリである。また、libgwww504は、HTTPを処理するライブラリであり、libgw_ncs505は、NCS303との間の処理をするライブラリである。
Next, the internal configuration of the NRS module included in the software configuration in the image forming apparatus 100 described above will be further described with reference to FIG.
FIG. 6 is a functional block diagram illustrating an example of the configuration of the NRS 305. As shown in the figure, the NRS 305 performs processing between the SCS 306 and the NCS 303. The web server function unit 500 performs response processing related to a request received from the outside. The request here may be a SOAP request by SOAP (Simple Object Access Protocol) described in XML (Extensible Markup Language) format which is a structured language, for example. The web client function unit 501 performs processing for issuing an external request. The libsoap 502 is a library that processes SOAP, and the libxml 503 is a library that processes data described in the XML format. Also, libwwww 504 is a library that processes HTTP, and libgw_ncs 505 is a library that performs processing with the NCS 303.

次に、仲介装置101の物理的構成について、図7を参照して説明する。
図7は、仲介装置101のハードウェア構成例を示すブロック図である。
この仲介装置101、上述したように、機器利用者のオフィス等に設置されるものであり、CPU52,SDRAM53,フラッシュメモリ54(不揮発性メモリ),RTC(内部時計であるリアルタイムクロック回路)55,Op−Port(操作部接続ポート)56,PHY57,モデム機能を有する通信回線切替部58,HDD制御部59,拡張I/F60,RS232I/F61,RS485I/F62,HDD63等を備えている。そして、この仲介装置101はPHY57を介してネットワーク上のCE端末107や画像形成装置100と接続される。また、RS232I/F61およびRS485I/F62を介しても画像形成装置100と接続可能であるが、ここではこのI/Fは使用しないものとする。なお、画像形成装置100の場合と同様に、SDRAM53の代わりに、DRAMやSRAMを使用してもよい。また、フラッシュメモリ54の代わりに、EEPROM等の他の不揮発性メモリを使用してもよい。
Next, the physical configuration of the mediation apparatus 101 will be described with reference to FIG.
FIG. 7 is a block diagram illustrating a hardware configuration example of the mediation apparatus 101.
As described above, this intermediary device 101 is installed in the office of the device user, etc., and includes a CPU 52, SDRAM 53, flash memory 54 (nonvolatile memory), RTC (real time clock circuit which is an internal clock) 55, Op. -Port (operation unit connection port) 56, PHY 57, communication line switching unit 58 having a modem function, HDD control unit 59, expansion I / F 60, RS232 I / F 61, RS485 I / F 62, HDD 63, and the like. The mediation apparatus 101 is connected to the CE terminal 107 and the image forming apparatus 100 on the network via the PHY 57. The image forming apparatus 100 can also be connected via the RS232 I / F 61 and the RS485 I / F 62, but this I / F is not used here. As in the case of the image forming apparatus 100, a DRAM or SRAM may be used instead of the SDRAM 53. Further, instead of the flash memory 54, another nonvolatile memory such as an EEPROM may be used.

次に、仲介装置101のソフトウェア構成を図8を用いて説明する。
図8は、仲介装置101のソフトウェア構成の一例を示すブロック図である。
この図8に示すように、仲介装置101におけるソフトウェアは、アプリケーション層70,サービス層80,プロトコル層90の3層からなっている。そして、これらのソフトウェアを構成するプログラムはHDD63やSDRAM53、あるいはフラッシュメモリ54上に記憶され、必要に応じて読み出されてCPU52によって実行される。そしてCPU52は、これらのプログラムを必要に応じて実行し、装置の制御を行うことにより、各種機能を実現することができる。
Next, the software configuration of the mediation apparatus 101 will be described with reference to FIG.
FIG. 8 is a block diagram illustrating an example of the software configuration of the mediation apparatus 101.
As shown in FIG. 8, the software in the mediation apparatus 101 is composed of three layers: an application layer 70, a service layer 80, and a protocol layer 90. The programs constituting these software are stored in the HDD 63, the SDRAM 53, or the flash memory 54, read as necessary, and executed by the CPU 52. The CPU 52 can implement various functions by executing these programs as necessary and controlling the apparatus.

このソフトウェアにおいて、アプリケーション層70は、デバイスコントロールメソッド群71とNRSアプリケーションメソッド群72とを有する。
そして、デバイスコントロールメソッド群71は、管理対象情報設定,機器設定,ファームウェアアップデート,ポーリング設定変更,ログ出力,起動処理の各メソッドを備え、この発明の特徴に係る処理を始め、被管理装置である画像形成装置100の情報管理や通信の設定等を行うためのプログラムである。
NRSアプリケーションメソッド群72は、ログ収集,ファームウェアダウンロード,機器コマンド実行,機器設定変更,サプライ通知,異常通知,デバイス起動/導入,デバイス生死確認の各メソッドを備え、画像形成装置100からの種々の通知や要求に対応したり、管理装置102からの要求に従って画像形成装置100に動作を行わせたりするためのプログラムである。
In this software, the application layer 70 has a device control method group 71 and an NRS application method group 72.
The device control method group 71 includes methods for management object information setting, device setting, firmware update, polling setting change, log output, and start processing, and is a managed device including processing according to the features of the present invention. This is a program for performing information management, communication settings, and the like of the image forming apparatus 100.
The NRS application method group 72 includes log collection, firmware download, device command execution, device setting change, supply notification, abnormality notification, device activation / introduction, and device life / death confirmation methods, and various notifications from the image forming apparatus 100. Or a request for causing the image forming apparatus 100 to perform an operation in accordance with a request from the management apparatus 102.

次に、サービス層80には、セキュリティサービス81,対接続機器通信サービス82,対管理装置通信サービス83,スケジューラサービス84とを備えている。
そして、セキュリティサービス81は、内部情報などの外部への不正流出を予防、妨害するなどのジョブを生成・実行するモジュールである。
対接続機器通信サービス82は、仲介装置101に接続されたネットワーク接続機器との間で情報の授受を実現するため、情報取得の対象となる機器の検索、対象機器との接続管理、ファイル送受信、パラメータ管理、APL管理などのジョブを生成・実行するモジュールである。
対管理装置通信サービス83は、管理装置102との間でコマンド受信,ファイル送受信,情報要求,情報送信(情報通知)などのジョブを生成・実行するモジュールである。
Next, the service layer 80 includes a security service 81, a connection device communication service 82, a management device communication service 83, and a scheduler service 84.
The security service 81 is a module that generates and executes a job for preventing or preventing unauthorized outflow of internal information or the like to the outside.
The connection-device communication service 82 searches for a device that is a target of information acquisition, manages connection with the target device, transmits / receives a file, in order to exchange information with a network connection device connected to the mediation apparatus 101. This module generates and executes jobs such as parameter management and APL management.
The management apparatus communication service 83 is a module that generates and executes jobs such as command reception, file transmission / reception, information request, and information transmission (information notification) with the management apparatus 102.

スケジューラサービス84は、所定の設定時間情報に基づき、リモートコントロールアプリを展開するモジュールである。
次のプロトコル層90には、情報の送受信対象に応じたプロトコルを用いて情報の授受をおこなうジョブを生成・実行するための各メソッドを備える。即ち、ネットワークを介したネットワーク接続機器の通信環境に広く対応可能なように、SOAP(Simple Object Access Protocol)や、その下位プロトコルとして用いられるHTTP,HTTPS(Hypertext Transfer Protocol Security),FTPなどを制御可能なメソッドを有している。
The scheduler service 84 is a module that deploys a remote control application based on predetermined set time information.
The next protocol layer 90 includes methods for generating and executing a job for exchanging information using a protocol corresponding to an information transmission / reception target. In other words, it can control SOAP (Simple Object Access Protocol), HTTP, HTTPS (Hypertext Transfer Protocol Security), FTP, etc. used as its lower protocols so that it can be widely applied to the communication environment of network connected devices via the network. Have a good method.

次に、仲介装置の機能構成について、図9および図10を参照して説明する。
図9は仲介装置101の主要部の機能構成例を示すブロック図であり、図18と対応する部分には同一符号を付して、そのほとんどの動作説明を省略する。
仲介装置101の通信回線切替部58は、モデム部601以外に、保護回路602,回線切替回路604,網制御フロントエンド部605,直流供給回路606,外部併設機器接続部607を備えており、図18に示した従来の通信回線切替部2000に備えていたオフフック電流検出回路2001は備えていない。
モデム部601は、管理装置102(外部装置)と公衆回線103(通信回線)経由でデータ通信を行うために、そのデータを変復調するものであり、この発明に係わる制御部601aと記憶部601bとを備えている。このモデム部601は、例えばデジタルシングルプロセッサ(DSP)をコアとするLSIによって構成されている。
Next, the functional configuration of the mediation apparatus will be described with reference to FIGS. 9 and 10.
FIG. 9 is a block diagram illustrating a functional configuration example of a main part of the mediation apparatus 101. Parts corresponding to those in FIG.
In addition to the modem unit 601, the communication line switching unit 58 of the mediation apparatus 101 includes a protection circuit 602, a line switching circuit 604, a network control front end unit 605, a DC supply circuit 606, and an external side device connection unit 607. The off-hook current detection circuit 2001 provided in the conventional communication line switching unit 2000 shown in FIG. 18 is not provided.
The modem unit 601 modulates and demodulates data in order to perform data communication with the management device 102 (external device) via the public line 103 (communication line). The control unit 601a and the storage unit 601b according to the present invention It has. The modem unit 601 is configured by an LSI having a digital single processor (DSP) as a core, for example.

制御部601aは、仲介装置101のCPU52や網制御フロントエンド部605との間で情報の送受信を行う。
記憶部601bは、コマンドなど、必要な情報を所定領域に保持するためのものであり、例えばROM,RAMが該当する。
回線切替回路604は、CPU52からの接続切替コマンドに従い、回線(公衆回線103の交換機106との接続ライン)L1,L2をモデム部601又は外部併設機器105(外部併設機器接続部607)への接続に切り替える回路である。
直流供給回路606は、回線切替回路604によって回線L1,L2が外部併設機器105から切り離された場合に、その外部併設機器105に所定の直流電圧を供給する回路である。
The control unit 601a transmits and receives information to and from the CPU 52 and the network control front end unit 605 of the mediation apparatus 101.
The storage unit 601b is for holding necessary information such as commands in a predetermined area, and corresponds to, for example, a ROM or a RAM.
The line switching circuit 604 connects the lines (connection lines with the exchange 106 of the public line 103) L1 and L2 to the modem unit 601 or the external equipment 105 (external equipment connection section 607) in accordance with a connection switching command from the CPU 52. It is a circuit to switch to.
The DC supply circuit 606 is a circuit that supplies a predetermined DC voltage to the external device 105 when the lines L1 and L2 are disconnected from the external device 105 by the line switching circuit 604.

ここで、この直流供給回路606は、仲介装置101の通信中(仲介装置101が回線を使用している間)、回線切替回路604によって回線L1,L2から切り離された外部併設機器105に接続されているため、その外部併設機器105へ所定の直流電圧(例えばDC24V)を供給する。この状態で外部併設機器105がオフフックすると、外部併設機器105との間で所定の直流電流が流れるため、その直流電流を検出し、CPU52への信号FHKBを変化させる(アクティブにする)。
CPU52は、信号FHKBがアクティブになると、仲介装置101の通信中に外部併設機器105がオフフックしたことを認識するため、モデム部601および網制御フロントエンド部605により、通信中の呼を強制的に切断し、数秒後に外部併設機器105が回線と接続されるように接続切替コマンドを回線切替回路604に送出して回線切り替えを行わせる。
Here, the DC supply circuit 606 is connected to the external side device 105 disconnected from the lines L1 and L2 by the line switching circuit 604 during communication of the mediation apparatus 101 (while the mediation apparatus 101 is using the line). Therefore, a predetermined DC voltage (for example, DC 24V) is supplied to the external device 105. When the external device 105 is off-hooked in this state, a predetermined DC current flows between the external device 105 and the DC current is detected and the signal FHKB to the CPU 52 is changed (activated).
When the signal FHKB becomes active, the CPU 52 recognizes that the external device 105 is off-hook during the communication of the mediation apparatus 101. Therefore, the modem unit 601 and the network control front end unit 605 force the call in communication. Disconnect, and a few seconds later, a connection switching command is sent to the line switching circuit 604 so that the external device 105 is connected to the line, thereby switching the line.

記憶部701は、データやプログラムを記憶保持するためのものであり、図7のSDRAM53,フラッシュメモリ54,HDD63等が該当する。この記憶部701は、物理的に単一であるか複数であるかを問わない。この記憶部701は、この発明に係わる接続切替コマンドや通信識別情報(監視側識別情報)を所定領域に記憶する。「接続切替コマンド」は、回線L1,L2(公衆回線103の交換機106との接続ラインL1,L2)をモデム部601又は外部併設機器105への接続に切り替えるためのコマンドである。「通信識別情報」は、管理装置102からの通信を判別するための管理装置102に固有の識別情報であり、例えばデコードされたDTMF信号(例えば単一トーンの組み合わせ)に相当する。
通信部702は、情報の送受信を行うものであり、図7のPHY57,RS232I/F61,RS485I/F62等の通信インタフェースに相当する。
The storage unit 701 stores and holds data and programs, and corresponds to the SDRAM 53, the flash memory 54, the HDD 63, and the like in FIG. It does not matter whether the storage unit 701 is physically single or plural. The storage unit 701 stores a connection switching command and communication identification information (monitoring side identification information) according to the present invention in a predetermined area. The “connection switching command” is a command for switching the lines L1 and L2 (connection lines L1 and L2 with the exchange 106 of the public line 103) to connection to the modem unit 601 or the external apparatus 105. “Communication identification information” is identification information unique to the management apparatus 102 for determining communication from the management apparatus 102, and corresponds to, for example, a decoded DTMF signal (for example, a combination of single tones).
The communication unit 702 transmits and receives information, and corresponds to a communication interface such as PHY57, RS232I / F61, and RS485I / F62 in FIG.

図10は、仲介装置101の通信回線切替部58の機能構成例を示すブロック図である。
この通信回線切替部58のモデム部601は、例えばデジタルシングルプロセッサ(DSP)をコアとするLSIによって構成されており、図9の制御部601aが回線電圧測定部801,比較判定部803,およびオフフック状態通知部804の機能を、記憶部601bが検出しきい値記憶部802の機能を実現する。
回線電圧測定部801は、網制御フロントエンド部605および保護回路602経由で回線L1,L2の電圧である回線電圧を測定する回線電圧測定手段である。
検出しきい値記憶部802は、予め決められたオフフック検出しきい値を所定領域に記憶する検出しきい値記憶手段である。この検出しきい値記憶部802はまた、後述する電圧補正値も記憶する。
FIG. 10 is a block diagram illustrating a functional configuration example of the communication line switching unit 58 of the mediation apparatus 101.
The modem unit 601 of the communication line switching unit 58 is configured by, for example, an LSI having a digital single processor (DSP) as a core, and the control unit 601a in FIG. 9 includes a line voltage measurement unit 801, a comparison determination unit 803, and an off-hook. The function of the state notification unit 804 and the function of the detection threshold value storage unit 802 are realized by the storage unit 601b.
The line voltage measurement unit 801 is a line voltage measurement unit that measures the line voltage, which is the voltage of the lines L1 and L2, via the network control front end unit 605 and the protection circuit 602.
The detection threshold value storage unit 802 is a detection threshold value storage unit that stores a predetermined off-hook detection threshold value in a predetermined area. The detection threshold value storage unit 802 also stores a voltage correction value described later.

比較判定部803は、回線電圧測定部801による測定値と検出しきい値記憶部802内のオフフック検出しきい値とを比較し、その比較結果に基づいて外部併設機器105がオフフック状態であるか否かを判定する手段であり、比較手段と状態判定手段とからなる。
オフフック状態通知部804は、比較判定部803によって外部併設機器105がオフフック状態であると判定された場合(外部併設機器105のオフフックを検出した場合)に、その旨をCPU52へ通知するオフフック状態通知手段である。
なお、この通信回線切替部58のモデム部601は、図示は省略するが、回線電圧測定部801による測定値と予め決められた電圧補正値とに基づいてオフフック検出しきい値を決定(算出)するオフフック検出しきい値決定部(オフフック検出しきい値決定手段)、および公衆回線103の交換機106に基づいて上記電圧補正値を決定する電圧補正値決定部(電圧補正値決定手段)の機能も備えている。
The comparison determination unit 803 compares the measurement value by the line voltage measurement unit 801 with the off-hook detection threshold value in the detection threshold value storage unit 802, and based on the comparison result, whether the external device 105 is in the off-hook state. It is a means for determining whether or not, and comprises a comparison means and a state determination means.
The off-hook state notification unit 804 notifies the CPU 52 of the fact when the comparison determination unit 803 determines that the external side device 105 is in the off-hook state (when the off-hook state of the external side device 105 is detected). Means.
Although not shown in the figure, the modem unit 601 of the communication line switching unit 58 determines (calculates) an off-hook detection threshold value based on a measurement value obtained by the line voltage measurement unit 801 and a predetermined voltage correction value. Functions of an off-hook detection threshold value determination unit (off-hook detection threshold value determination unit) and a voltage correction value determination unit (voltage correction value determination unit) that determines the voltage correction value based on the exchange 106 of the public line 103. I have.

ここで、「オフフック検出しきい値」は、外部併設機器105がオフフック状態であるか否かを判定するために使用する値であり、オンフック時の回線電圧測定部801による測定値と予め決められた電圧補正値とに基づいて算出(決定)される電圧値である。そのため、算出されるオフフック検出しきい値は正確なものとなる。このため、制御部601a(比較判定部803)は、そのオフフック検出しきい値と回線電圧測定部801による測定値とを比較することにより、外部併設機器105がオフフック状態であるか否かを正確に判定することが可能となる。
「オフフック検出しきい値」は、例えばオンフック時の回線電圧測定部801による測定値(公衆回線103の交換機106との接続ラインL1,L2間の回線電圧値VL)を「2」で割ったものに電圧補正値αを加えたもの(VL/2+α)となる。
Here, the “off-hook detection threshold value” is a value used to determine whether or not the external device 105 is in an off-hook state, and is determined in advance as a measurement value by the line voltage measurement unit 801 during on-hook. The voltage value is calculated (determined) based on the corrected voltage value. Therefore, the calculated off-hook detection threshold value is accurate. Therefore, the control unit 601a (comparison / determination unit 803) compares the off-hook detection threshold value with the measurement value obtained by the line voltage measurement unit 801 to accurately determine whether or not the external device 105 is in the off-hook state. Can be determined.
“Off-hook detection threshold value” is, for example, a value obtained by dividing line voltage measurement unit 801 during on-hook (line voltage value VL between connection lines L1 and L2 with switch 106 of public line 103) divided by “2”. The voltage correction value α is added to (VL / 2 + α).

よって、VL=48V,α=3Vであった場合には27V、VL=24V,α=3Vであった場合には15Vとなる。この場合、比較判定部803は、例えばオフフック検出しきい値が27Vであれば回線電圧値VLが27V以下のとき、オフフック検出しきい値が15Vであれば回線電圧値VLが15V以下のとき、外部併設機器105がオフフック状態であると判定する(外部併設機器105のオフフックを検出する)。
一方、仲介装置101のCPU52は、仲介装置101全体を統括的に制御するマイクロコンピュータであり、通信回線切替部58のモデム部601の比較判定部803による判定結果に基づいて、記憶部701内の接続切替コマンドを使用することにより回線切替回路604を制御し、回線をモデム部601又は外部併設機器105への接続に切り替える(例えばオフフック状態と判定した場合に回線をモデム部601への接続に切り替える)回線切替部(通信回線切替手段)の機能を実現する。
なお、上述したオフフック検出しきい値の計算式や電圧補正値は一例であり、利用環境に応じて任意に設定できる。但し、電圧補正値は交換機106の特性によって決まる。
Therefore, when VL = 48V and α = 3V, it becomes 27V, and when VL = 24V and α = 3V, it becomes 15V. In this case, for example, when the off-hook detection threshold is 27V, the comparison determination unit 803 has a line voltage value VL of 27V or less. When the off-hook detection threshold is 15V, the comparison determination unit 803 has a line voltage value VL of 15V or less. It is determined that the external side device 105 is in an off-hook state (detects off hook of the external side device 105).
On the other hand, the CPU 52 of the mediation apparatus 101 is a microcomputer that controls the entire mediation apparatus 101 in an integrated manner, and based on the determination result by the comparison determination unit 803 of the modem unit 601 of the communication line switching unit 58, The line switching circuit 604 is controlled by using the connection switching command, and the line is switched to the connection to the modem unit 601 or the external device 105 (for example, the line is switched to the connection to the modem unit 601 when it is determined to be in the off-hook state). ) Realize the function of the line switching unit (communication line switching means).
The above-described formula for calculating the off-hook detection threshold and the voltage correction value are examples, and can be arbitrarily set according to the use environment. However, the voltage correction value is determined by the characteristics of the exchange 106.

次に、管理装置102の物理的構成について、図11を参照して説明する。
図11は、管理装置102の物理的構成の一例を示すブロック図である。
この管理装置102は、モデム1001,通信端末1002,プロキシ(Proxy)サーバ1003,操作者端末1004,データベース1005,制御装置1006等からなる。
モデム1001は、公衆回線103を介して機器利用者側(例えば画像形成装置100を利用しているユーザ先)の仲介装置101又は画像形成装置110と通信するものであり、送受信するデータを変復調する。このモデム601と後述する通信端末1002により通信手段としての機能を果たす。
通信端末1002は、モデム1001による通信を制御するものである。
プロキシサーバ1003は、インタネット112を介して機器利用者側の仲介装置101又は画像形成装置110との通信およびセキュリティ管理を行う。このプロキシサーバ1003も、通信手段としての機能を果たす。
Next, the physical configuration of the management apparatus 102 will be described with reference to FIG.
FIG. 11 is a block diagram illustrating an example of a physical configuration of the management apparatus 102.
The management device 102 includes a modem 1001, a communication terminal 1002, a proxy server 1003, an operator terminal 1004, a database 1005, a control device 1006, and the like.
The modem 1001 communicates with the mediating apparatus 101 or the image forming apparatus 110 on the device user side (for example, a user destination using the image forming apparatus 100) via the public line 103, and modulates and demodulates data to be transmitted and received. . The modem 601 and a communication terminal 1002, which will be described later, serve as communication means.
The communication terminal 1002 controls communication by the modem 1001.
The proxy server 1003 performs communication and security management with the mediation apparatus 101 or the image forming apparatus 110 on the device user side via the Internet 112. The proxy server 1003 also functions as a communication unit.

操作者端末1004は、各種データの入力をオペレータによるキーボードやポインティングデバイス(マウス等)等の入力部上の操作により受け付ける。
データベース1005は、図示しないサーバのハードディスク装置等の記憶装置に存在し、各機器利用者側の仲介装置101および画像形成装置110から受信したデータ、操作者端末1004から入力されたデータ、およびプログラム等の各種データを記憶する。このデータベース1005の所定領域には、パラメータ記憶エリアを備えている。このパラメータ記憶エリアは、回線パラメータを含む各種パラメータを記憶する。
制御装置1006は、図示しないCPU,ROM,RAM等からなるマイクロコンピュータを備えており、管理装置102全体を統括的に制御する。そのCPUが、上記プログラムに従って動作する(上記プログラムを必要に応じて実行する)と共に、モデム1001,通信端末1002,又はプロキシサーバ1003を必要に応じて選択的に使用することにより、各種機能を実現することができる。
The operator terminal 1004 accepts input of various data by an operation on an input unit such as a keyboard or a pointing device (such as a mouse) by an operator.
The database 1005 exists in a storage device such as a hard disk device of a server (not shown), receives data from the mediation device 101 and the image forming device 110 on each device user side, data input from the operator terminal 1004, programs, and the like The various data are stored. A predetermined area of the database 1005 has a parameter storage area. This parameter storage area stores various parameters including line parameters.
The control device 1006 includes a microcomputer composed of a CPU, ROM, RAM, and the like (not shown), and controls the entire management device 102 in an integrated manner. The CPU operates in accordance with the above program (executes the above program as needed), and various functions are realized by selectively using the modem 1001, the communication terminal 1002, or the proxy server 1003 as necessary. can do.

上述した構成を踏まえて、図3の画像形成装置管理システム内で行われるデータ送受信の際の通信シーケンスの一例について図12を用いて説明する。なお、以下に示すSCS306およびNRS305による処理は、実際には図4のCPU201がそれらのプログラムに従って動作することによって実行するが、説明の都合上、それらのプログラムが処理を実行するものとする。
図12は、管理装置102,仲介装置101,および画像形成装置100間で行われるデータ送受信の際の通信シーケンスの一例を示す図である。
Based on the above-described configuration, an example of a communication sequence at the time of data transmission / reception performed in the image forming apparatus management system in FIG. 3 will be described with reference to FIG. Note that the processing by the SCS 306 and NRS 305 described below is actually executed by the CPU 201 of FIG. 4 operating according to those programs, but for the sake of explanation, these programs execute processing.
FIG. 12 is a diagram illustrating an example of a communication sequence at the time of data transmission / reception performed between the management apparatus 102, the mediation apparatus 101, and the image forming apparatus 100.

この例においては、まず、仲介装置101は、インタネット112経由で管理装置102に対してポーリング(送信要求があるかどうかの問い合わせ)を行う(S601)。つまり、自己の識別情報である識別子を付加したポーリング情報のSOAPメッセージを生成し(ポーリング情報を構造化言語形式であるXML形式に変換し)、そのSOAPメッセージに基づいてHTTPメッセージ(SOAPメッセージを含むHTTPメッセージ)を生成し、それをインタネット112経由で管理装置102へ送信する。
管理装置102は、仲介装置101から上記HTTPメッセージ(HTTPリクエスト)を受信すると、課金カウンタ(カウンタ情報)取得要求を示す情報のSOAPメッセージを含むHTTPメッセージ(HTTPレスポンス)を生成し、それをインタネット112経由で該当する仲介装置101(受信したSOAPメッセージの送信元)へ送信する(S602)。このとき、受信したHTTPメッセージ内のSOAPメッセージに付加された識別子に基づいて該当する仲介装置101を認識する。
In this example, first, the mediation apparatus 101 polls the management apparatus 102 via the Internet 112 (inquiry whether there is a transmission request) (S601). That is, it generates a SOAP message of polling information to which an identifier that is its own identification information is added (converts the polling information to an XML format that is a structured language format), and an HTTP message (including the SOAP message) based on the SOAP message. HTTP message) is generated and transmitted to the management apparatus 102 via the Internet 112.
When the management apparatus 102 receives the HTTP message (HTTP request) from the mediation apparatus 101, the management apparatus 102 generates an HTTP message (HTTP response) including a SOAP message of information indicating a charging counter (counter information) acquisition request, and transmits it to the Internet 112. The message is transmitted to the corresponding intermediary device 101 (source of the received SOAP message) via the route (S602). At this time, the corresponding intermediary device 101 is recognized based on the identifier added to the SOAP message in the received HTTP message.

仲介装置101は、管理装置102から上記HTTPメッセージを受信すると、そのHTTPメッセージに基づいて課金カウンタ取得要求を示す情報のSOAPメッセージを生成し、それをネットワーク経由で自己に接続されている画像形成装置100のNRS305へ送信する(S603)。
NRS305は、仲介装置101から受信したSOAPメッセージに記述されている課金カウンタ取得要求をSCS306へ通知する(S604)。
SCS306は、NRS305から課金カウンタ取得要求の通知を受けると、フラッシュメモリ204(又はHDD208)に格納されている課金カウンタのデータを読み取る(S605)。そして、その読み取った課金カウンタのデータ(応答データ)をNRS305へ引き渡す(S606)。
When the intermediary device 101 receives the HTTP message from the management device 102, the mediation device 101 generates a SOAP message of information indicating a charging counter acquisition request based on the HTTP message, and the image forming device connected to itself via the network It transmits to 100 NRSs 305 (S603).
The NRS 305 notifies the SCS 306 of a charging counter acquisition request described in the SOAP message received from the mediation apparatus 101 (S604).
Upon receiving the charge counter acquisition request notification from the NRS 305, the SCS 306 reads the charge counter data stored in the flash memory 204 (or HDD 208) (S605). Then, the read accounting counter data (response data) is delivered to the NRS 305 (S606).

NRS305は、SCS306から課金カウンタのデータ(カウンタ値を示すカウンタ情報)を受け取ると、そのデータのSOAPメッセージを生成し(受け取ったデータを構造化言語形式であるXML形式に変換し)、それをネットワーク経由で仲介装置101へ送信する(S607)。
仲介装置101は、NRS305から課金カウンタのデータのSOAPメッセージを受信すると、そのSOAPメッセージを含むHTTPメッセージを生成し、それをインタネット112経由で管理装置102へ送信する(S608)。
このように、上記通信シーケンスにより、データの送受信が行われる。
When the NRS 305 receives billing counter data (counter information indicating the counter value) from the SCS 306, the NRS 305 generates a SOAP message of the data (converts the received data into an XML format that is a structured language format), and converts it into a network. The information is transmitted to the mediation apparatus 101 via (S607).
When the mediation apparatus 101 receives the SOAP message of the billing counter data from the NRS 305, the mediation apparatus 101 generates an HTTP message including the SOAP message and transmits it to the management apparatus 102 via the Internet 112 (S608).
Thus, data transmission / reception is performed by the communication sequence.

次に、上記図12と異なり、画像形成装置100から仲介装置101を経て管理装置102へデータを送信する場合の通信シーケンスの一例について図13を用いて説明する。
図13は、画像形成装置100から管理装置102へデータを送信する場合の通信シーケンスの一例を示す図である。
この例においては、まず、OCS300は、操作部207上の図示しないユーザコールキーが押下された旨をSCS306へ通知する(S701)。
SCS306は、OCS300からユーザコールキーが押下された旨の通知を受けると、ユーザコール要求をNRS305へ通知する(S702)。
Next, unlike FIG. 12, an example of a communication sequence when data is transmitted from the image forming apparatus 100 to the management apparatus 102 via the mediation apparatus 101 will be described with reference to FIG.
FIG. 13 is a diagram illustrating an example of a communication sequence when data is transmitted from the image forming apparatus 100 to the management apparatus 102.
In this example, the OCS 300 first notifies the SCS 306 that a user call key (not shown) on the operation unit 207 has been pressed (S701).
Upon receiving notification from the OCS 300 that the user call key has been pressed, the SCS 306 notifies the NRS 305 of a user call request (S702).

NRS305は、SCS306からユーザコール要求の通知を受けると、ユーザコールを知らせるユーザコール情報のSOAPメッセージを生成し、それをネットワーク経由で仲介装置101へ送信する(S703)。
仲介装置101は、NRS305からユーザコール情報のSOAPメッセージを受信すると、そのSOAPメッセージに自己の識別情報である識別子を付加し、更にそのSOAPメッセージを含むHTTPメッセージを生成し、インタネット112経由で管理装置102に対してユーザコールを行う。つまり、自己の識別子を付加したユーザコール情報のSOAPメッセージを含むHTTPメッセージをインタネット112経由で管理装置102へ通報する(S704)。ここで、ステップS704の処理後のパターンを以下の(A)から(C)に分けて説明する。
Upon receiving the user call request notification from the SCS 306, the NRS 305 generates a SOAP message of user call information notifying the user call and transmits it to the mediation apparatus 101 via the network (S703).
When the mediation device 101 receives the SOAP message of the user call information from the NRS 305, the mediation device 101 adds an identifier, which is its own identification information, to the SOAP message, and further generates an HTTP message including the SOAP message. A user call is made to 102. That is, an HTTP message including a SOAP message of user call information with its own identifier added is reported to the management apparatus 102 via the Internet 112 (S704). Here, the pattern after the process of step S704 will be described separately in the following (A) to (C).

まず、(A)において、管理装置102は、ユーザ先(機器利用者)の仲介装置101からユーザコール情報のSOAPメッセージを含むHTTPメッセージを受信し、その受信が正常に終了した場合には、その旨(ユーザコールが成功した旨)のコール結果を、正常に終了しなかった(異常に終了した)場合には、その旨(ユーザコールが失敗した旨)のコール結果を示す情報のSOAPメッセージを含むHTTPメッセージを生成し、それをインタネット112経由で通報元の仲介装置101へ送信する(S705)。
仲介装置101は、管理装置102からコール結果を示す情報のSOAPメッセージを含むHTTPメッセージを受信すると、そのHTTPメッセージに基づいてコール結果を示す情報のSOAPメッセージを生成し、それをネットワーク経由でユーザコールキーが押下された画像形成装置100のNRS305へ送信する(S706)。
First, in (A), the management apparatus 102 receives an HTTP message including a SOAP message of user call information from the mediation apparatus 101 of the user destination (device user), and when the reception ends normally, If the call result indicating that the user call was successful is not completed normally (abnormally ended), a SOAP message with information indicating the call result indicating that the user call has failed is displayed. An HTTP message including the message is generated and transmitted to the mediating apparatus 101 that is the notification source via the Internet 112 (S705).
When the intermediary device 101 receives an HTTP message including a SOAP message indicating information on the call result from the management device 102, the mediation device 101 generates a SOAP message indicating information on the call result based on the HTTP message, and sends it to the user call via the network. The image is transmitted to the NRS 305 of the image forming apparatus 100 whose key is pressed (S706).

NRS305は、仲介装置101からコール結果を示す情報のSOAPメッセージを受信すると、そのSOAPメッセージが示すコール結果を解釈(判定)し、SCS306へ通知する(S707)。
SCS306は、コール結果を受け取ると、それをOCS300へ引き渡す。
OCS300は、SCS306からコール結果を受け取ると、その内容つまりユーザコールが成功したか失敗したかを示すメッセージを操作部207上の文字表示器に表示する(S708)。
When the NRS 305 receives a SOAP message of information indicating the call result from the mediation apparatus 101, the NRS 305 interprets (determines) the call result indicated by the SOAP message and notifies the SCS 306 (S707).
When the SCS 306 receives the call result, it delivers it to the OCS 300.
When the OCS 300 receives the call result from the SCS 306, the OCS 300 displays the content, that is, a message indicating whether the user call is successful or unsuccessful on the character display on the operation unit 207 (S708).

次に(B)において、仲介装置101は、規定時間(予め設定された所定時間)が経っても管理装置102から応答がないと判断した場合には、ユーザコールが失敗した旨のコール結果を示す情報のSOAPメッセージを生成し、それをNRS305へ送信する(S709)。
NRS305は、失敗した旨のコール結果を示す情報のSOAPメッセージを受信すると、そのSOAPメッセージに記述されている失敗した旨のコール結果を解釈し、SCS306へ通知する(S710)。
SCS306は、NRS305からコール結果を受け取ると、それをOCS300へ引き渡す。
Next, in (B), when the intermediary device 101 determines that there is no response from the management device 102 after a predetermined time (a predetermined time set in advance), a call result indicating that the user call has failed is displayed. A SOAP message with the indicated information is generated and transmitted to the NRS 305 (S709).
When the NRS 305 receives a SOAP message having information indicating a call result indicating failure, the NRS 305 interprets the call result indicating failure described in the SOAP message and notifies the SCS 306 (S710).
When the SCS 306 receives the call result from the NRS 305, the SCS 306 delivers it to the OCS 300.

OCS300は、SCS306からコール結果を受け取ると、その内容つまりユーザコールが失敗した旨を示すメッセージを操作部207上の文字表示器に表示する(S711)。
次に(C)において、NRS305は、規定時間が経っても仲介装置101から応答がないと判断した場合には、ユーザコールが失敗した旨のコール結果をSCS306へ通知する(S712)。
SCS306は、NRS305からコール結果を受け取ると、それをOCS300へ引き渡す。
OCS300は、SCS306からコール結果を受け取ると、その内容つまりユーザコールが失敗した旨を示すメッセージを操作部207上の文字表示器に表示する(S713)。
When the OCS 300 receives the call result from the SCS 306, the OCS 300 displays the content, that is, a message indicating that the user call has failed on the character display on the operation unit 207 (S711).
Next, in (C), when the NRS 305 determines that there is no response from the mediation apparatus 101 even after the specified time has elapsed, the NRS 305 notifies the SCS 306 of a call result indicating that the user call has failed (S712).
When the SCS 306 receives the call result from the NRS 305, the SCS 306 delivers it to the OCS 300.
When the OCS 300 receives the call result from the SCS 306, the OCS 300 displays the content, that is, a message indicating that the user call has failed on the character display on the operation unit 207 (S713).

ここで、画像形成装置100は、プロッタエンジンや操作部207等の各ハードウェア資源を制御するCPU201が、その各ハードウェア資源の状態を監視し、いずれかのハードウェア資源で異常等の所定の事象が発生した場合、その事象を検出し、その事象の種類によって異なる処理を行う。よって、事象の種類を判定するための基準となる情報が必要であり、図14の例は事象(異常)の種類を判定するための基準となる情報(基準情報)の一例を示すテーブルのデータ構造を示している。ここで、「SC(サービスマンコール)」は「異常」に相当するものである。同図に示すように、検出されたSCによって種類(タイプ)が判定される。そこで、それぞれの種類について説明する。   Here, in the image forming apparatus 100, the CPU 201 that controls each hardware resource such as the plotter engine and the operation unit 207 monitors the state of each hardware resource, and a predetermined error such as an abnormality is detected with any of the hardware resources. When an event occurs, the event is detected, and different processing is performed depending on the type of the event. Therefore, information serving as a reference for determining the type of event is necessary, and the example of FIG. 14 is table data indicating an example of information (reference information) used as a reference for determining the type of event (abnormality). The structure is shown. Here, “SC (Service Man Call)” corresponds to “abnormal”. As shown in the figure, the type is determined based on the detected SC. Therefore, each type will be described.

「タイプA」は、操作部207上の文字表示器(表示部)にSC表示を行って使用禁止とするもののうち、機器利用者(ユーザ)が解除できないものであり、管理装置102からの「SCリセット」もできないものである。例えば、定着系のSCなどである。
「タイプB」は、異常が検出(検知)された特定の機能のみが使用できないSCである。通常使用時には操作部207上の文字表示器にSC表示を行わないが、異常が検出されている機能を選択した時だけ、その文字表示器にSC表示を行う。例えば、両面ユニット異常時に両面モードを選択した場合が該当する。
「タイプC」は、SC発生時にも操作部207上の文字表示器への表示は行わず、内部的にSCの発生のロギングのみを行うものである。例えば、通信が不能になった場合が該当する。
“Type A” is an item that is prohibited from being used by performing SC display on the character display (display unit) on the operation unit 207, and cannot be canceled by the device user (user). "SC reset" is also impossible. For example, a fixing SC.
“Type B” is an SC that cannot use only a specific function in which an abnormality is detected (detected). In normal use, SC display is not performed on the character display on the operation unit 207, but SC display is performed on the character display only when a function in which an abnormality is detected is selected. For example, this corresponds to the case where the duplex mode is selected when the duplex unit is abnormal.
“Type C” does not display on the character display on the operation unit 207 even when an SC occurs, but only logs the occurrence of the SC internally. For example, the case where communication becomes impossible corresponds.

また、「タイプD」は、操作部207上の文字表示器にSC表示を行って使用禁止とするが、主電源のOFF/ON(一旦OFFにし、再びONにする操作)あるいはソフト電源キーの操作によってSCを解除するものである。主電源ON(電源投入)後に再度SCを検出して、見かけ上解除されない場合もある。例えば、モータ異常がそれに該当する。上記判定の基準情報は、上述したフラッシュメモリ204(又はHDD208)の所定の格納領域に格納されていることが考えられる。なお、スキャナエンジンのSC,プロッタエンジンのSCのように、ユニット別の事象も種類の異なる事象として扱うものとする。   “Type D” displays the SC on the character display on the operation unit 207 and prohibits the use. However, the main power is turned OFF / ON (the operation is turned OFF and turned ON again) or the soft power key is pressed. The SC is canceled by the operation. There may be a case where the SC is detected again after the main power is turned on (power is turned on) and is not canceled apparently. For example, a motor abnormality corresponds to this. It is conceivable that the reference information for the determination is stored in a predetermined storage area of the flash memory 204 (or HDD 208). It should be noted that events such as scanner engine SC and plotter engine SC are also handled as different types of events.

以下、仲介装置101におけるこの発明の特徴となる処理について、図15〜図17を参照して具体的に説明する。なお、この処理は仲介装置101としての機能を有する画像形成装置110でも行えるが、その説明は省略する。
図15は、仲介装置101におけるオフフック検出しきい値算出処理の一例を示すフローチャートである。
仲介装置101のCPU52は、定期的に図15の処理ルーチンを開始し、まずステップS1で予め設定された回線電圧測定タイミングであるか否かを判断し、そのタイミングであればステップS2で通信回線切替部58に回線をオンフックさせる。
次に、ステップ3で通信回線切替部58の制御部601a(回線電圧測定部801)にオンフック時の回線電圧VL(公衆回線103の交換機106との接続ラインL1,L2間の電圧)を測定させる。
その回線電圧VLの測定が完了すると、ステップS4で制御部601aに回線電圧値VLと予め決められた電圧補正値αとに基づいてオフフック検出しきい値を算出させる。
Hereinafter, the process which is the characteristic of this invention in the mediation apparatus 101 is demonstrated concretely with reference to FIGS. This process can be performed by the image forming apparatus 110 having a function as the mediation apparatus 101, but the description thereof is omitted.
FIG. 15 is a flowchart illustrating an example of an off-hook detection threshold value calculation process in the mediation apparatus 101.
The CPU 52 of the intermediary device 101 periodically starts the processing routine of FIG. 15 and first determines whether or not the line voltage measurement timing is preset in step S1, and if so, the communication line is determined in step S2. The switching unit 58 makes the line on-hook.
Next, in step 3, the control unit 601a (line voltage measurement unit 801) of the communication line switching unit 58 measures the line voltage VL (voltage between the connection lines L1 and L2 with the exchange 106 of the public line 103) when on-hook. .
When the measurement of the line voltage VL is completed, an off-hook detection threshold value is calculated based on the line voltage value VL and a predetermined voltage correction value α in step S4.

図16は、仲介装置101における回線切替処理の一例を示すフローチャートである。
なお、仲介装置101のCPU52が、通信回線切替部58によって回線(接続ライン)L1,L2が外部併設機器105への接続に切り替えられている場合(外部併設機器モード時)に、管理装置102からの要求により、回線(接続ライン)L1,L2をモデム部601への接続に切り替えるという前提で以下の説明を行う。また、外部併設機器105としては、例えばFAX装置を想定する。
仲介装置101のCPU52は、ステップS11で外部併設機器105がオフフック状態であるか否かを判定し、オフフック状態であればステップS12へ進み、ATコマンドを記憶部701から読み出し、それを通信回線切替部58のモデム部601の制御部601aに送出することにより、そのモデム部601をDTMF受信モードにする。
FIG. 16 is a flowchart illustrating an example of line switching processing in the mediation apparatus 101.
When the communication line switching unit 58 switches the lines (connection lines) L1 and L2 to the connection to the external apparatus 105 (in the external apparatus mode), the CPU 52 of the mediation apparatus 101 receives the information from the management apparatus 102. The following description will be made on the assumption that the lines (connection lines) L1 and L2 are switched to the connection to the modem unit 601 in response to the above request. As the external apparatus 105, for example, a FAX apparatus is assumed.
In step S11, the CPU 52 of the mediation apparatus 101 determines whether or not the external device 105 is in an off-hook state. If the off-hook state is in an off-hook state, the CPU 52 proceeds to step S12, reads an AT command from the storage unit 701, and switches it to a communication line. By sending the data to the control unit 601a of the modem unit 601 of the unit 58, the modem unit 601 is set to the DTMF reception mode.

ここで、この場合の「ATコマンド」は通常のコマンドモードをDTMF受信モードに移行するためのコマンドであり、例えばAT&R1である。「DTMF受信モード」というのは、回線(接続ライン)L1,L2上のDTMF信号を仲介装置101が受信する状態をいう。「通常のコマンドモード」というのは、仲介装置101が通常のコマンドを受信する状態をいう。
仲介装置101のCPU52は、通信回線切替部58のモデム部601がDTMF受信モードになると、ステップS13でそのモデム部601が回線(接続ライン)L1,L2上のDTMF信号(トーン信号)を受信したかどうかをチェックし、DTMF信号を受信したと判定すればステップS14へ進み、モデム部601にオフフックさせるためのコマンド(指示)を通信回線切替部58の網制御フロントエンド部605へ送出する。網制御フロントエンド部605は、そのコマンドを受けると、直流ループを形成し、モデム部601をオフフック状態にする。
Here, the “AT command” in this case is a command for shifting the normal command mode to the DTMF reception mode, and is, for example, AT & R1. The “DTMF reception mode” refers to a state in which the mediation apparatus 101 receives DTMF signals on the lines (connection lines) L1 and L2. “Normal command mode” means a state in which the mediation apparatus 101 receives a normal command.
When the modem unit 601 of the communication line switching unit 58 enters the DTMF reception mode, the CPU 52 of the mediation apparatus 101 receives the DTMF signal (tone signal) on the lines (connection lines) L1 and L2 in step S13. If it is determined that the DTMF signal has been received, the process proceeds to step S14, and a command (instruction) for causing the modem unit 601 to go off-hook is sent to the network control front end unit 605 of the communication line switching unit 58. When the network control front end unit 605 receives the command, it forms a DC loop and puts the modem unit 601 in an off-hook state.

ここで、CPU52がDTMF信号の受信を判断したのは、管理装置102が自己のDTMF信号を回線(接続ライン)L1,L2上に送出したからである。
仲介装置101のCPU52は、モデム部601がオフフック状態になると、ステップS15で記憶部701内の接続切替コマンドを使用することにより通信回線切替部58の回線切替回路604を制御し、回線L1,L2をモデム部601への接続に切り替えた後、ステップS16でDTMF信号の受信状況を監視(受信が終了したかどうかをチェック)し、その受信が終了したと判定すればステップS17へ進んで、記憶部701からATコマンドを読み出し、それを通信回線切替部58のモデム部601の制御部601aに送出することにより、そのモデム部601を通常のコマンドモードにする。
ここで、この場合の「ATコマンド」はDTMF受信モードの終了を指示する(DTMF受信モードを通常のコマンドモードに移行するための)コマンドであり、例えばAT&R0である。
Here, the reason why the CPU 52 determines the reception of the DTMF signal is that the management apparatus 102 sends its own DTMF signal onto the lines (connection lines) L1 and L2.
When the modem unit 601 enters the off-hook state, the CPU 52 of the mediation apparatus 101 controls the line switching circuit 604 of the communication line switching unit 58 by using the connection switching command in the storage unit 701 in step S15, and the lines L1, L2 Is switched to the connection to the modem unit 601, the reception status of the DTMF signal is monitored (checking whether reception is completed) in step S16, and if it is determined that the reception is completed, the process proceeds to step S17 to store The AT command is read from the unit 701 and sent to the control unit 601a of the modem unit 601 of the communication line switching unit 58, so that the modem unit 601 is set to the normal command mode.
Here, the “AT command” in this case is a command for instructing the end of the DTMF reception mode (for shifting the DTMF reception mode to the normal command mode), for example, AT & R0.

仲介装置101のCPU52は、モデム部601へのATコマンドの送出に対してそのモデム部601から「OK」レスポンスを受けると、ステップ18で所定の処理によってモデム部601から管理装置102へアンサトーン信号を送出させ、その管理装置102とのデータ通信を開始する。
その後、ステップ19で管理装置102とのデータ通信が終了したかどうかを監視し、そのデータ通信が終了した場合にステップS20へ進んで、記憶部701内の接続切替コマンドを使用することにより通信回線切替部58の回線切替回路604を制御し、回線L1,L2をモデム部601から外部併設機器105への接続に切り替える。つまり、回線を切断する。
以上で、仲介装置101における回線切替処理の説明を終了する。
When the CPU 52 of the intermediary device 101 receives an “OK” response from the modem unit 601 in response to sending the AT command to the modem unit 601, an answer tone signal is sent from the modem unit 601 to the management device 102 by a predetermined process in step 18. To start data communication with the management apparatus 102.
Thereafter, in step 19, it is monitored whether or not the data communication with the management apparatus 102 has been completed. When the data communication has been completed, the process proceeds to step S 20, and the communication line is set by using the connection switching command in the storage unit 701. The line switching circuit 604 of the switching unit 58 is controlled to switch the lines L1 and L2 to the connection from the modem unit 601 to the external equipment 105. That is, the line is disconnected.
This is the end of the description of the line switching process in the mediation apparatus 101.

図17は、仲介装置101における管理装置102からの着信時(モデム部601への回線接続)時の通信シーケンスの一例を示すタイミングチャートである。
ここでも、図16の場合と同じ前提で説明する。つまり、仲介装置101のCPU52が、通信回線切替部58によって回線L1,L2が外部併設機器105への接続に切り替えられている場合(外部併設機器モード時)に、管理装置102からの要求により、回線(接続ライン)L1,L2をモデム部601への接続に切り替えるという前提で以下の説明を行う。
例えば、仲介装置101自体の電源が投入されると、その仲介装置101のCPU52は、通信回線切替部58の制御部601aに初期設定コマンドを通知する(S31)。
通信回線切替部58の制御部601aは、初期設定コマンドを受けると、「OK」レスポンスをCPU52に返送し、初期化処理を行い、待機状態となる(S32)。
FIG. 17 is a timing chart illustrating an example of a communication sequence at the time of an incoming call from the management apparatus 102 in the mediation apparatus 101 (line connection to the modem unit 601).
Here, the same premise as in the case of FIG. 16 will be described. That is, when the communication line switching unit 58 switches the lines L1 and L2 to the connection to the external apparatus 105 (in the external apparatus mode), the CPU 52 of the intermediary apparatus 101 responds to a request from the management apparatus 102. The following description will be made on the assumption that the lines (connection lines) L1 and L2 are switched to connection to the modem unit 601.
For example, when the mediation device 101 itself is turned on, the CPU 52 of the mediation device 101 notifies the control unit 601a of the communication line switching unit 58 of an initial setting command (S31).
Upon receiving the initial setting command, the control unit 601a of the communication line switching unit 58 returns an “OK” response to the CPU 52, performs initialization processing, and enters a standby state (S32).

その後、管理装置102は、仲介装置101に接続されている画像形成装置100を遠隔管理するため、回線L1,L2(公衆回線103中の該当する交換機106に接続されている回線)を介して仲介装置101を呼び出す(S33)。仲介装置101を呼び出す方法としては、例えば、回線L1,L2上に、仲介装置101への呼び出し信号(リンギング)を送出する方法を採用する。図17において、「RING」は、上述のリンギングを意味する。具体的には、仲介装置101が接続されている回線L1,L2の電話番号である機器利用者(顧客先)の電話番号(相手電話番号)をダイヤルしてそのダイヤル信号を公衆回線103上に送出する。それによって、公衆回線103の交換機106から仲介装置101へ呼び出し信号が送出される。   Thereafter, the management apparatus 102 mediates via the lines L1 and L2 (lines connected to the corresponding exchange 106 in the public line 103) in order to remotely manage the image forming apparatus 100 connected to the mediation apparatus 101. The device 101 is called (S33). As a method for calling the mediation device 101, for example, a method of sending a call signal (ringing) to the mediation device 101 on the lines L1 and L2 is adopted. In FIG. 17, “RING” means the ringing described above. Specifically, the telephone number (the other party's telephone number) of the device user (customer), which is the telephone number of the lines L1 and L2 to which the intermediary device 101 is connected, is dialed and the dial signal is placed on the public line 103. Send it out. As a result, a call signal is sent from the exchange 106 of the public line 103 to the mediation apparatus 101.

その仲介装置101では、回線L1,L2が回線切替回路604を介して外部併設機器105に接続されているので、その外部併設機器105が回線L1,L2からの呼び出し信号を受けてオフフックし、回線L1,L2を捕捉する(回線L1,L2を直流的に閉結する)。
外部併設機器105がオンフック状態からオフフック状態になると、仲介装置101の通信回線切替部58のモデム部601の制御部601aは、外部併設機器105のオフフックを検出し、その旨をCPU52へ通知する(S34)。なお、外部併設機器105がオフフックしたのは、外部併設機器モードの時、呼び出し信号を受けたからである。また、モデム部601のオンフック状態を通知する方法としては、例えば「LINE PICKUP」信号を制御部601aがCPU52に送出する方法を採用する。
In the intermediary device 101, since the lines L1 and L2 are connected to the external equipment 105 via the line switching circuit 604, the external equipment 105 receives a call signal from the lines L1 and L2 and goes off-hook. L1 and L2 are captured (lines L1 and L2 are DC-connected).
When the external auxiliary device 105 changes from the on-hook state to the off-hook state, the control unit 601a of the modem unit 601 of the communication line switching unit 58 of the intermediary device 101 detects the off-hook of the external auxiliary device 105 and notifies the CPU 52 of this ( S34). The reason why the external device 105 is off-hook is that the call signal is received in the external device mode. As a method for notifying the on-hook state of the modem unit 601, for example, a method in which the control unit 601a sends a “LINE PICKUP” signal to the CPU 52 is employed.

ここで、ステップS34の処理について、もう少し詳しく説明する。
通信回線切替部58のモデム部601の制御部601aを構成する回線電圧測定部801は、モデム部601がオンフック状態であることを条件に、CPU52からのコマンド(AT&Q2)によって予め設定された所定時間(例えば100msec)毎に回線L1,L2の回線電圧VLを測定する。
比較判定部803は、回線電圧測定部801によって測定された回線電圧値VLと検出しきい値記憶部802内のオフフック検出しきい値とを比較し、その比較結果に基づいて外部併設機器105がオフフック状態であるか否かを判定する。
オフフック状態通知部804は、比較判定部803によって外部併設機器105がオフフック状態であると判定された場合(外部併設機器105のオフフックを検出した場合)に、「LINE PICKUP」信号をCPU52へ送出して外部併設機器105がオフフック状態である旨を通知する。
Here, the process of step S34 will be described in a little more detail.
The line voltage measuring unit 801 constituting the control unit 601a of the modem unit 601 of the communication line switching unit 58 has a predetermined time set in advance by a command (AT & Q2) from the CPU 52 on condition that the modem unit 601 is in an on-hook state. The line voltage VL of the lines L1 and L2 is measured every (for example, 100 msec).
The comparison determination unit 803 compares the line voltage value VL measured by the line voltage measurement unit 801 with the off-hook detection threshold value in the detection threshold value storage unit 802, and based on the comparison result, the external ancillary device 105 It is determined whether or not it is in an off-hook state.
The off-hook state notification unit 804 sends a “LINE PICKUP” signal to the CPU 52 when the comparison determination unit 803 determines that the external device 105 is in an off-hook state (when an off-hook of the external device 105 is detected). To notify that the external device 105 is in an off-hook state.

仲介装置101のCPU52は、オフフック状態通知部804から「LINE PICKUP」信号を受信すると、外部併設機器105がオフフック状態であることを認識し、記憶部701からATコマンドを読み出して通信回線切替部58のモデム部601へ送出する。ここでいう「ATコマンド」はDTMF受信モードへの移行を指示するためのコマンドであり、例えばAT&R1コマンドが該当する(S35)。
外部併設機器105は、オフフック状態になった後、応答信号(CED信号)を回線L1,L2上に送出する(S36)。
管理装置102は、その応答信号を受信した後、DTMF(ITトーン)信号を回線L1,L2上に送出する(S37)。DTMF信号は、例えば「12341234…」などの数字を示す。
When the CPU 52 of the mediation apparatus 101 receives the “LINE PICKUP” signal from the off-hook state notification unit 804, the CPU 52 recognizes that the external device 105 is in the off-hook state, reads the AT command from the storage unit 701, and reads the communication line switching unit 58. To the modem unit 601. The “AT command” here is a command for instructing the transition to the DTMF reception mode, and corresponds to, for example, the AT & R1 command (S35).
After entering the off-hook state, the external device 105 sends a response signal (CED signal) onto the lines L1 and L2 (S36).
After receiving the response signal, the management apparatus 102 sends a DTMF (IT tone) signal onto the lines L1 and L2 (S37). The DTMF signal indicates a number such as “12341234.

仲介装置101のCPU52は、通信回線切替部58のモデム部601が管理装置102からのDTMF信号を受信したことを認識すると、モデム部601にオフフックさせるためのコマンドを通信回線切替部58の網制御フロントエンド部605へ送出する。つまり、モデム部601が管理装置102から送信されたDTMF信号を受信し、そのモデム部601からデコードされたDTMF信号を受け取ると、そのDTMF信号と記憶部701に予め記憶された管理装置102のDTMF信号とを比較照合し、両DTMF信号が一致した場合に、通信相手が管理装置102であることを認識して、モデム部601にオフフックさせるためのコマンド(例えばATH1コマンド)を記憶部701から読み出し、それを通信回線切替部58の網制御フロントエンド部605へ送出する(S38)。   When the CPU 52 of the intermediary device 101 recognizes that the modem unit 601 of the communication line switching unit 58 has received the DTMF signal from the management device 102, the network control of the communication line switching unit 58 sends a command for causing the modem unit 601 to go off-hook. The data is sent to the front end unit 605. That is, when the modem unit 601 receives the DTMF signal transmitted from the management device 102 and receives the decoded DTMF signal from the modem unit 601, the DTMF of the management device 102 stored in advance in the DTMF signal and the storage unit 701 is received. When the two DTMF signals match with each other, a command for recognizing that the communication partner is the management apparatus 102 and causing the modem unit 601 to go off-hook (for example, an ATH1 command) is read from the storage unit 701. Then, it is sent to the network control front end unit 605 of the communication line switching unit 58 (S38).

通信回線切替部58の網制御フロントエンド部605は、CPU52からオフフックのためのコマンドを受け取ると、直流ループを形成し、モデム部601をオフフック状態にする(S39)。
仲介装置101のCPU52は、モデム部601がオフフック状態になると、記憶部701内の接続切替コマンド(例えばLCNTコマンド)を使用することにより通信回線切替部58の回線切替回路604を制御し、回線L1,L2をモデム部601への接続に切り替える(S40)。
それによって、回線L1,L2から切り離された外部併設機器105は、直流供給回路606に接続され、所定の直流電圧(例えばDC24V)を受ける。直流供給回路606は、その電流を検出すると、CPU52への信号FHKBを変化させる。
CPU52は、信号FHKBが変化すると、外部併設機器105がオフフックしたことを認識する。
When receiving the off-hook command from the CPU 52, the network control front end unit 605 of the communication line switching unit 58 forms a DC loop and puts the modem unit 601 in the off-hook state (S39).
When the modem unit 601 enters an off-hook state, the CPU 52 of the mediation apparatus 101 controls the line switching circuit 604 of the communication line switching unit 58 by using a connection switching command (for example, an LCNT command) in the storage unit 701, and the line L1 , L2 are switched to the connection to the modem unit 601 (S40).
As a result, the external apparatus 105 separated from the lines L1 and L2 is connected to the DC supply circuit 606 and receives a predetermined DC voltage (for example, DC 24V). When the DC supply circuit 606 detects the current, it changes the signal FHKB to the CPU 52.
When the signal FHKB changes, the CPU 52 recognizes that the external side device 105 is off-hook.

その後、仲介装置101のCPU52は、DTMF信号の受信状況を監視し、DTMF信号を予め設定された所定時間(例えば4sec)受信しなかった場合にDTMF信号の受信が終了したと判定し、記憶部701からDTMF受信モードの終了を指示するATコマンド(例えばAT&R0)を読み出し、それを通信回線切替部58のモデム部601の制御部601aへ送出する(S41)。
そのモデム部601の制御部601aは、DTMF受信モード時にCPU52からDTMF受信モードの終了を指示するATコマンドを受け取ると、CPU52へ「OK」レスポンスを返送し、モデム部601をDTMF受信モードから通常のコマンドモードに復帰(移行)させる(S42)。
Thereafter, the CPU 52 of the mediation apparatus 101 monitors the reception status of the DTMF signal, and determines that the reception of the DTMF signal is completed when the DTMF signal is not received for a predetermined time (for example, 4 seconds), and the storage unit An AT command (for example, AT & R0) instructing the end of the DTMF reception mode is read from 701, and is transmitted to the control unit 601a of the modem unit 601 of the communication line switching unit 58 (S41).
When the control unit 601a of the modem unit 601 receives an AT command instructing the end of the DTMF reception mode from the CPU 52 in the DTMF reception mode, the control unit 601a returns an “OK” response to the CPU 52, and the modem unit 601 is returned to the normal mode from the DTMF reception mode. Return to command mode (transition) (S42).

仲介装置101のCPU52は、モデム部601へのATコマンドの送出に対してそのモデム部601から「OK」レスポンスを受けると、所定の処理を行う。つまり、記憶部701から管理装置102への応答(モデム応答)を指示するATAコマンドを読み出し、それを通信回線切替部58のモデム部601の制御部601aへ送出する(S43)。
そのモデム部601の制御部601aは、管理装置102への応答を指示するATAコマンドを受け取ると、アンサトーン信号を管理装置102へ送出する。
管理装置102は、仲介装置101からアンサトーン信号を受信すると、接続信号(CONNECT)を仲介装置101へ送信する。
仲介装置101のモデム部601の制御部601aは、管理装置102から接続信号を受信すると、それをデコードしてCPU52へ送出する(S44)。
そのCPU52は、モデム部601から接続信号を受信すると、モデム部601によって管理装置102との間でデータ通信を開始する(S45)。
When the CPU 52 of the mediation apparatus 101 receives an “OK” response from the modem unit 601 for sending an AT command to the modem unit 601, the CPU 52 performs a predetermined process. That is, the ATA command for instructing a response (modem response) to the management apparatus 102 is read from the storage unit 701 and sent to the control unit 601a of the modem unit 601 of the communication line switching unit 58 (S43).
When the control unit 601 a of the modem unit 601 receives an ATA command instructing a response to the management apparatus 102, it sends an answer tone signal to the management apparatus 102.
When receiving the answer tone signal from the mediation device 101, the management device 102 transmits a connection signal (CONNECT) to the mediation device 101.
When receiving the connection signal from the management apparatus 102, the control section 601a of the modem section 601 of the mediation apparatus 101 decodes it and sends it to the CPU 52 (S44).
When the CPU 52 receives the connection signal from the modem unit 601, the modem unit 601 starts data communication with the management apparatus 102 (S45).

それによって、外部併設機器105はオフフック状態からオンフック状態に移行し、直流供給回路606はCPU52への信号FHKBを変化させる。
そのCPU52は、信号FHKBが変化すると、外部併設機器105がオンフックしたことを認識する。
その後、仲介装置101と管理装置102との間のデータ通信が終了すると、仲介装置101のCPU52は、回線切断を指示するコマンドを通信回線切替部58のモデム部601の制御部601aへ送出する(S46)。
そのモデム部601の制御部601aは、CPU52から回線切断を指示するコマンドを受け取ると、モデム部601にオンフックさせるためのコマンドを記憶部701から読み出し、それを通信回線切替部58の網制御フロントエンド部605へ送出する。
通信回線切替部58の網制御フロントエンド部605は、CPU52からオンフックのためのコマンドを受け取ると、直流ループを解放し、モデム部601をオンフック状態にする(S47)。それによって、管理装置102との回線が切断される。
As a result, the external device 105 shifts from the off-hook state to the on-hook state, and the DC supply circuit 606 changes the signal FHKB to the CPU 52.
When the signal FHKB changes, the CPU 52 recognizes that the external device 105 is on-hook.
Thereafter, when the data communication between the mediation device 101 and the management device 102 is completed, the CPU 52 of the mediation device 101 sends a command to instruct line disconnection to the control unit 601a of the modem unit 601 of the communication line switching unit 58 ( S46).
When the control unit 601a of the modem unit 601 receives a command for instructing to disconnect the line from the CPU 52, the control unit 601a reads a command for causing the modem unit 601 to go on-hook from the storage unit 701, and reads it from the network control front end of the communication line switching unit 58. To the unit 605.
When receiving the on-hook command from the CPU 52, the network control front-end unit 605 of the communication line switching unit 58 releases the DC loop and puts the modem unit 601 on-hook (S47). As a result, the line with the management apparatus 102 is disconnected.

このように、この実施例によれば、仲介装置101の通信回線切替部58のモデム部601が、網制御フロントエンド部605および保護回路602経由で回線L1,L2の回線電圧を測定し、その回線電圧値と予め決められたオフフック検出しきい値とを比較し、その比較結果に基づいて外部併設機器105がオフフック状態であるか否かを判定することにより、外部併設機器105によるオフフックを検出するので、仲介装置101にオフフック電流検出回路を備える必要がなくなる。よって、その分だけコストダウンを図ることができる。
また、オフフック検出しきい値は、オンフック時の回線L1,L2の回線電圧値と予め決められた電圧補正値(例えば交換機106の特性に基づいて決まる)とに基づいて算出(決定)できるため、正確な値となる。
さらに、仲介装置101のCPU52が、モデム部601による比較判定結果(モデム部601がオンフック状態であるか否か)に基づいて通信回線切替部58の回線切替回路604を制御し、回線L1,L2をモデム部601又は外部併設機器105への接続に切り替える(オフフック状態と判定した場合にモデム部601への接続に切り替える)ので、その回線切り替えを適切なタイミングで確実に行える。
Thus, according to this embodiment, the modem unit 601 of the communication line switching unit 58 of the mediation apparatus 101 measures the line voltages of the lines L1 and L2 via the network control front end unit 605 and the protection circuit 602, and By comparing the line voltage value with a predetermined off-hook detection threshold value and determining whether or not the external device 105 is in the off-hook state based on the comparison result, off-hook by the external device 105 is detected. Therefore, it is not necessary to provide the intermediate device 101 with an off-hook current detection circuit. Therefore, the cost can be reduced accordingly.
Further, the off-hook detection threshold value can be calculated (determined) based on the line voltage values of the lines L1 and L2 at the time of on-hook and a predetermined voltage correction value (for example, determined based on the characteristics of the exchange 106). It is an accurate value.
Further, the CPU 52 of the mediation apparatus 101 controls the line switching circuit 604 of the communication line switching unit 58 based on the comparison determination result (whether the modem unit 601 is in the on-hook state) by the modem unit 601, and the lines L 1, L 2 Is switched to the connection to the modem unit 601 or the external apparatus 105 (switching to the connection to the modem unit 601 when it is determined to be in the off-hook state), so that the line switching can be surely performed at an appropriate timing.

なお、この発明による通信装置(電子装置)の例として通信回線切替部を有する(外部併設機器を接続できる)仲介装置101および画像形成装置110について説明したが、この発明はこれらに限られるものではなく、通信回線切替部を有するネットワーク家電,自動販売機,医療機器,電源装置,空調システム,ガス・水道・電気等の計量システムやコンピュータ等の各種通信装置に適用可能である。また、これらの通信装置を被管理装置とした場合にも、遠隔管理システムを上述した場合と同様に動作させることができる。さらに、通信装置の遠隔管理システムについても、通信装置,仲介装置,管理装置の構成およびこれらの接続形式は、以上の実施例に限られるものではない。   Although the mediating apparatus 101 and the image forming apparatus 110 having the communication line switching unit (which can be connected to an external device) have been described as examples of the communication apparatus (electronic apparatus) according to the present invention, the present invention is not limited to these. However, the present invention can be applied to network home appliances having a communication line switching unit, vending machines, medical equipment, power supply devices, air conditioning systems, gas / water / electricity measuring systems, and various communication devices such as computers. Even when these communication devices are managed devices, the remote management system can be operated in the same manner as described above. Further, with regard to the remote management system of the communication device, the configuration of the communication device, the mediation device, and the management device and their connection form are not limited to the above embodiments.

また、この発明によるプログラムは、上述の通信回線切替部を有する通信装置を制御するコンピュータに、この発明による各種機能(回線電圧測定手段,比較手段,状態判定手段,オフフック検出しきい値決定手段,電圧補正値決定手段としての機能)を実現させるためのプログラムであり、このようなプログラムをコンピュータに実行させることにより、上述したような効果を得ることができる。
このようなプログラムは、はじめからコンピュータに備えるROMあるいはHDD等の記憶手段に格納しておいてもよいが、記録媒体であるCD−ROMあるいはフレキシブルディスク,SRAM,EEPROM,メモリカード等の不揮発性記録媒体(メモリ)に記録して提供することもできる。そのメモリに記録されたプログラムをコンピュータにインストールしてCPUに実行させるか、CPUにそのメモリからこのプログラムを読み出して実行させることにより、上述した各手順を実行させることができる。
さらに、ネットワークに接続され、プログラムを記録した記録媒体を備える外部機器あるいはプログラムを記憶手段に記憶した外部機器からダウンロードして実行させることも可能である。
Further, the program according to the present invention provides various functions (line voltage measuring means, comparing means, state determining means, off-hook detection threshold value determining means, (Function as voltage correction value determination means), and by causing a computer to execute such a program, the above-described effects can be obtained.
Such a program may be stored in a storage means such as a ROM or HDD provided in the computer from the beginning, but a non-volatile recording such as a CD-ROM or flexible disk, SRAM, EEPROM, memory card or the like as a recording medium. It can also be recorded on a medium (memory) and provided. Each procedure described above can be executed by installing a program recorded in the memory in a computer and causing the CPU to execute the program, or causing the CPU to read and execute the program from the memory.
Furthermore, it is also possible to download and execute an external device that is connected to a network and includes a recording medium that records the program, or an external device that stores the program in the storage unit.

この発明は、通信回線切替部を有するネットワーク家電,自動販売機,医療機器,電源装置,空調システム,ガス・水道・電気等の計量システムやコンピュータ等の各種通信装置や、その通信装置の変復調部を制御するコンピュータに適用可能である。   The present invention relates to a network home appliance having a communication line switching unit, a vending machine, a medical device, a power supply device, an air conditioning system, various communication devices such as a gas / water / electricity measuring system, a computer, and a modulation / demodulation unit of the communication device. It is applicable to a computer that controls

この発明による通信装置を被管理装置とする遠隔管理システムの構成例を示す概念図である。It is a conceptual diagram which shows the structural example of the remote management system which makes the communication apparatus by this invention the managed apparatus. その遠隔管理システムにおけるデータ送受モデルを示す概念図である。It is a conceptual diagram which shows the data transmission / reception model in the remote management system. この発明による通信装置である画像形成装置を被管理装置とする画像形成装置管理システムの構成例を示す概念図である。1 is a conceptual diagram illustrating a configuration example of an image forming apparatus management system in which an image forming apparatus which is a communication apparatus according to the present invention is a managed apparatus. 図3の画像形成装置100のハードウェア構成例を示すブロック図である。FIG. 4 is a block diagram illustrating a hardware configuration example of the image forming apparatus 100 in FIG. 3. 図3の画像形成装置100のソフトウェア構成例を示すブロック図である。FIG. 4 is a block diagram illustrating a software configuration example of the image forming apparatus 100 in FIG. 3. 図5のNRS305の構成例を示す機能ブロック図である。FIG. 6 is a functional block diagram illustrating a configuration example of the NRS 305 in FIG. 5. 図3の仲介装置101内の物理的構成例を示すブロック図である。It is a block diagram which shows the physical structural example in the mediation apparatus 101 of FIG. 図3の仲介装置101のソフトウェア構成例を示すブロック図である。It is a block diagram which shows the example of a software structure of the mediation apparatus 101 of FIG. 図3の仲介装置101の主要部の機能構成例を示すブロック図である。It is a block diagram which shows the function structural example of the principal part of the mediation apparatus 101 of FIG.

図3の仲介装置101の通信回線切替部58の機能構成例を示すブロック図である。FIG. 4 is a block diagram illustrating a functional configuration example of a communication line switching unit 58 of the mediation apparatus 101 in FIG. 3. 図3の管理装置102の物理的構成例を示すブロック図である。FIG. 4 is a block diagram illustrating a physical configuration example of the management apparatus 102 in FIG. 3. 図3に示した画像形成装置管理システム内で行われるデータ送受信の際の通信シーケンスの一例を示す図である。FIG. 4 is a diagram illustrating an example of a communication sequence for data transmission / reception performed in the image forming apparatus management system illustrated in FIG. 3. 図3の画像形成装置100から管理装置102へデータを送信する場合の通信シーケンスの一例を示す図である。FIG. 4 is a diagram illustrating an example of a communication sequence when data is transmitted from the image forming apparatus 100 of FIG. 3 to a management apparatus 102. 異常の種類を判定するための基準となる情報のテーブルの一例を示す説明図である。It is explanatory drawing which shows an example of the table of the information used as the reference | standard for determining the kind of abnormality. 図3の仲介装置101におけるオフフック検出しきい値算出処理の一例を示すフロー図である。It is a flowchart which shows an example of the off-hook detection threshold value calculation process in the mediation apparatus 101 of FIG. 図3の仲介装置101における回線切替処理の一例を示すフロー図である。FIG. 4 is a flowchart illustrating an example of line switching processing in the mediation apparatus 101 of FIG. 3. 図3の仲介装置101における管理装置102からの着信時(モデム部601への回線接続)時の通信シーケンスの一例を示すタイミング図である。FIG. 4 is a timing diagram illustrating an example of a communication sequence when an incoming call is received from the management apparatus 102 (line connection to the modem unit 601) in the mediation apparatus 101 of FIG. 従来の通信回線切替部の構成例を示すブロック図である。It is a block diagram which shows the structural example of the conventional communication line switching part.

符号の説明Explanation of symbols

10:被管理装置 11:仲介機能付被管理装置 52,201:CPU 53,203:SDRAM 54,204:フラッシュメモリ 55:RTC 56:Op-Port 57,206:PHY 211,1001:モデム 58:通信回線切替部 59:HDD制御部 63,208:HDD 70:アプリケーション層 80:サービス層 90:プロトコル層 100:画像形成装置 101:仲介装置 102:管理装置 103:公衆回線 104:ファイアウォール 105:外部併設機器 106:交換機 107:CE端末 110:仲介機能付画像形成装置 111:ダイヤルアップサーバ 112:インタネット 202:ASIC 207:操作部 205:NRS用メモリ 216:プロッタ/スキャナエンジンボード 300:OCS 301:ECS 302:MCS 303:NCS 304:FCS 305:NRS 306:SCS 307:SRM 308:IMH 309:コピーアプリ 310:ファクスアプリ 311:プリンタアプリ 312:スキャナアプリ 313:ネットファイルアプリ 314:ウェブアプリ 315:CSS 316:DCS 320:汎用OS 601:モデム部 601a:制御部 602:保護回路 604:回線切替回路 605:網制御フロントエンド部 606:直流供給回路 607:外部併設機器接続部 701,601b:記憶部 702:通信部 1003:プロキシサーバ 1004:操作者端末 1005:データベース 1006:制御装置 10: Managed device 11: Managed device with mediation function 52, 201: CPU 53, 203: SDRAM 54, 204: Flash memory 55: RTC 56: Op-Port 57, 206: PHY 211, 1001: Modem 58: Communication Line switching unit 59: HDD control unit 63, 208: HDD 70: Application layer 80: Service layer 90: Protocol layer 100: Image forming apparatus 101: Mediation apparatus 102: Management apparatus 103: Public line 104: Firewall 105: External equipment 106: Switchboard 107: CE terminal 110: Image forming apparatus with mediation function 111: Dial-up server 112: Internet 202: ASIC 207: Operation unit 205: Memory for NRS 216: Plotter / Cana engine board 300: OCS 301: ECS 302: MCS 303: NCS 304: FCS 305: NRS 306: SCS 307: SRM 308: IMH 309: Copy application 310: Fax application 311: Printer application 312: Scanner application 313: Net file Application 314: Web application 315: CSS 316: DCS 320: General-purpose OS 601: Modem unit 601a: Control unit 602: Protection circuit 604: Line switching circuit 605: Network control front-end unit 606: DC supply circuit 607: External equipment connection Unit 701, 601b: storage unit 702: communication unit 1003: proxy server 1004: operator terminal 1005: database 1006: control Control device

Claims (11)

電話器又はファクシミリ装置等の外部併設機器を接続する外部併設機器接続部と、外部装置と通信回線経由でデータ通信を行うために、そのデータを変復調する変復調部とを有する通信装置であって、
前記変復調部に、
前記通信回線の回線電圧を測定する回線電圧測定手段と、
該手段による測定値と予め決められたオフフック検出しきい値とを比較する比較手段と、
該手段による比較結果に基づいて前記外部併設機器がオフフック状態であるか否かを判定する状態判定手段と
を設けたことを特徴とする通信装置。
A communication device having an external external device connection unit for connecting an external external device such as a telephone or a facsimile machine, and a modulation / demodulation unit for modulating / demodulating the data in order to perform data communication with the external device via a communication line,
In the modem unit,
A line voltage measuring means for measuring a line voltage of the communication line;
A comparison means for comparing the measured value by the means with a predetermined off-hook detection threshold;
And a state determination unit that determines whether or not the external device is in an off-hook state based on a comparison result by the unit.
請求項1記載の通信装置において、
前記変復調部に、前記回線電圧測定手段による測定値と予め決められた電圧補正値とに基づいて前記オフフック検出しきい値を決定するオフフック検出しきい値決定手段を設けたことを特徴とする通信装置。
The communication device according to claim 1.
The communication is characterized in that the modem unit is provided with off-hook detection threshold value determining means for determining the off-hook detection threshold value based on a measured value by the line voltage measuring means and a predetermined voltage correction value. apparatus.
請求項2記載の通信装置において、
前記変復調部に、前記通信回線に基づいて前記電圧補正値を決定する電圧補正値決定手段を設けたことを特徴とする通信装置。
The communication device according to claim 2.
A communication apparatus, wherein the modulation / demodulation unit is provided with voltage correction value determining means for determining the voltage correction value based on the communication line.
請求項1乃至3のいずれか一項に記載の通信装置において、
前記状態判定手段による判定結果に基づいて前記通信回線を前記変復調部又は外部併設機器接続部への接続に切り替える通信回線切替手段を設けたことを特徴とする通信装置。
The communication device according to any one of claims 1 to 3,
A communication apparatus comprising: a communication line switching unit that switches the communication line to a connection to the modulation / demodulation unit or an external equipment connection unit based on a determination result by the state determination unit.
電話器又はファクシミリ装置等の外部併設機器を接続する外部併設機器接続部と、外部装置と通信回線経由でデータ通信を行うために、そのデータを変復調する変復調部とを有する通信装置におけるオフフック検知方法であって、
前記変復調部が、前記通信回線の回線電圧を測定し、その測定値と予め決められたオフフック検出しきい値とを比較し、その比較結果に基づいて前記外部併設機器がオフフック状態であるか否かを判定することにより、該外部併設機器のオフフックを検知することを特徴とするオフフック検知方法。
An off-hook detection method in a communication device having an external device connection unit for connecting an external device such as a telephone or a facsimile machine and a modulation / demodulation unit for modulating / demodulating the data to perform data communication with the external device via a communication line Because
The modem unit measures the line voltage of the communication line, compares the measured value with a predetermined off-hook detection threshold, and based on the comparison result, whether or not the external equipment is in an off-hook state. An off-hook detection method characterized by detecting off-hook of the external equipment by determining whether or not
請求項5記載のオフフック検知方法において、
前記変復調部が、前記測定値と予め決められた電圧補正値とに基づいて前記オフフック検出しきい値を決定することを特徴とするオフフック検知方法。
The off-hook detection method according to claim 5,
The off-hook detection method, wherein the modulation / demodulation unit determines the off-hook detection threshold based on the measurement value and a predetermined voltage correction value.
請求項6記載のオフフック検知方法において、
前記変復調部が、前記通信回線に基づいて前記電圧補正値を決定することを特徴とするオフフック検知方法。
The off-hook detection method according to claim 6,
The off-hook detection method, wherein the modem unit determines the voltage correction value based on the communication line.
電話器又はファクシミリ装置等の外部併設機器を接続する外部併設機器接続部と、外部装置と通信回線経由でデータ通信を行うために、そのデータを変復調する変復調部とを有する通信装置の変復調部を制御するコンピュータに、前記通信回線の回線電圧を測定する回線電圧測定機能と、該機能による測定値と予め決められたオフフック検出しきい値とを比較する比較機能と、該機能による比較結果に基づいて前記外部併設機器がオフフック状態であるか否かを判定する状態判定機能とを実現させるためのプログラム。   A modem unit of a communication device having an external device connection unit for connecting an external device such as a telephone or a facsimile machine and a modem unit for modulating / demodulating the data to perform data communication with the external device via a communication line; Based on the line voltage measurement function for measuring the line voltage of the communication line, the comparison function for comparing the measurement value by the function with a predetermined off-hook detection threshold, and the comparison result by the function And a state determination function for determining whether or not the external device is in an off-hook state. 請求項8記載のプログラムにおいて、
前記コンピュータに、前記回線電圧測定機能による測定値と予め決められた電圧補正値とに基づいて前記オフフック検出しきい値を決定するオフフック検出しきい値決定機能をも実現させるためのプログラム。
The program according to claim 8, wherein
A program for causing the computer to realize an off-hook detection threshold value determining function for determining the off-hook detection threshold value based on a measured value obtained by the line voltage measuring function and a predetermined voltage correction value.
請求項9記載のプログラムにおいて、
前記コンピュータに、前記通信回線に基づいて前記電圧補正値を決定する電圧補正値決定機能をも実現させるためのプログラム。
The program according to claim 9, wherein
A program for causing the computer to realize a voltage correction value determination function for determining the voltage correction value based on the communication line.
請求項8乃至10のいずれか一項に記載のプログラムを記録したコンピュータ読み取り可能な記録媒体。   The computer-readable recording medium which recorded the program as described in any one of Claims 8 thru | or 10.
JP2003314636A 2002-09-24 2003-09-05 Communication device, off-hook detection method, program, and recording medium Expired - Fee Related JP4071690B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003314636A JP4071690B2 (en) 2002-09-24 2003-09-05 Communication device, off-hook detection method, program, and recording medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2002276467 2002-09-24
JP2003314636A JP4071690B2 (en) 2002-09-24 2003-09-05 Communication device, off-hook detection method, program, and recording medium

Publications (2)

Publication Number Publication Date
JP2004140809A JP2004140809A (en) 2004-05-13
JP4071690B2 true JP4071690B2 (en) 2008-04-02

Family

ID=32473030

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003314636A Expired - Fee Related JP4071690B2 (en) 2002-09-24 2003-09-05 Communication device, off-hook detection method, program, and recording medium

Country Status (1)

Country Link
JP (1) JP4071690B2 (en)

Also Published As

Publication number Publication date
JP2004140809A (en) 2004-05-13

Similar Documents

Publication Publication Date Title
US7516450B2 (en) Remote management system, intermediary apparatus therefor, and method of updating software in the intermediary apparatus
US8166153B2 (en) Remote control system and controlled apparatus therein capable of sending e-mail if communication request fails
JP4318975B2 (en) Remote management system and electronic device, control method in case of abnormality, and program
US20040168109A1 (en) Efficient remote management of devices by accurately removing abnormal condition reports
JP4327541B2 (en) Remote management system, managed device, and program
JP4184247B2 (en) Management device, remote management system, and program
JP4163550B2 (en) Remote management system and its intermediary device, management device, secret information setting method, and program
JP4381839B2 (en) Electronic device, remote management system thereof, log management method and program
JP4809272B2 (en) Remote management system and management information acquisition control method
JP4071690B2 (en) Communication device, off-hook detection method, program, and recording medium
JP4347645B2 (en) Remote management system and its communication device, control method, and program
JP4102704B2 (en) Remote management system and electronic device used therefor, line information setting method, management device, and program
US20040158632A1 (en) Recovery of interrupted communication for remote management of devices
US6934374B2 (en) System and method for data communication
JP4373187B2 (en) Communications system
JP4298494B2 (en) Management device, remote management system, and counter monitoring type remote management method
JP3958676B2 (en) COMMUNICATION DEVICE, ITS REMOTE MANAGEMENT SYSTEM, ABNORMAL TRANSMISSION METHOD AND PROGRAM
JP2004295866A (en) Electronic device, remote management system thereof, log management method and program
JP2008227963A (en) COMMUNICATION DEVICE, REMOTE MANAGEMENT SYSTEM, COMMUNICATION METHOD, PROGRAM, AND RECORDING MEDIUM
JP2004265388A (en) Communication apparatus, remote management system therefor, control method when abnormality occurs, and program
JP4767036B2 (en) Image forming apparatus and computer program
JP4098074B2 (en) Electronic device, remote management system thereof, communication standard switching method and program
JP2005229592A (en) Image processing system and image processing apparatus, processing count processing method, program, and recording medium
JP4376811B2 (en) Remote management system and its management device
JP2009064264A (en) Device, device management system, and device management method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051208

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071102

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: 20080115

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080117

R151 Written notification of patent or utility model registration

Ref document number: 4071690

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110125

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120125

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120125

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130125

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140125

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees