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
JP4858076B2 - Network device and method for controlling network device - Google Patents
[go: Go Back, main page]

JP4858076B2 - Network device and method for controlling network device - Google Patents

Network device and method for controlling network device Download PDF

Info

Publication number
JP4858076B2
JP4858076B2 JP2006287259A JP2006287259A JP4858076B2 JP 4858076 B2 JP4858076 B2 JP 4858076B2 JP 2006287259 A JP2006287259 A JP 2006287259A JP 2006287259 A JP2006287259 A JP 2006287259A JP 4858076 B2 JP4858076 B2 JP 4858076B2
Authority
JP
Japan
Prior art keywords
setting
network
image
unit
output
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
JP2006287259A
Other languages
Japanese (ja)
Other versions
JP2008109182A (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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2006287259A priority Critical patent/JP4858076B2/en
Publication of JP2008109182A publication Critical patent/JP2008109182A/en
Application granted granted Critical
Publication of JP4858076B2 publication Critical patent/JP4858076B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Facsimiles In General (AREA)

Description

この発明は、ネットワーク装置において、初期化されたネットワーク設定を初期化前の元設定に復元する技術に関する。   The present invention relates to a technique for restoring an initialized network setting to an original setting before initialization in a network device.

一般に、ネットワーク装置では、下記特許文献1に示すように、ネットワーク伝送に使用されるパラメータ(ネットワーク設定)を一旦工場出荷時の設定(初期設定)に戻した後、ネットワーク設定を初期設定前の元の設定に復元することが行われる場合がある。この設定の初期化および復元は、例えば、ネットワーク装置の動作が安定しない場合に、ユーザの指示により実行される。また、ネットワーク装置の制御プログラム(ファームウェア)が変更された際に、ファームウェアの変更内容によっては、ネットワーク設定の初期化が必要となる場合がある。この場合においても、ネットワーク設定は初期化の後、初期化前の状態に復元することが必要となる可能性がある。このようにネットワーク設定を初期化する場合、ユーザが初期化前の元のネットワーク設定を紙などに記録し、その記録に従って初期化後のネットワーク装置のネットワーク設定を再設定した。   Generally, in a network device, as shown in Patent Document 1 below, after a parameter (network setting) used for network transmission is once returned to a factory setting (initial setting), the network setting is restored to the original value before the initial setting. Restoring to the default settings may be performed. The initialization and restoration of this setting are executed according to a user instruction when the operation of the network device is not stable, for example. Also, when the network device control program (firmware) is changed, it may be necessary to initialize the network settings depending on the contents of the firmware change. Even in this case, the network setting may need to be restored to the state before the initialization after the initialization. When the network settings are initialized in this way, the user records the original network settings before the initialization on paper or the like, and resets the network settings of the network device after the initialization according to the record.

特開平7−125390号公報JP-A-7-125390

しかしながら、ネットワーク設定は設定すべき項目が多いため、このような再設定を行う操作は煩雑である。また、ネットワーク設定に誤った設定値を使用すると、ネットワークに接続された他のネットワーク装置を誤動作させる可能性がある。   However, since there are many items to be set in the network setting, the operation for performing such resetting is complicated. Further, if an incorrect setting value is used for the network setting, other network devices connected to the network may malfunction.

本発明は、上述した従来の課題を解決するためになされたものであり、ネットワーク装置において、より容易に一旦初期化されたネットワーク設定を元の設定に復元をする技術を提供することを目的とする。   The present invention has been made to solve the above-described conventional problems, and an object of the present invention is to provide a technique for easily restoring a network setting once initialized to an original setting in a network device. To do.

上記した課題を解決するために、本発明のネットワーク装置は、ネットワークに接続されるネットワーク装置であって、前記ネットワークとは異なる通信チャンネルを介して、前記ネットワーク装置と、画像出力装置および画像データ受信装置と、を接続する画像入出力装置接続部と、前記ネットワークを介したデータ伝送に使用されるパラメータであるネットワーク設定を一旦所定の初期設定に変更した後、前記初期設定への変更前の元設定に復元する設定初期化復元部と、を備え、前記設定初期化復元部は、前記元設定に前記初期設定とは異なる設定がされている場合、前記ネットワーク設定の前記初期設定への変更の前に、前記接続された画像出力装置に対して、前記元設定の少なくとも一部の設定値が2次元コードで表された設定画像を撮影可能に出力させると共に、前記設定画像を出力したことを示すフラグをセットする設定出力部と、前記ネットワーク設定を前記初期設定に変更した後、前記ネットワーク装置を再起動する再起動実行部と、前記ネットワーク装置の再起動後に、前記フラグがセットされている場合には、前記設定画像が撮影された画像データを、前記接続された画像データ受信装置に受信させると共に、前記受信された前記画像データから前記設定画像を復元し、前記復元した設定画像によって表される前記ネットワーク設定に基づいて前記ネットワーク設定を変更することにより、前記ネットワーク設定を前記元設定に復元する復元実行部と、を有することを特徴とする。   In order to solve the above-described problems, a network device according to the present invention is a network device connected to a network, and the network device, an image output device, and an image data receiver via a communication channel different from the network. An image input / output device connection unit for connecting the device, and a network setting, which is a parameter used for data transmission via the network, once changed to a predetermined initial setting, and then before the change to the initial setting A setting initialization restoring unit for restoring the setting, and the setting initialization restoring unit is configured to change the network setting to the initial setting when the original setting is different from the initial setting. Before, for the connected image output device, a setting image in which at least a part of the setting values of the original setting is expressed in a two-dimensional code. A setting output unit that sets a flag indicating that the setting image has been output, and a restart execution unit that restarts the network device after changing the network setting to the initial setting. When the flag is set after the network device is restarted, the connected image data receiving device receives the image data obtained by photographing the setting image, and the received image A restoration execution unit for restoring the network setting to the original setting by restoring the setting image from data and changing the network setting based on the network setting represented by the restored setting image. It is characterized by that.

この発明によれば、ネットワーク設定の初期化前の元設定を表す画像を、初期化後の再起動時に取得することにより、ネットワーク設定を初期化前の元設定に戻すことが可能となる。そのため、ユーザによるネットワーク設定の再設定操作を省略することができるので、一旦初期化されたネットワーク設定を元の設定に復元することがより容易となる。   According to the present invention, it is possible to return the network setting to the original setting before the initialization by acquiring the image representing the original setting before the initialization of the network setting at the time of restart after the initialization. For this reason, it is possible to omit the resetting operation of the network setting by the user, and it becomes easier to restore the network setting once initialized to the original setting.

本発明のネットワーク装置では、前記設定初期化復元部は、前記設定出力部による前記設定画像の出力を実行するか否かについてのユーザの指示を取得する出力指示取得部を備えており、前記出力指示取得部により取得されたユーザの指示が前記設定画像の出力を実行しない指示であった場合には、前記フラグをリセットすることにより前記ネットワーク設定の前記元設定への復元を実行しないことが好ましい。   In the network device of the present invention, the setting initialization restoring unit includes an output instruction acquiring unit that acquires a user instruction as to whether or not to output the setting image by the setting output unit. When the user instruction acquired by the instruction acquisition unit is an instruction not to execute the output of the setting image, it is preferable not to execute the restoration of the network setting to the original setting by resetting the flag. .

この構成によれば、ユーザがネットワーク装置に設定画像の出力を実行しない指示を与えることにより、設定画像を出力したことを示すフラグがリセットされる。そして、フラグがリセットされることにより、ネットワーク設定は元設定に復元されない。そのため、ユーザが設定画像の出力を実行しない指示を与えることにより、ユーザの要望に応じてネットワーク設定として初期設定を使用することが可能となる。   According to this configuration, when the user gives an instruction not to execute the output of the setting image to the network device, the flag indicating that the setting image has been output is reset. Then, when the flag is reset, the network setting is not restored to the original setting. Therefore, when the user gives an instruction not to output the setting image, the initial setting can be used as the network setting according to the user's request.

本発明のネットワーク装置では、前記2次元コードは、QRコードであっても良い。また、本発明のネットワーク装置では、前記画像出力装置は、画像を表示する表示装置であり、前記2次元コードで表された設定画像は、前記表示装置に表示されて出力される場合と、前記画像出力装置は、画像を印刷する印刷装置であり、前記2次元コードで表された設定画像は、前記印刷装置に印刷されて出力される場合が考えられる。   In the network device of the present invention, the two-dimensional code may be a QR code. In the network device of the present invention, the image output device is a display device that displays an image, and the setting image represented by the two-dimensional code is displayed and output on the display device; The image output device is a printing device that prints an image, and the setting image represented by the two-dimensional code may be printed and output by the printing device.

上記した課題を解決するために、本発明のネットワーク装置の制御方法は、ネットワークに接続されるネットワーク装置の制御方法であって、(a)前記ネットワークを介したデータ伝送に使用されるパラメータであるネットワーク設定を所定の初期設定に変更する工程と、(b)前記工程(a)において前記初期設定に変更されたネットワーク設定を、前記初期設定への変更前の元設定に復元する工程と、を備え、前記工程(a)は、前記ネットワーク設定を前記初期設定に変更した後、前記ネットワーク装置を再起動する工程を含み、前記工程(b)は、前記元設定に前記初期設定とは異なる設定がされている場合に、前記ネットワーク設定の前記初期設定への変更の前に、前記ネットワークとは異なる通信チャンネルを介して接続された画像出力装置に前記元設定の少なくとも一部の設定値が2次元コードで表された設定画像を撮影可能に出力させると共に、前記設定画像を出力したことを表すフラグをセットする工程と、前記ネットワーク装置の再起動後に、前記フラグがセットされている場合には、前記通信チャンネルを介して接続された画像データ受信装置に、前記設定画像が撮影された画像データを受信させると共に、前記受信された画像データから前記設定画像を復元し、前記復元した設定画像によって表される前記ネットワーク設定に基づいて前記ネットワーク設定を変更することにより、前記ネットワーク設定を前記元設定に復元する工程と、を含むことを特徴とする。   In order to solve the above-described problems, a network device control method of the present invention is a network device control method connected to a network, and (a) is a parameter used for data transmission via the network. Changing the network setting to a predetermined initial setting; and (b) restoring the network setting changed to the initial setting in step (a) to the original setting before the change to the initial setting. The step (a) includes a step of restarting the network device after changing the network setting to the initial setting, and the step (b) is a setting different from the initial setting in the original setting. Is connected via a communication channel different from that of the network before the network setting is changed to the initial setting. Causing the image output device to output a setting image in which at least a part of the setting value of the original setting is expressed in a two-dimensional code, and setting a flag indicating that the setting image has been output; and the network When the flag is set after the apparatus is restarted, the image data receiving apparatus connected via the communication channel is made to receive the image data obtained by capturing the setting image, and the received Restoring the setting image from image data and restoring the network setting to the original setting by changing the network setting based on the network setting represented by the restored setting image. It is characterized by.

この発明によれば、ネットワーク設定の初期化前の元設定を表す画像を、初期化後の再起動時に取得することにより、ネットワーク設定を初期化前の元設定に戻すことが可能となる。そのため、ユーザによるネットワーク設定の再設定操作を省略することができるので、一旦初期化されたネットワーク設定を元の設定に復元することがより容易となる。   According to the present invention, it is possible to return the network setting to the original setting before the initialization by acquiring the image representing the original setting before the initialization of the network setting at the time of restart after the initialization. For this reason, it is possible to omit the resetting operation of the network setting by the user, and it becomes easier to restore the network setting once initialized to the original setting.

以下、本発明の実施形態を図面に基づいて説明する。
(実施形態)
図1は、本発明の一実施形態としてのネットワークシステム100の構成を示す説明図である。このネットワークシステム100は、デジタルテレビ110と、複合機200とがローカルエリアネットワーク(LAN)を介して相互に接続された構成を有している。デジタルテレビ110と、複合機200とが接続されるLANは、IEEE802.3のような有線ネットワークでも、IEEE802.11b/g/aなどの無線ネットワークでもよい。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(Embodiment)
FIG. 1 is an explanatory diagram showing a configuration of a network system 100 as an embodiment of the present invention. The network system 100 has a configuration in which a digital television 110 and a multifunction device 200 are connected to each other via a local area network (LAN). The LAN to which the digital television 110 and the multifunction device 200 are connected may be a wired network such as IEEE802.3 or a wireless network such as IEEE802.11b / g / a.

デジタルテレビ110は、LANを介してHTML(HyperText Markup Language)で記述されたHTMLデータを取得し、ブラウザを用いてこのHTMLデータで表されるWebページを表示する機能を有している。   The digital television 110 has a function of acquiring HTML data described in HTML (HyperText Markup Language) via a LAN and displaying a Web page represented by the HTML data using a browser.

複合機200は、ネットワークユニット300と、デバイスユニット400と、を有している。ネットワークユニット300とデバイスユニット400との間は、画像入出力装置接続部で接続されている。本実施形態では、画像入出力装置接続部としてUSB(Universal Serial Bus)を採用している。但し、両者の間をUSB以外の他の物理的インタフェースで接続することも可能である。ネットワークユニット300は、LAN上の他の装置とデバイスユニット400との間で交換されるメッセージを仲介するネットワークプロトコル制御部302としての機能を有している。   The multifunction device 200 includes a network unit 300 and a device unit 400. The network unit 300 and the device unit 400 are connected by an image input / output device connection unit. In the present embodiment, USB (Universal Serial Bus) is adopted as the image input / output device connection unit. However, it is also possible to connect the two with a physical interface other than USB. The network unit 300 has a function as a network protocol control unit 302 that mediates messages exchanged between other devices on the LAN and the device unit 400.

ネットワークプロトコル制御部302は、HTTPサーバおよびHTTPクライアントとしての機能を有している。ネットワークプロトコル制御部302は、LANから転送されるHTTP(Hypertext Transfer Protocol)に基づいたメッセージ(HTTPメッセージ)のヘッダを解釈する。そして、ヘッダの内容に応じて、デバイスユニット400にHTTPメッセージのボディを転送する。また、ネットワークプロトコル制御部302は、デバイスユニット400から転送されるメッセージにHTTPに基づいたヘッダを付加してLANに転送する。   The network protocol control unit 302 has a function as an HTTP server and an HTTP client. The network protocol control unit 302 interprets the header of a message (HTTP message) based on HTTP (Hypertext Transfer Protocol) transferred from the LAN. Then, the body of the HTTP message is transferred to the device unit 400 according to the contents of the header. The network protocol control unit 302 adds a header based on HTTP to the message transferred from the device unit 400 and transfers the message to the LAN.

ネットワークプロトコル制御部302は、ネットワークユニット300をLANを介したデータ伝送に使用されるIPアドレス等の種々のパラメータ(ネットワークパラメータ)を設定するネットワーク設定処理部304を有している。ネットワーク設定処理部304は、LANから転送される特定のHTTPメッセージに従って、ネットワークパラメータの設定値を変更する。尚、本明細書においては、複数のネットワークパラメータを総称して「ネットワーク設定」とも呼ぶ。   The network protocol control unit 302 includes a network setting processing unit 304 that sets various parameters (network parameters) such as an IP address used for data transmission via the LAN in the network unit 300. The network setting processing unit 304 changes the setting value of the network parameter according to a specific HTTP message transferred from the LAN. In the present specification, a plurality of network parameters are collectively referred to as “network setting”.

変更可能なネットワーク設定には、有線ネットワークおよび無線ネットワークのいずれにおいても使用される汎用パラメータや、無線ネットワークにおいてユーザの認証などに使用されるセキュリティパラメータが含まれる。変更可能な汎用パラメータとしては、IPアドレス、TCP/IPの設定方法、サブネットマスク、デフォルトゲートウェイ、DNS(Domain Name Service)の設定方法、プライマリDNSサーバアドレス、セカンダリDNSサーバ、プロキシ設定方法、プロキシサーバアドレス、プロキシサーバのポート番号等のパラメータが挙げられる。また、変更可能なセキュリティパラメータとしては、WEP(Wired Equivalent Privacy)で使用される暗号化キーや、WPA(Wi−Fi Protected Access)で使用される暗号化キー等が挙げられる。   The changeable network settings include general-purpose parameters used in both the wired network and the wireless network, and security parameters used for user authentication in the wireless network. General parameters that can be changed include IP address, TCP / IP setting method, subnet mask, default gateway, DNS (Domain Name Service) setting method, primary DNS server address, secondary DNS server, proxy setting method, proxy server address And parameters such as the port number of the proxy server. The changeable security parameter includes an encryption key used in WEP (Wired Equivalent Privacy), an encryption key used in WPA (Wi-Fi Protected Access), and the like.

ネットワーク設定処理部304は、ネットワークを介したデータ伝送に使用されるパラメータであるネットワーク設定を一旦所定の初期設定に変更した後、前記初期設定への変更前の元設定に復元する設定初期化復元部360を有する。この設定初期化復元部360は、設定出力部365と、再起動実行部370と、復元実行部375と、出力指示取得部380とを具備する。
設定出力部365は、元設定に初期設定とは異なる設定がされている場合、ネットワーク設定の初期設定への変更の前に、画像出力装置に対して、元設定の少なくとも一部の設定値が2次元コードで表された設定画像を撮影可能に出力させると共に、設定画像を出力したことを示すフラグをセットする。尚、本実施形態では、画像出力装置は、2次元コードの画像をディスプレイのような表示体に表示する表示装置405を想定するが、表示装置405に限定されるものではなく、2次元コードの画像を用紙等の媒体に印刷するプリンタ404であっても良い。また、本実施形態では、2次元コードは、QRコードを想定するが、QRコード以外の2次元コード、例えば、PDF417、DataMatrixおよびMaxiCode等であっても良い。
The network setting processing unit 304 temporarily changes the network setting, which is a parameter used for data transmission via the network, to a predetermined initial setting, and then restores the original setting before the change to the initial setting. Part 360. The setting initialization restoration unit 360 includes a setting output unit 365, a restart execution unit 370, a restoration execution unit 375, and an output instruction acquisition unit 380.
If the original setting is set differently from the initial setting, the setting output unit 365 sets at least a part of the original setting to the image output device before changing the network setting to the initial setting. A setting image represented by a two-dimensional code is output so as to be photographable, and a flag indicating that the setting image has been output is set. In this embodiment, the image output device is assumed to be a display device 405 that displays an image of a two-dimensional code on a display body such as a display. However, the image output device is not limited to the display device 405, and the two-dimensional code is displayed. It may be a printer 404 that prints an image on a medium such as paper. In the present embodiment, the two-dimensional code is assumed to be a QR code, but may be a two-dimensional code other than the QR code, such as PDF417, DataMatrix, and MaxiCode.

再起動実行部370は、ネットワーク設定を初期設定に変更した後、ネットワークユニット300を再起動する。
復元実行部375は、ネットワークユニット300の再起動後に、前記したフラグがセットされている場合には、2次元コードで出力された設定画像が撮影された画像データを、赤外線受信装置408に受信させると共に、受信された画像データから設定画像を復元し、復元した設定画像によって表される前記ネットワーク設定に基づいてネットワーク設定を変更することにより、ネットワーク設定を元設定に復元する。
出力指示取得部380は、設定出力部365による設定画像の出力を実行するか否かについてのユーザの指示を取得する。
尚、上記したネットワークユニット300の各機能部は、後述するハードウェアとソフトウェアとが協働することにより、それぞれの機能を実現する。
The restart execution unit 370 restarts the network unit 300 after changing the network setting to the initial setting.
When the flag is set after the network unit 300 is restarted, the restoration execution unit 375 causes the infrared receiving device 408 to receive the image data obtained by capturing the setting image output in the two-dimensional code. At the same time, the setting image is restored from the received image data, and the network setting is restored based on the network setting represented by the restored setting image, thereby restoring the network setting to the original setting.
The output instruction acquisition unit 380 acquires a user instruction as to whether or not to execute the output of the setting image by the setting output unit 365.
Each functional unit of the network unit 300 described above realizes each function by cooperation of hardware and software described later.

デバイスユニット400は、サービスデバイスとしてのプリンタ404、表示装置405、スキャナ406および赤外線受信装置408と、これらを制御するデバイス制御部402とを備えている。ここで、赤外線受信装置408は、赤外線を使った通信規格(IrDA)に従い、データを受信する装置であり、本実施形態では、例えば、携帯電話のような、赤外線通信機能を具備したデジタルカメラ550により撮影されて送信される画像データを受信するが、赤外線による通信には限定されず、他の波長光や電波による通信でも良い。また、PictBridgeのような、デバイスと印刷装置とを接続するための規格に従う通信でも良い。尚、これらのサービスデバイス以外に、他のサービスデバイスも追加することができる。サービスデバイスとしては、プリンタ404やスキャナ406を単独で、あるいはその他のサービスデバイス単独で存在させることも可能である。   The device unit 400 includes a printer 404 as a service device, a display device 405, a scanner 406, an infrared receiving device 408, and a device control unit 402 that controls them. Here, the infrared receiver 408 is a device that receives data in accordance with a communication standard (IrDA) using infrared. In this embodiment, for example, a digital camera 550 having an infrared communication function, such as a mobile phone. However, the present invention is not limited to infrared communication, and may be communication using other wavelength light or radio waves. Further, communication conforming to a standard for connecting a device and a printing apparatus such as PictBridge may be used. In addition to these service devices, other service devices can be added. As the service device, the printer 404 and the scanner 406 may be present alone or other service devices may be present alone.

デジタルテレビ110および複合機200は、UPnP(Universal Plug and Play:登録商標)対応のネットワーク装置として構成することも可能である。この場合、複合機200のネットワークユニット300は、UPnPで使用される種々のネットワークプロトコルを解釈しデバイスユニット400に転送する。これにより、複合機200は、UPnPで使用可能な各種機能をデジタルテレビ110に提供することができる。   The digital television 110 and the multifunction device 200 can also be configured as a network device compatible with UPnP (Universal Plug and Play: registered trademark). In this case, the network unit 300 of the multifunction device 200 interprets various network protocols used in UPnP and transfers them to the device unit 400. Accordingly, the multifunction device 200 can provide the digital television 110 with various functions that can be used in UPnP.

デジタルテレビ110および複合機200がUPnP対応のネットワーク装置として構成されている場合、デジタルテレビ110は、UPnPの機能によりHTMLデータである複合機200のプレゼンテーションページを取得することができる。このプレゼンテーションページをデジタルテレビ110のブラウザに表示させることにより、複合機200の各種設定を行うユーザインタフェースが表示される。   When the digital television 110 and the multifunction device 200 are configured as UPnP compatible network devices, the digital television 110 can acquire the presentation page of the multifunction device 200 as HTML data by the UPnP function. By displaying the presentation page on the browser of the digital television 110, a user interface for performing various settings of the multifunction device 200 is displayed.

尚、UPnPでは、外部からの要求に応じて印刷や画像スキャン等のサービスを実行するネットワーク装置は「サービスデバイス」あるいは単に「デバイス」とも呼ばれる。また、デバイスによって提供されるサービスを利用するネットワーク装置は「コントロールポイント」とも呼ばれる。図1に示すネットワークシステム100において、デジタルテレビ110と複合機200とがUPnP対応のネットワーク装置として構成されている場合には、複合機200が備えるプリンタ404とスキャナ406とが「デバイス」に相当し、デジタルテレビ110が「コントロールポイント」に相当する。   In UPnP, a network device that executes services such as printing and image scanning in response to an external request is also called a “service device” or simply “device”. A network device that uses a service provided by a device is also called a “control point”. In the network system 100 shown in FIG. 1, when the digital television 110 and the multifunction device 200 are configured as UPnP-compatible network devices, the printer 404 and the scanner 406 included in the multifunction device 200 correspond to “devices”. The digital television 110 corresponds to a “control point”.

図2は、複合機200のハードウェア構成を示すブロック図である。複合機200は、ネットワークユニット300と、デバイスユニット400と、ネットワークユニット300およびデバイスユニット400に電力を供給する電源回路210と、を備えている。   FIG. 2 is a block diagram illustrating a hardware configuration of the multifunction device 200. The multi-function device 200 includes a network unit 300, a device unit 400, and a power supply circuit 210 that supplies power to the network unit 300 and the device unit 400.

ネットワークユニット300は、中央制御部(CPU)310と、RAM320と、電気的に書込可能なROM(EPROM)330と、ネットワーク制御部340と、USBホスト制御部350とを有している。   The network unit 300 includes a central control unit (CPU) 310, a RAM 320, an electrically writable ROM (EPROM) 330, a network control unit 340, and a USB host control unit 350.

EPROM330には、ネットワークユニット300の制御ソフトウェアであるファームウェアが格納されている。中央制御部310は、このファームウェアを実行することにより、ネットワークプロトコル制御部302等の種々の機能を実現する。EPROM330としては、フラッシュメモリ等、電気的に書換が可能な任意のEPROM330を使用することができる。   The EPROM 330 stores firmware that is control software for the network unit 300. The central control unit 310 implements various functions such as the network protocol control unit 302 by executing this firmware. As the EPROM 330, any EPROM 330 that can be electrically rewritten, such as a flash memory, can be used.

EPROM330には、ファームウェアの他に、ネットワークユニット300のネットワーク設定が格納されている。このネットワーク設定は、ネットワークユニット300が起動した後、RAM320に複製される。そして、図1に示すネットワークプロトコル制御部302は、RAM320に複製されたネットワーク設定を用いてLANを介したデータ伝送に関する処理(ネットワーク処理)を実行する。そのため、ネットワーク設定を変更した場合、変更内容はネットワークユニット300の再起動後に反映される。   The EPROM 330 stores network settings of the network unit 300 in addition to firmware. This network setting is copied to the RAM 320 after the network unit 300 is activated. Then, the network protocol control unit 302 illustrated in FIG. 1 executes processing (network processing) related to data transmission via the LAN using the network settings copied to the RAM 320. Therefore, when the network setting is changed, the changed content is reflected after the network unit 300 is restarted.

尚、EPROM330に格納されたネットワーク設定と共にRAM320に複製されたネットワーク設定を変更することにより、ネットワークユニット300の再起動を行うことなくネットワーク設定の変更内容をネットワーク処理に反映することが可能である。但し、この場合においても、ネットワークユニット300がUPnPに対応したネットワーク装置として構成されている場合には、UPnPに対応した他の装置にネットワークユニット300を認識させるため、ネットワークユニット300は再起動される。   Note that by changing the network settings stored in the EPROM 330 and the network settings duplicated in the RAM 320, it is possible to reflect the changed contents of the network settings in the network processing without restarting the network unit 300. However, even in this case, when the network unit 300 is configured as a network device compatible with UPnP, the network unit 300 is restarted in order to make another device compatible with UPnP recognize the network unit 300. .

ネットワーク制御部340は、コネクタ342を介して有線ネットワークに接続される。USBホスト制御部350は、ルートハブ352を有しており、ルートハブ352には2つのUSBコネクタ354,356が設けられている。第1のUSBコネクタ354は、USBケーブルを介してデバイスユニット400のUSBコネクタ462に接続されている。第2のUSBコネクタ356には、追加のデバイス(例えば無線LANネットワークへ通信するための無線通信回路や他のデバイスユニット)を接続可能である。   The network control unit 340 is connected to a wired network via the connector 342. The USB host control unit 350 has a root hub 352, and two USB connectors 354 and 356 are provided on the root hub 352. The first USB connector 354 is connected to the USB connector 462 of the device unit 400 via a USB cable. An additional device (for example, a wireless communication circuit or other device unit for communicating with the wireless LAN network) can be connected to the second USB connector 356.

デバイスユニット400は、中央制御部(CPU)410と、RAM420と、EPROM430と、印刷エンジン440と、スキャンエンジン450と、IrDAインタフェース455と、2つのUSBデバイス制御部460,470と、PCカードインタフェース480と、操作パネル制御部490と、ビューワ制御部500と、USBホスト制御部510と、電源回路210を制御する電源制御部520とを有している。   The device unit 400 includes a central control unit (CPU) 410, a RAM 420, an EPROM 430, a print engine 440, a scan engine 450, an IrDA interface 455, two USB device control units 460 and 470, and a PC card interface 480. An operation panel control unit 490, a viewer control unit 500, a USB host control unit 510, and a power supply control unit 520 that controls the power supply circuit 210.

EPROM430には、デバイスユニット400のファームウェアが格納されている。
中央制御部410は、EPROM430に格納されたファームウェアを実行することにより、図1に示すデバイス制御部402や、プリンタ404や、スキャナ406等の種々の機能を実現する。尚、EPROM430としては、フラッシュメモリ等、電気的に書換が可能な任意のEPROMを使用することができる。
The EPROM 430 stores the firmware of the device unit 400.
The central control unit 410 implements various functions such as the device control unit 402, the printer 404, and the scanner 406 shown in FIG. 1 by executing the firmware stored in the EPROM 430. As the EPROM 430, any EPROM that can be electrically rewritten, such as a flash memory, can be used.

デバイスユニット400の第1のUSBデバイス制御部460は、USBコネクタ462を介してネットワークユニット300のUSBホスト制御部350に接続されている。
第2のUSBデバイス制御部470は、USBコネクタ472を有しており、ここにパーソナルコンピュータ(PC)などの任意のUSBホストを接続することが可能である。PCカードインタフェース480は、PCカードスロット482を有している。操作パネル制御部490には、入力手段としての操作パネル492が接続されている。ビューワ制御部500には、表示装置405としてのビューワ502が接続されている。ユーザは、ビューワ502上に表示された画像やメニューを観察しながら、操作パネル492を用いて種々の指示を入力することができる。USBホスト制御部510は、ルートハブ512を有しており、ルートハブ512にはUSBコネクタ514が設けられている。このUSBコネクタ514には、デジタルカメラやハードディスクドライブ(HDD)等のUSBデバイスを接続することが可能である。
The first USB device controller 460 of the device unit 400 is connected to the USB host controller 350 of the network unit 300 via the USB connector 462.
The second USB device control unit 470 has a USB connector 472, and an arbitrary USB host such as a personal computer (PC) can be connected thereto. The PC card interface 480 has a PC card slot 482. An operation panel 492 as input means is connected to the operation panel control unit 490. A viewer 502 serving as a display device 405 is connected to the viewer control unit 500. The user can input various instructions using the operation panel 492 while observing images and menus displayed on the viewer 502. The USB host control unit 510 has a root hub 512, and the root hub 512 is provided with a USB connector 514. The USB connector 514 can be connected to a USB device such as a digital camera or a hard disk drive (HDD).

印刷エンジン440は、与えられた印刷データに応じて印刷を実行する印刷機構である。印刷エンジン440に供給される印刷データは、中央制御部410が、USBコネクタ472を介して接続された外部のパーソナルコンピュータから供給される受信データを解釈し、色変換やハーフトーン処理を実行することにより生成される。同様に、印刷データは、USBコネクタ462を介して接続されたネットワークユニット300から供給される画像データから生成することもできる。   The print engine 440 is a printing mechanism that performs printing in accordance with given print data. For print data supplied to the print engine 440, the central control unit 410 interprets received data supplied from an external personal computer connected via the USB connector 472, and executes color conversion and halftone processing. Is generated by Similarly, the print data can be generated from image data supplied from the network unit 300 connected via the USB connector 462.

印刷エンジン440に供給される印刷データは、PCカードスロット482に挿入されたメモリカードに格納された画像データや、USBコネクタ514を介して接続されたデジタルスチルカメラ(DSC)から供給される画像データから生成することも可能である。また、中央制御部410の代わりに印刷エンジン440が色変換やハーフトーン処理の機能を有するように構成することも可能である。   The print data supplied to the print engine 440 includes image data stored in a memory card inserted into the PC card slot 482 and image data supplied from a digital still camera (DSC) connected via the USB connector 514. It is also possible to generate from Further, the print engine 440 may be configured to have color conversion and halftone processing functions instead of the central control unit 410.

スキャンエンジン450は、原稿台(図示しない)に置かれた原稿に形成された画像をスキャンして、画像を表すスキャンデータを生成する機構である。スキャンエンジン450で生成されたスキャンデータは、中央制御部410により所定の形式(例えば、jpeg形式)の画像データ(スキャン画像データ)に変換される。変換されたスキャン画像データは、パーソナルコンピュータに転送される。デバイスユニット400は、USBコネクタ462を介して接続されたネットワークユニット300にスキャン画像データを供給することもできる。   The scan engine 450 is a mechanism that scans an image formed on a document placed on a document table (not shown) and generates scan data representing the image. Scan data generated by the scan engine 450 is converted into image data (scanned image data) in a predetermined format (for example, jpeg format) by the central control unit 410. The converted scanned image data is transferred to a personal computer. The device unit 400 can also supply scan image data to the network unit 300 connected via the USB connector 462.

IrDAインタフェース455は、赤外線受光素子458を有し、波長が赤外線領域の光を受光すると共に、受光した赤外線に付加されている信号を取得し、取得した信号を電気信号に変換する。   The IrDA interface 455 includes an infrared light receiving element 458, receives light having a wavelength in the infrared region, acquires a signal added to the received infrared light, and converts the acquired signal into an electrical signal.

デバイスユニット400は、また、スキャン画像データをPCカードスロット482に挿入されたメモリカードや、USBコネクタ514を介して接続されたデバイスに格納することも可能である。尚、中央制御部410の代わりにスキャンエンジン450がスキャンデータから画像データを生成する機能を有するように構成することも可能である。   The device unit 400 can also store the scanned image data in a memory card inserted into the PC card slot 482 or a device connected via the USB connector 514. Note that instead of the central control unit 410, the scan engine 450 may be configured to have a function of generating image data from scan data.

図3は、複合機200のネットワークユニット300により実行される設定初期化・復元ルーチンと、デジタルカメラ550の画像データ送信処理を示すフローチャートである。この中で、設定初期化・復元ルーチンでは、ユーザにより変更されたネットワーク設定が一旦工場出荷時の設定(初期設定)に戻される。ネットワーク設定の初期設定への変更(以下、「初期化」とも呼ぶ)は、例えば、ネットワークユニット300のLANとの接続が安定しない場合に、ユーザがネットワークユニット300に指示を与えることにより実行される。また、ネットワークユニット300のEPROM330に格納されるファームウェアが変更された場合、必要に応じて自動的にあるいはユーザの指示に応じて実行される。   FIG. 3 is a flowchart showing a setting initialization / restoration routine executed by the network unit 300 of the multifunction device 200 and image data transmission processing of the digital camera 550. Among these, in the setting initialization / restoration routine, the network setting changed by the user is temporarily returned to the factory setting (initial setting). The change of the network setting to the initial setting (hereinafter also referred to as “initialization”) is executed when the user gives an instruction to the network unit 300 when the connection of the network unit 300 to the LAN is not stable, for example. . Further, when the firmware stored in the EPROM 330 of the network unit 300 is changed, the firmware is executed automatically as necessary or in accordance with a user instruction.

図4は、図3に示す設定初期化・復元ルーチンを実行する際に、デジタルテレビ110に表示されるユーザインタフェースを示している。図4(a)に示すユーザインタフェースUI1は、ユーザがデジタルテレビ110のブラウザを用いてネットワークユニット300にネットワーク設定を変更する指示を与えた時にデジタルテレビ110のブラウザ上に表示される。このユーザインタフェースUI1は、デジタルテレビ110と複合機200とがUPnPに対応する機器として構成されている場合、デジタルテレビ110に表示されるプレゼンテーションページ上でユーザが所定の操作を行うことにより表示される。   FIG. 4 shows a user interface displayed on the digital television 110 when the setting initialization / restoration routine shown in FIG. 3 is executed. The user interface UI1 shown in FIG. 4A is displayed on the browser of the digital television 110 when the user gives an instruction to change the network settings to the network unit 300 using the browser of the digital television 110. This user interface UI1 is displayed when a user performs a predetermined operation on a presentation page displayed on the digital television 110 when the digital television 110 and the multifunction device 200 are configured as UPnP compatible devices. .

ユーザインタフェースUI1には、ネットワークパラメータの現在の設定値と、3つのボタンBSET,BBCK,BINIとが表示されている。ユーザが3つのボタンBSET,BBCK,BINIのいずれか1つを操作すると、各ボタンに対応するページの送信を要求するHTTPリクエストがデジタルテレビ110からネットワークユニット300に送信される。尚、ユーザインタフェースUI1に表示されたネットワークパラメータの現在の設定値のうち、図4の斜線で示した領域中に表示されている設定値は、ユーザにより初期設定値とは異なる値に変更された設定値である。   The user interface UI1 displays current setting values of network parameters and three buttons BSET, BBCK, and BINI. When the user operates any one of the three buttons BSET, BBCK, and BINI, an HTTP request requesting transmission of a page corresponding to each button is transmitted from the digital television 110 to the network unit 300. Of the current network parameter setting values displayed on the user interface UI1, the setting values displayed in the shaded area in FIG. 4 have been changed by the user to values different from the initial setting values. It is a set value.

ユーザがユーザインタフェースUI1に表示されたボタンBSETを操作すると、デジタルテレビ110は、ネットワークユニット300にネットワークパラメータの設定値を入力するためのページの送信を要求するHTTPリクエストを送信する。ネットワークユニット300は、このHTTPリクエストに応じて、各ネットワークパラメータの設定値を入力するため、設定するパラメータごとにユーザインタフェース(図示しない)を表すページを順次デジタルテレビ110に送信する。ユーザは、デジタルテレビ110に表示されるユーザインタフェース上で操作を行うことにより、ネットワーク設定を変更することができる。   When the user operates the button BSET displayed on the user interface UI1, the digital television 110 transmits an HTTP request for requesting the network unit 300 to transmit a page for inputting setting values of network parameters. In response to this HTTP request, the network unit 300 inputs the setting value of each network parameter, and sequentially transmits a page representing a user interface (not shown) to the digital television 110 for each parameter to be set. The user can change the network setting by performing an operation on the user interface displayed on the digital television 110.

ユーザがボタンBBCKを操作すると、デジタルテレビ110には、プレゼンテーションページが表示され、ネットワーク設定の変更は中止される。   When the user operates the button BBCK, a presentation page is displayed on the digital television 110, and the network setting change is stopped.

ユーザがボタンBINIを操作すると、図3に示す設定初期化・復元ルーチンが実行される。これにより、ネットワーク設定を初期設定に戻した後、初期化前の状態に復元する処理(クリーン再設定)が行われる。   When the user operates the button BINI, a setting initialization / restoration routine shown in FIG. 3 is executed. As a result, after the network setting is returned to the initial setting, a process (clean reset) for restoring the state before the initialization is performed.

図3のステップS600において、ネットワークユニット300は、現在のネットワーク設定が初期設定から変更されているか否かを判断する。ネットワーク設定が初期設定から変更されていると判断された場合(ステップS600でYes)、制御はステップS605に移される。一方、ネットワーク設定が初期設定から変更されていないと判断された場合(ステップS600でNo)、制御はステップS625に移される。ステップS625では、設定情報表示フラグ(後述する)がリセットされる。   In step S600 of FIG. 3, the network unit 300 determines whether or not the current network setting has been changed from the initial setting. If it is determined that the network setting has been changed from the initial setting (Yes in step S600), the control moves to step S605. On the other hand, when it is determined that the network setting has not been changed from the initial setting (No in step S600), the control is moved to step S625. In step S625, a setting information display flag (described later) is reset.

ステップS605において、設定初期化復元部360の出力指示取得部380は、現在のネットワーク設定を復元するための設定情報をビューワ502に表示するか否かをユーザに問い合わせる。具体的には、ネットワークユニット300が、ユーザによる図4(a)のボタンBINIの操作に従って、図4(b)に示すユーザインタフェースUI2を表すHTMLデータを返信する。これにより、デジタルテレビ110には、ユーザインタフェースUI2が表示される。尚、ステップS605の処理を省略し、ネットワーク設定が変更されている場合には、常に設定情報をビューワ502に表示しても良い。   In step S605, the output instruction acquisition unit 380 of the setting initialization restoring unit 360 inquires of the user whether or not to display setting information for restoring the current network setting on the viewer 502. Specifically, the network unit 300 returns HTML data representing the user interface UI2 shown in FIG. 4B according to the operation of the button BINI in FIG. Accordingly, the user interface UI2 is displayed on the digital television 110. Note that the processing in step S605 may be omitted, and the setting information may be always displayed on the viewer 502 when the network setting is changed.

図4(b)のユーザインタフェースUI2には、設定情報をビューワ502に表示するか否かをユーザに問い合わせるメッセージと共に、ユーザに設定情報を表示するか否かを選択させるための2つのボタンBPSS,BNSSが表示される。これら2つのボタンBPSS,BNSSのいずれかをユーザが操作すると、図4(a)の場合と同様に、各ボタンに対応するページの送信を要求するHTTPリクエストがデジタルテレビ110からネットワークユニット300に送信される。ネットワークユニット300は、送信されたHTTPリクエストの内容に従って、設定情報を表示するか否かのユーザからの選択指示を取得することができる。   The user interface UI2 of FIG. 4B includes two buttons BPSS, which allow the user to select whether or not to display the setting information, together with a message asking the user whether or not to display the setting information on the viewer 502. BNSS is displayed. When the user operates one of these two buttons BPSS and BNSS, an HTTP request for requesting transmission of a page corresponding to each button is transmitted from the digital television 110 to the network unit 300 as in the case of FIG. Is done. The network unit 300 can acquire a selection instruction from the user as to whether to display the setting information according to the content of the transmitted HTTP request.

図3のステップS610において、ユーザによる選択指示が、設定情報を表示する指示と、設定情報を表示しない指示と、のいずれの指示であるかが判断される。ユーザによる選択指示が、設定情報を表示する指示であった場合(ステップS610でYes)、制御はステップS615に移される。一方、ユーザによる選択指示が、情報を表示しない指示であった場合(ステップS610でNo)、制御はステップS625に移される。   In step S610 of FIG. 3, it is determined whether the selection instruction by the user is an instruction to display setting information or an instruction to not display setting information. When the selection instruction by the user is an instruction to display the setting information (Yes in step S610), the control is moved to step S615. On the other hand, when the selection instruction by the user is an instruction not to display information (No in step S610), the control is moved to step S625.

ステップS615において、設定初期化復元部360の設定出力部365は、設定情報、即ち、EPROM330に格納されているネットワーク設定の各パラメータを表すQRコードの画像データを生成する。そして、生成されたQRコードの画像データをデバイスユニット400に供給する。デバイスユニット400は、供給されたQRコードの画像データを、ビューワ制御部500に送ることにより、QRコードの画像は、デジタルカメラ550が撮影に適する大きさでビューワ502に表示される。   In step S615, the setting output unit 365 of the setting initialization restoring unit 360 generates setting information, that is, QR code image data representing each parameter of the network setting stored in the EPROM 330. Then, the generated QR code image data is supplied to the device unit 400. The device unit 400 sends the supplied QR code image data to the viewer control unit 500, so that the QR code image is displayed on the viewer 502 in a size suitable for the digital camera 550 to shoot.

尚、本実施形態では、QRコードがビューワ502に表示されると共に、図4(c)に示すユーザインタフェースUI3がデジタルテレビ110に表示される。図5は、ビューワ502に表示された表示画像750の一例を示す。この表示画像750の中央部には、ネットワークの設定情報を示すQRコードBCが表示される。ここで、デジタルカメラ550のフローチャートに移り、ステップS700においてビューワ502に表示されたQRコードBCは、ユーザの操作により、赤外線通信機能を備えたデジタルカメラ550で撮影される。続いて、ステップS705で、撮影されたQRコードBCの画像データは、デジタルカメラ550に記憶され、ユーザにより画像データが送信指示されるまで(ステップS710でNoの間)待機する。尚、前記した画像出力装置として、プリンタ404を採用する場合は、QRコードBCの画像は、デジタルカメラ550が撮影に適する大きさで用紙に印刷され、印刷されたQRコードBCの画像は、ビューワ502に表示された場合と同様に、デジタルカメラ550で撮影される。
ネットワークユニット300のフローチャートに戻り、ユーザによるユーザインタフェースUI3上のボタンBOK3の操作を検出した後、ビューワ502に表示されたQRコードBCは消去される。
In this embodiment, the QR code is displayed on the viewer 502, and the user interface UI3 shown in FIG. 4C is displayed on the digital television 110. FIG. 5 shows an example of a display image 750 displayed on the viewer 502. In the center of the display image 750, a QR code BC indicating network setting information is displayed. Here, moving to the flowchart of the digital camera 550, the QR code BC displayed on the viewer 502 in step S700 is photographed by the digital camera 550 having an infrared communication function by a user operation. Subsequently, in step S705, the captured image data of the QR code BC is stored in the digital camera 550 and waits until the user instructs the image data to be transmitted (during No in step S710). When the printer 404 is employed as the image output device described above, the QR code BC image is printed on paper with a size suitable for the digital camera 550, and the printed QR code BC image is displayed on the viewer. The image is taken by the digital camera 550 in the same manner as displayed on the screen 502.
Returning to the flowchart of the network unit 300, after detecting the operation of the button BOK3 on the user interface UI3 by the user, the QR code BC displayed on the viewer 502 is deleted.

続いて、ステップS620において、ネットワークユニット300は、設定情報表示フラグをセットする。このフラグは、上述のようにネットワーク設定を示す設定情報がQRコードBCで表示されたことを表すフラグである。尚、設定情報表示フラグは、ネットワークユニット300のEPROM330に格納される。   Subsequently, in step S620, the network unit 300 sets a setting information display flag. This flag is a flag indicating that the setting information indicating the network setting is displayed with the QR code BC as described above. The setting information display flag is stored in the EPROM 330 of the network unit 300.

ステップS630では、ネットワーク設定が初期設定に変更される。具体的には、ファームウェアと共に格納されているネットワーク設定の工場出荷状態での設定値(初期値)がEPROM330から読み出され、EPROM330のネットワーク設定の格納領域に格納される。これにより、EPROM330に格納されたネットワーク設定の各パラメータは、工場出荷時の設定値に戻される。尚、EPROM330のネットワーク設定格納領域に設定される初期値は、EPROM330に格納された値でなくとも良い。例えば、ネットワーク設定の各パラメータの初期値が「0」であれば、ネットワーク設定格納領域をクリアすることにより、ネットワーク設定を初期設定に変更することができる。   In step S630, the network setting is changed to the initial setting. Specifically, the setting value (initial value) of the network setting stored with the firmware in the factory shipment state is read from the EPROM 330 and stored in the network setting storage area of the EPROM 330. Thereby, each parameter of the network setting stored in the EPROM 330 is returned to the factory setting value. Note that the initial value set in the network setting storage area of the EPROM 330 may not be a value stored in the EPROM 330. For example, if the initial value of each parameter of the network setting is “0”, the network setting can be changed to the initial setting by clearing the network setting storage area.

ステップS635において、設定初期化復元部360の再起動実行部370は、ネットワークユニット300の再起動を行う。ネットワークユニット300の再起動は、例えば、ネットワーク設定処理部304がデバイスユニット400にネットワークユニット300の再起動をさせる指示を送出することにより行われる。再起動の指示を受け取ったデバイスユニット400は、電源回路210を制御することにより、ネットワークユニット300への電力供給を一旦遮断したのち再開する。ネットワークユニット300は、電力供給の遮断の後、電力供給が再開されることによって再起動される。尚、ネットワークユニット300の再起動は、他の方法によっても行うことができる。例えば、ネットワークユニット300がEPROM330の所定の位置に格納されたブートプログラムを実行することによっても再起動を実行することが可能である。   In step S635, the restart execution unit 370 of the setting initialization restoration unit 360 restarts the network unit 300. The network unit 300 is restarted, for example, when the network setting processing unit 304 sends an instruction to the device unit 400 to restart the network unit 300. The device unit 400 that has received the restart instruction controls the power supply circuit 210 to once cut off the power supply to the network unit 300 and then restart. After the power supply is cut off, the network unit 300 is restarted by restarting the power supply. Note that the network unit 300 can be restarted by other methods. For example, the network unit 300 can also be restarted by executing a boot program stored in a predetermined position of the EPROM 330.

尚、本実施例では、ステップS635における再起動の処理が実行されている間、ネットワークユニット300は、図4(d)に示すユーザインタフェースUI4をデジタルテレビ110に表示する。但し、ユーザインタフェースUI4の表示は、省略しても良い。   In this embodiment, the network unit 300 displays the user interface UI4 shown in FIG. 4D on the digital television 110 while the restart process in step S635 is being executed. However, the display of the user interface UI4 may be omitted.

ステップS640において、ネットワークユニット300は、EPROM330に格納された設定情報表示フラグがセットされているか否かを判断する。設定情報表示フラグがセットされている場合(ステップS640でYes)、設定初期化復元部360の復元実行部375によるネットワーク設定の復元処理が実行され、図4(e)に示すユーザインタフェースUI5がデジタルテレビ110に表示され、ステップS645が実行される。一方、設定情報表示フラグがセットされていない場合(ステップS640でNo)、設定初期化・復元ルーチンは終了する。   In step S640, the network unit 300 determines whether or not the setting information display flag stored in the EPROM 330 is set. When the setting information display flag is set (Yes in step S640), the network setting restoration process is executed by the restoration execution unit 375 of the setting initialization restoration unit 360, and the user interface UI5 shown in FIG. Displayed on the television 110, step S645 is executed. On the other hand, when the setting information display flag is not set (No in step S640), the setting initialization / restoration routine ends.

ステップS645において、ネットワークユニット300は、デジタルカメラ550が撮影した画像データを受信する。具体的には、一方の複合機200の赤外線受信装置408は、画像データを受信可能な状態に遷移すると共に、ユーザの操作により、他方のデジタルカメラ550に記憶されたQRコードBCの画像データは、赤外線通信で送信するように指示され(ステップS710でYes)、この指示に従い、両者が接続処理を実行することで、ネットワークユニット300とデジタルカメラ550が赤外線通信で接続される。ここで、デジタルカメラ550はQRコードBCの画像データを送信する(ステップS715)と共に、ネットワークユニット300は、QRコードBCの画像データを受信する。受信されたQRコードBCの画像データは、ネットワークユニット300に供給される。尚、デジタルカメラ550は、画像データの送信終了を待って、画像データ送信処理は終了し、ユーザからの操作を待つ状態に遷移する。   In step S645, the network unit 300 receives the image data captured by the digital camera 550. Specifically, the infrared receiving device 408 of one MFP 200 transitions to a state in which image data can be received, and the image data of the QR code BC stored in the other digital camera 550 by the user's operation is The network unit 300 and the digital camera 550 are connected by infrared communication by instructing to transmit by infrared communication (Yes in step S710) and performing connection processing by both in accordance with this instruction. Here, the digital camera 550 transmits image data of QR code BC (step S715), and the network unit 300 receives image data of QR code BC. The received image data of the QR code BC is supplied to the network unit 300. The digital camera 550 waits for the end of image data transmission, ends the image data transmission process, and transitions to a state of waiting for an operation from the user.

ステップS650において、ネットワークユニット300は、QRコードBCの画像データを解析することにより、QRコードBCが表す数値を取得する。そして、QRコードBCによって表される数値に基づいてネットワーク設定を変更する。具体的には、ネットワークユニット300は、QRコードBCによって表されるネットワーク設定の各パラメータ設定値をEPROM330の所定の領域に格納する。このステップS650におけるネットワーク設定の変更の後、一連の設定初期化・復元ルーチンは終了する。   In step S650, the network unit 300 obtains a numerical value represented by the QR code BC by analyzing the image data of the QR code BC. Then, the network setting is changed based on the numerical value represented by the QR code BC. Specifically, the network unit 300 stores each parameter setting value of the network setting represented by the QR code BC in a predetermined area of the EPROM 330. After changing the network settings in step S650, the series of setting initialization / restoration routines ends.

尚、ステップS650におけるバーコードが表す数値の取得が失敗した場合、予め定められたリトライ回数に達するまで、ステップS645の画像データの受信とステップS650の画像の解析とが繰り返し実行される。そして、画像の解析の失敗がリトライ回数に達した場合、QRコードBCの読み取りは中止される。この場合、設定初期化・復元ルーチンは強制的に終了し、ネットワーク設定は初期設定のままとなる。   If acquisition of the numerical value represented by the barcode in step S650 has failed, the reception of the image data in step S645 and the analysis of the image in step S650 are repeatedly executed until the predetermined number of retries is reached. When the image analysis failure reaches the number of retries, reading of the QR code BC is stopped. In this case, the setting initialization / restoration routine is forcibly terminated, and the network setting remains the initial setting.

設定初期化・復元ルーチンが終了すると、EPROM330に格納されたネットワーク設定は、設定初期化・復元ルーチン実行前の状態に復元される。そして、EPROM330に格納されたネットワーク設定に従ってネットワークユニット300のネットワーク処理機能を稼働させることにより、ネットワークユニット300のネットワーク設定は設定初期化・復元ルーチン実行前の状態に復元される。そのため、デジタルテレビ110は、デジタルテレビ110のネットワーク設定を変更することなく、複合機200のプレゼンテーションページを表示することができる。   When the setting initialization / restoration routine is completed, the network settings stored in the EPROM 330 are restored to the state before the setting initialization / restoration routine is executed. Then, by operating the network processing function of the network unit 300 in accordance with the network setting stored in the EPROM 330, the network setting of the network unit 300 is restored to the state before the setting initialization / restoration routine is executed. Therefore, the digital television 110 can display the presentation page of the multifunction device 200 without changing the network setting of the digital television 110.

このように、本実施形態では、ネットワークユニット300のネットワーク設定を初期化する際に、ネットワーク設定がQRコードBCとして表示され、デジタルカメラ550に撮影される。そして、ネットワークユニット300の再起動の後、デジタルカメラ550からQRコードBCの画像データを読み取り、ネットワーク設定を変更することにより、ネットワークユニット300のネットワーク設定を初期化前と同じ設定に復元することができる。そのため、ネットワーク設定の初期化を行っても、LANを介して接続される他のデバイスは、その設定を変更することなくLANを介してネットワークユニット300にアクセスすることが可能となる。   Thus, in this embodiment, when initializing the network settings of the network unit 300, the network settings are displayed as the QR code BC and photographed by the digital camera 550. After the network unit 300 is restarted, the network settings of the network unit 300 can be restored to the same settings as before the initialization by reading the image data of the QR code BC from the digital camera 550 and changing the network settings. it can. Therefore, even if the network settings are initialized, other devices connected via the LAN can access the network unit 300 via the LAN without changing the settings.

以上、本発明を図示した実施形態に基づいて説明したが、本発明は、本実施形態に限定されるものではなく、以下に述べるような変形例も想定できる。
(1)上記実施形態では、ネットワークユニット300のネットワーク設定の変更と設定初期化の指示は、LANに接続されたデジタルテレビ110から供給されているが、これらの指示は、ネットワークユニット300あるいは複合機200に直接与えるものとしても良い。この場合、ネットワークユニット300は、ユーザインタフェースをビューワ502に表示し、ユーザは、ビューワ502に表示されたユーザインタフェースを見ながら複合機200の操作パネル492を操作することによりこれらの指示をネットワークユニット300に与える。また、QRコードBCは、ビューワ502に表示される代わりに、デジタルテレビ110に表示されても良い。
As mentioned above, although this invention was demonstrated based on embodiment shown in figure, this invention is not limited to this embodiment, The modification as described below can also be assumed.
(1) In the above embodiment, instructions for changing the network settings of the network unit 300 and for initializing the settings are supplied from the digital television 110 connected to the LAN. It is good also as what gives directly to 200. In this case, the network unit 300 displays a user interface on the viewer 502, and the user operates the operation panel 492 of the multi-function device 200 while viewing the user interface displayed on the viewer 502 to give these instructions to the network unit 300. To give. The QR code BC may be displayed on the digital television 110 instead of being displayed on the viewer 502.

(2)上記実施形態では、本発明を、ネットワークユニット300とデバイスユニット400とが一体となった複合機200に適用しているが、本発明は、デバイスユニットとは別体のネットワークユニットに適用することも可能である。この場合、ネットワークユニットの再起動は、ネットワークユニット内の電源回路を制御することによって行うことが可能である。一般に、本発明は、ネットワークとは異なる通信チャンネルを介して、画像印刷装置および画像読取装置が接続可能な任意のネットワーク装置に適用することができる。   (2) In the above embodiment, the present invention is applied to the MFP 200 in which the network unit 300 and the device unit 400 are integrated, but the present invention is applied to a network unit separate from the device unit. It is also possible to do. In this case, the network unit can be restarted by controlling the power supply circuit in the network unit. In general, the present invention can be applied to any network device to which an image printing apparatus and an image reading apparatus can be connected via a communication channel different from the network.

本実施形態に係る、ネットワークシステムの構成を示す図。The figure which shows the structure of the network system based on this embodiment. 複合機のハードウェアを示すブロック図。FIG. 2 is a block diagram showing hardware of a multifunction machine. 複合機のネットワークユニットにより実行される設定初期化・復元ルーチンと、デジタルカメラの画像データ送信処理を示すフローチャート。5 is a flowchart showing a setting initialization / restoration routine executed by the network unit of the multifunction peripheral and image data transmission processing of the digital camera. (a)〜(e)は、設定初期化・復元ルーチンを実行する際に、デジタルテレビにそれぞれ表示されるユーザインタフェースを示す図。(A)-(e) is a figure which shows the user interface respectively displayed on a digital television, when performing a setting initialization and restoration routine. 表示装置に表示されたQRコードの一例を示す図。The figure which shows an example of the QR code displayed on the display apparatus.

符号の説明Explanation of symbols

100…ネットワークシステム、110…デジタルテレビ、200…複合機、210…電源回路、300…ネットワークユニット、302…ネットワークプロトコル制御部、304…ネットワーク設定処理部、310…中央制御部、320…RAM、330…EPROM、340…ネットワーク制御部、342…コネクタ、350…USBホスト制御部、352…ルートハブ、354,356…USBコネクタ、360…設定初期化復元部、365…設定出力部、370…再起動実行部、375…復元実行部、380…出力指示取得部、400…デバイスユニット、402…デバイス制御部、404…プリンタ、405…表示装置、406…スキャナ、408…赤外線受信装置、410…中央制御部、420…RAM、430…EPROM、440…印刷エンジン、450…スキャンエンジン、455…IrDAインタフェース、458…赤外線受光素子、460,470…USBデバイス制御部、462,472…USBコネクタ、480…PCカードインタフェース、482…PCカードスロット、490…操作パネル制御部、492…操作パネル、500…ビューワ制御部、502…ビューワ、510…USBホスト制御部、512…ルートハブ、514…USBコネクタ、520…電源制御部、750…表示画像。   DESCRIPTION OF SYMBOLS 100 ... Network system, 110 ... Digital television, 200 ... Multi-function device, 210 ... Power supply circuit, 300 ... Network unit, 302 ... Network protocol control part, 304 ... Network setting process part, 310 ... Central control part, 320 ... RAM, 330 ... EPROM, 340 ... Network control unit, 342 ... Connector, 350 ... USB host control unit, 352 ... Root hub, 354, 356 ... USB connector, 360 ... Setting initialization restoration unit, 365 ... Setting output unit, 370 ... Restart execution , 375 ... Restoration execution unit, 380 ... Output instruction acquisition unit, 400 ... Device unit, 402 ... Device control unit, 404 ... Printer, 405 ... Display device, 406 ... Scanner, 408 ... Infrared receiver, 410 ... Central control unit 420 ... RAM, 430 ... EPROM, 40 ... Printing engine, 450 ... Scan engine, 455 ... IrDA interface, 458 ... Infrared light receiving element, 460, 470 ... USB device controller, 462, 472 ... USB connector, 480 ... PC card interface, 482 ... PC card slot, 490 ... Operation panel control unit, 492 ... Operation panel, 500 ... Viewer control unit, 502 ... Viewer, 510 ... USB host control unit, 512 ... Root hub, 514 ... USB connector, 520 ... Power supply control unit, 750 ... Display image.

Claims (6)

ネットワークに接続されるネットワーク装置であって、
前記ネットワークとは異なる通信チャンネルを介して、前記ネットワーク装置と、画像出力装置および画像データ受信装置と、を接続する画像入出力装置接続部と、
前記ネットワークを介したデータ伝送に使用されるパラメータであるネットワーク設定を一旦所定の初期設定に変更した後、前記初期設定への変更前の元設定に復元する設定初期化復元部と、を備え、
前記設定初期化復元部は、
前記元設定に前記初期設定とは異なる設定がされている場合、前記ネットワーク設定の前記初期設定への変更の前に、前記接続された画像出力装置に対して、前記元設定の少なくとも一部の設定値が2次元コードで表された設定画像を撮影可能に出力させると共に、前記設定画像を出力したことを示すフラグをセットする設定出力部と、
前記ネットワーク設定を前記初期設定に変更した後、前記ネットワーク装置を再起動する再起動実行部と、
前記ネットワーク装置の再起動後に、前記フラグがセットされている場合には、前記設定画像が撮影された画像データを、前記接続された画像データ受信装置に受信させると共に、前記受信された前記画像データから前記設定画像を復元し、前記復元した設定画像によって表される前記ネットワーク設定に基づいて前記ネットワーク設定を変更することにより、前記ネットワーク設定を前記元設定に復元する復元実行部と、を有することを特徴とするネットワーク装置。
A network device connected to a network,
An image input / output device connection unit for connecting the network device, the image output device and the image data receiving device via a communication channel different from the network;
A setting initialization restoring unit that restores the original setting before the change to the initial setting after once changing the network setting, which is a parameter used for data transmission via the network, to a predetermined initial setting;
The setting initialization restoring unit
When the original setting is different from the initial setting, before changing the network setting to the initial setting, at least a part of the original setting is made to the connected image output device. A setting output unit that outputs a setting image in which a setting value is represented by a two-dimensional code so as to be photographable, and sets a flag indicating that the setting image has been output;
A restart execution unit for restarting the network device after changing the network setting to the initial setting;
If the flag is set after the network device is restarted, the connected image data receiving device receives the image data in which the setting image is captured, and the received image data A restoration executing unit that restores the network setting to the original setting by restoring the setting image from the network and changing the network setting based on the network setting represented by the restored setting image. A network device characterized by the above.
請求項1に記載のネットワーク装置であって、
前記設定初期化復元部は、前記設定出力部による前記設定画像の出力を実行するか否かについてのユーザの指示を取得する出力指示取得部を備えており、
前記出力指示取得部により取得されたユーザの指示が前記設定画像の出力を実行しない指示であった場合には、前記フラグをリセットすることにより前記ネットワーク設定の前記元設定への復元を実行しないことを特徴とするネットワーク装置。
The network device according to claim 1,
The setting initialization restoring unit includes an output instruction acquiring unit that acquires a user instruction as to whether or not to execute the output of the setting image by the setting output unit,
If the user instruction acquired by the output instruction acquisition unit is an instruction not to output the setting image, the network setting is not restored to the original setting by resetting the flag. A network device characterized by the above.
請求項1乃至2のいずれかに記載のネットワーク装置において、
前記2次元コードは、QRコードであることを特徴とするネットワーク装置。
The network device according to claim 1,
The network apparatus, wherein the two-dimensional code is a QR code.
請求項1乃至3のいずれか1項に記載のネットワーク装置において、
前記画像出力装置は、画像を表示する表示装置であり、
前記2次元コードで表された設定画像は、前記表示装置に表示されて出力されることを特徴とするネットワーク装置。
The network device according to any one of claims 1 to 3,
The image output device is a display device that displays an image,
The network device, wherein the setting image represented by the two-dimensional code is displayed and output on the display device.
請求項1乃至3のいずれか1項に記載のネットワーク装置において、
前記画像出力装置は、画像を印刷する印刷装置であり、
前記2次元コードで表された設定画像は、前記印刷装置に印刷されて出力されることを特徴とするネットワーク装置。
The network device according to any one of claims 1 to 3,
The image output device is a printing device that prints an image;
The network device, wherein the setting image represented by the two-dimensional code is printed and output by the printing device.
ネットワークに接続されるネットワーク装置の制御方法であって、
(a)前記ネットワークを介したデータ伝送に使用されるパラメータであるネットワーク設定を所定の初期設定に変更する工程と、
(b)前記工程(a)において前記初期設定に変更されたネットワーク設定を、前記初期設定への変更前の元設定に復元する工程と、
を備え、
前記工程(a)は、
前記ネットワーク設定を前記初期設定に変更した後、前記ネットワーク装置を再起動する工程を含み、
前記工程(b)は、
前記元設定に前記初期設定とは異なる設定がされている場合に、前記ネットワーク設定の前記初期設定への変更の前に、前記ネットワークとは異なる通信チャンネルを介して接続された画像出力装置に前記元設定の少なくとも一部の設定値が2次元コードで表された設定画像を撮影可能に出力させると共に、前記設定画像を出力したことを表すフラグをセットする工程と、
前記ネットワーク装置の再起動後に、前記フラグがセットされている場合には、前記通信チャンネルを介して接続された画像データ受信装置に、前記設定画像が撮影された画像データを受信させると共に、
前記受信された画像データから前記設定画像を復元し、前記復元した設定画像によって表される前記ネットワーク設定に基づいて前記ネットワーク設定を変更することにより、前記ネットワーク設定を前記元設定に復元する工程と、
を含むことを特徴とするネットワーク装置の制御方法。
A method of controlling a network device connected to a network,
(A) changing a network setting, which is a parameter used for data transmission via the network, to a predetermined initial setting;
(B) restoring the network setting changed to the initial setting in the step (a) to the original setting before the change to the initial setting;
With
The step (a)
Restarting the network device after changing the network setting to the initial setting;
The step (b)
When the original setting is different from the initial setting, before changing the network setting to the initial setting, the image output apparatus connected to the image output device connected via a communication channel different from the network is used. A step of outputting a setting image in which at least a part of setting values of the original setting is represented by a two-dimensional code so as to be photographable, and setting a flag indicating that the setting image is output;
When the flag is set after the network device is restarted, the image data receiving device connected via the communication channel is made to receive the image data obtained by photographing the setting image,
Restoring the setting image from the received image data and restoring the network setting to the original setting by changing the network setting based on the network setting represented by the restored setting image; ,
A method for controlling a network device, comprising:
JP2006287259A 2006-10-23 2006-10-23 Network device and method for controlling network device Expired - Fee Related JP4858076B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006287259A JP4858076B2 (en) 2006-10-23 2006-10-23 Network device and method for controlling network device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006287259A JP4858076B2 (en) 2006-10-23 2006-10-23 Network device and method for controlling network device

Publications (2)

Publication Number Publication Date
JP2008109182A JP2008109182A (en) 2008-05-08
JP4858076B2 true JP4858076B2 (en) 2012-01-18

Family

ID=39442218

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006287259A Expired - Fee Related JP4858076B2 (en) 2006-10-23 2006-10-23 Network device and method for controlling network device

Country Status (1)

Country Link
JP (1) JP4858076B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3906618B2 (en) * 1999-11-30 2007-04-18 村田機械株式会社 Communication terminal device
US20030069947A1 (en) * 2001-10-05 2003-04-10 Lipinski Gregory J. System and methods for network detection and configuration
JP3660312B2 (en) * 2002-02-07 2005-06-15 株式会社三共 Game machine
JP2004145525A (en) * 2002-10-23 2004-05-20 Sharp Corp How to set the function or operation of electrical equipment
JP2005033477A (en) * 2003-07-11 2005-02-03 Konica Minolta Business Technologies Inc Image forming apparatus
JP4415086B2 (en) * 2004-05-31 2010-02-17 タイヨーエレック株式会社 Combination game machine

Also Published As

Publication number Publication date
JP2008109182A (en) 2008-05-08

Similar Documents

Publication Publication Date Title
US20120110066A1 (en) Image input method, content item server, and relay server
JP5081021B2 (en) Information processing system, information processing device, terminal device, and computer program
US9264460B2 (en) Method, apparatus, and system for executing a job in cooperation with a server
JP6102264B2 (en) Processing execution system, information processing apparatus, program
JP6975397B2 (en) Image reader and program.
JP5929463B2 (en) Maintenance target devices, mobile devices, systems
CN101800830A (en) Image processing apparatus, information processing system, and control method of image processing apparatus
JP2003115969A (en) Method and apparatus for scanner-initiated network- based image input scanning
JP6273903B2 (en) Information processing system, information processing method, and program
CN104735277A (en) EXECUTION INSTRUCTING APPARATUS and EXECUTION INSTRUCTING METHOD
JP5732896B2 (en) Network system and network system control method
US20250301076A1 (en) Storage medium, control method for terminal apparatus, and terminal apparatus
US9501255B2 (en) Network system, code providing device, terminal, and computer-readable storage medium for computer program
KR101758854B1 (en) Scanning apparatus, mobile apparatus and scan job performing method thereof
JP4858076B2 (en) Network device and method for controlling network device
JP2000057067A (en) Data communication method, system and device thereof
JP2006252321A (en) Electronic document management system, print setting device, print history device, image forming device, print setting service device, temporary document storage service device, and control program
JP2019129431A (en) Image processing apparatus, control method thereof, and program
JP5168347B2 (en) Image processing apparatus, upload method, and upload program
CN109639921B (en) Communication apparatus, control method thereof, and storage medium
JP5315939B2 (en) Image forming apparatus, information processing system, information processing method, and program
JP2007208666A (en) Network reconfiguration on network devices
JP6028890B2 (en) Data transmission device, data transfer server, and data transmission method
US20170331977A1 (en) Printing apparatus, printing system and control method
JP3596769B2 (en) Communication device and data transmission method and program therefor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090807

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110922

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111017

R150 Certificate of patent or registration of utility model

Ref document number: 4858076

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20141111

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees