JP2019154003A - Information processing device and information processing method - Google Patents

Information processing device and information processing method Download PDF

Info

Publication number
JP2019154003A
JP2019154003A JP2018039644A JP2018039644A JP2019154003A JP 2019154003 A JP2019154003 A JP 2019154003A JP 2018039644 A JP2018039644 A JP 2018039644A JP 2018039644 A JP2018039644 A JP 2018039644A JP 2019154003 A JP2019154003 A JP 2019154003A
Authority
JP
Japan
Prior art keywords
packet
lan
information processing
subnet
processing apparatus
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.)
Granted
Application number
JP2018039644A
Other languages
Japanese (ja)
Other versions
JP2019154003A5 (en
JP7197986B2 (en
Inventor
実 藤沢
Minoru Fujisawa
実 藤沢
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2018039644A priority Critical patent/JP7197986B2/en
Publication of JP2019154003A publication Critical patent/JP2019154003A/en
Publication of JP2019154003A5 publication Critical patent/JP2019154003A5/ja
Priority to JP2022195856A priority patent/JP7486261B2/en
Application granted granted Critical
Publication of JP7197986B2 publication Critical patent/JP7197986B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

To provide a technique for limiting communication in a subnet to which a device belongs even if the device is connected to a plurality of subnets including a subnet to which a default gateway is set.SOLUTION: A packet that is not transmitted to the outside of a subnet to which an information processing device belongs is generated as a packet which a first communication device corresponding to a subnet to which a default gateway is not set among a plurality of communication devices transmits. The generated packet is then transmitted by using the first communication device.SELECTED DRAWING: Figure 2

Description

本発明は、複数のネットワークに対する通信制御に関するものである。   The present invention relates to communication control for a plurality of networks.

ネットワークに求められるセキュリティや機能性の複雑化に伴い、オフィスや商業施設などで複数のLAN(Local area network)を使い分ける構成が一般的になってきた。利用される情報処理装置は複数のLANに対してサービスを提供することが求められ、ひとつの情報処理装置に複数のネットワークインタフェースを搭載したものが製造されている。   With the complexity of security and functionality required for networks, it has become common to use multiple local area networks (LANs) in offices and commercial facilities. Information processing apparatuses to be used are required to provide services to a plurality of LANs, and one information processing apparatus having a plurality of network interfaces is manufactured.

これに伴って、複数のネットワークインタフェースからネットワークアクセスを受け付けるケースが存在し、特定の判定処理によってそれぞれのネットワークインタフェースを使用して通信することが行われている(例えば特許文献1)。LANの種類としては、有線LAN、無線LANインフラストラクチャモード、無線LANアクセスポイントモードが存在する。   Along with this, there are cases in which network access is received from a plurality of network interfaces, and communication is performed using each network interface by a specific determination process (for example, Patent Document 1). There are wired LAN, wireless LAN infrastructure mode, and wireless LAN access point mode as LAN types.

装置が持つそれぞれのLANインタフェースには、一般的にそれぞれ異なるサブネットに従ったIPアドレスが設定されており、それぞれのサブネットに属する端末へ各種要求を行ったり、端末からの応答を受信して処理したりする。   Each LAN interface of a device is generally assigned an IP address according to a different subnet. Various requests are made to terminals belonging to each subnet, and responses from terminals are received and processed. Or

ネットワーク構成によっては、それぞれのサブネットにはルーターのようなゲートウェイが存在し、上記のサブネットとは異なるサブネットに属する端末と装置の間でゲートウェイを介した通信を行うケースもある。   Depending on the network configuration, there is a gateway such as a router in each subnet, and there may be a case where communication via a gateway is performed between a terminal and a device belonging to a subnet different from the above subnet.

このゲートウェイに関して、一般的に装置毎でデフォルトゲートウェイの設定が存在し、通信先端末が装置と異なるサブネットの場合に設定済のデフォルトゲートウェイのIPアドレスに対して要求を行うことで、実際の通信先端末との通信を成立させている。デフォルトゲートウェイは、一般的にネットワークインタフェースの接続数に限らず1つである。したがって、複数のネットワークインタフェースをLANに接続している場合において、装置と異なるサブネットに対して通信を行う運用を行う場合にはいずれか1つのLAN内におけるゲートウェイをデフォルトゲートウェイとして設定する必要がある。   For this gateway, there is generally a default gateway setting for each device, and when the communication destination terminal is in a different subnet from the device, a request is made to the IP address of the default gateway that has been set, so that the actual communication destination Communication with the terminal is established. The default gateway is generally one, not limited to the number of network interface connections. Therefore, when a plurality of network interfaces are connected to a LAN, when performing an operation for communicating with a subnet different from the apparatus, it is necessary to set a gateway in any one LAN as a default gateway.

特許第4720520号Japanese Patent No. 4720520

装置の運用方法、運用方針の例としては、インターネット接続を行うためのLANに接続しているインタフェースのゲートウェイをデフォルトゲートウェイとして設定するケースがある。別の運用方針として、情報漏洩等の問題を防ぐためにセキュリティ目的としてインターネット等の外部ネットワークとの通信を拒否し、装置と同じサブネット内での通信のみ行いたいケースを想定する。このようなLANに接続している装置のインタフェースには一般的にデフォルトゲートウェイ設定を行わない。   As an example of the operation method and operation policy of the apparatus, there is a case where the gateway of the interface connected to the LAN for performing the Internet connection is set as the default gateway. As another operational policy, a case is assumed in which communication with an external network such as the Internet is rejected as a security purpose in order to prevent problems such as information leakage, and only communication within the same subnet as the apparatus is performed. Generally, the default gateway is not set for the interface of the device connected to such a LAN.

しかしながら、装置と同じサブネットに属している他の端末の運用の都合等でLAN上にゲートウェイが存在し、これを経由して他のサブネットと接続可能なネットワーク構成になっている場合があり得る。このような場合、装置の運用方針としては同一サブネット内のみでの通信に限定させたくてもネットワークプロトコルの種類によっては通信要求がゲートウェイを越えて異なるサブネットとの間で通信を行ってしまうケースがある。具体的には、UDPマルチキャスト通信を使用した装置からの送信や、装置の属するサブネット外端末側から装置に対してのTCP/IP通信(UDP通信を含む)があげられる。   However, there may be a network configuration in which a gateway exists on the LAN for connection of other terminals belonging to the same subnet as the apparatus and can be connected to another subnet via the gateway. In such a case, the device operation policy may limit communication to only within the same subnet, but depending on the type of network protocol, the communication request may communicate with a different subnet across the gateway. is there. Specifically, transmission from a device using UDP multicast communication and TCP / IP communication (including UDP communication) from the terminal outside the subnet to which the device belongs to the device can be mentioned.

本発明では、デフォルトゲートウェイが設定されているサブネットを含む複数のサブネットに本装置が接続されていても、該本装置が属するサブネット内のみの通信に限定するための技術を提供する。   The present invention provides a technique for limiting communication only within a subnet to which the present apparatus belongs even if the present apparatus is connected to a plurality of subnets including a subnet in which a default gateway is set.

本発明の一様態は、複数の通信デバイスを有する情報処理装置であって、前記複数の通信デバイスのうちデフォルトゲートウェイが設定されていないサブネットに対応する第1の通信デバイスが送信するパケットとして、前記情報処理装置が属するサブネットの外には送信されないパケットを生成し、該生成したパケットを前記第1の通信デバイスを用いて送信する制御手段を備えることを特徴とする。   One aspect of the present invention is an information processing apparatus having a plurality of communication devices, wherein a packet transmitted by a first communication device corresponding to a subnet in which a default gateway is not set among the plurality of communication devices, Control means for generating a packet that is not transmitted outside the subnet to which the information processing apparatus belongs, and transmitting the generated packet using the first communication device.

本発明の構成によれば、デフォルトゲートウェイが設定されているサブネットを含む複数のサブネットに本装置が接続されていても、該本装置が属するサブネット内のみの通信に限定することができる。   According to the configuration of the present invention, even if the present apparatus is connected to a plurality of subnets including a subnet in which a default gateway is set, the communication can be limited to communication within the subnet to which the present apparatus belongs.

システムの構成例を示すブロック図。The block diagram which shows the structural example of a system. コントローラ部101のハードウェア構成例を示すブロック図。FIG. 2 is a block diagram illustrating an example of a hardware configuration of a controller unit 101. CPU201が実行するソフトウェアの機能構成例を示すブロック図。The block diagram which shows the function structural example of the software which CPU201 performs. IP通信プロトコルパケットの一部の構成例を示す図。The figure which shows the structural example of a part of IP communication protocol packet. MFP100が行う動作のフローチャート。6 is a flowchart of operations performed by the MFP 100. 操作部102が有する表示画面における表示例を示す図。FIG. 10 is a diagram showing a display example on a display screen included in the operation unit 102. MFP100の動作のフローチャート。10 is a flowchart of the operation of the MFP 100.

以下、添付図面を参照し、本発明の実施形態について説明する。なお、以下説明する実施形態は、本発明を具体的に実施した場合の一例を示すもので、特許請求の範囲に記載した構成の具体的な実施形態の1つである。   Embodiments of the present invention will be described below with reference to the accompanying drawings. The embodiment described below shows an example when the present invention is specifically implemented, and is one of the specific embodiments having the configurations described in the claims.

[第1の実施形態]
本実施形態では情報処理装置の一例である複合機(MFP:MultiFunction Peripheral)を例にとり説明する。しかし、情報処理装置はMFP以外の機器であっても良く、以下の説明はMFP以外の機器であっても同様に適用することができる。先ず、MFPを含む本実施形態に係るシステムの構成例について、図1のブロック図を用いて説明する。
[First Embodiment]
In the present embodiment, a multi function peripheral (MFP) that is an example of an information processing apparatus will be described as an example. However, the information processing apparatus may be a device other than the MFP, and the following description can be similarly applied to a device other than the MFP. First, a configuration example of a system according to this embodiment including an MFP will be described with reference to the block diagram of FIG.

MFP100は、LAN(Local Area Network)110を介してPC(Personal Computer)111及びゲートウェイ130と通信可能に接続されている。つまり、MFP100、PC111、ゲートウェイ130は、LAN110上で同一のサブネットに属していることになる。ゲートウェイ130は、LAN140を介してPC141に接続されている。つまり、ゲートウェイ130、PC141は、LAN140上で同一のサブネットに属していることになる。   The MFP 100 is communicably connected to a PC (Personal Computer) 111 and a gateway 130 via a LAN (Local Area Network) 110. That is, the MFP 100, the PC 111, and the gateway 130 belong to the same subnet on the LAN 110. The gateway 130 is connected to the PC 141 via the LAN 140. That is, the gateway 130 and the PC 141 belong to the same subnet on the LAN 140.

またMFP100は、LAN120を介してPC121及びゲートウェイ150と通信可能に接続されている。つまり、MFP100、PC121、ゲートウェイ150は、LAN120上で同一のサブネットに属していることになる。ゲートウェイ150は、LAN160を介してPC161と接続されている。つまり、ゲートウェイ150、PC161は、LAN160上で同一のサブネットに属していることになる。   The MFP 100 is communicably connected to the PC 121 and the gateway 150 via the LAN 120. That is, the MFP 100, the PC 121, and the gateway 150 belong to the same subnet on the LAN 120. The gateway 150 is connected to the PC 161 via the LAN 160. That is, the gateway 150 and the PC 161 belong to the same subnet on the LAN 160.

このように、MFP100は、LAN110に対応するサブネットと、LAN120に対応するサブネットと、の2つのサブネットに属していることになる。LAN110及びLAN120のそれぞれは有線LANであっても良いし、無線LANであっても良い。後者の場合、MFP100内の無線インタフェースがアクセスポイントを経由してそれぞれのLANに接続することになる。   As described above, the MFP 100 belongs to two subnets, that is, the subnet corresponding to the LAN 110 and the subnet corresponding to the LAN 120. Each of the LAN 110 and the LAN 120 may be a wired LAN or a wireless LAN. In the latter case, the wireless interface in the MFP 100 connects to each LAN via an access point.

次にMFP100の構成例について説明する。操作部102は、ユーザが各種の指示をMFP100に入力するために使用するものであり、ボタン群や表示画面(例えば、タッチパネル画面)を有する。プリンタ部103は、外部から受信したプリントジョブやスキャナ部104から出力された電子データに基づいて紙などの印刷媒体に画像や文字を記録(形成)する。スキャナ部104は、紙などの印刷媒体に記録されている画像や文字を読み取り、該読み取りの結果を電子データとして出力する。コントローラ部101は、上記の操作部102、プリンタ部103、スキャナ部104を含むMFP100全体の動作制御を行うと共に、後述する各種のデータ通信を制御する。電源部105は、上記のコントローラ部101、操作部102、プリンタ部103、スキャナ部104を含めたMFP100全体に対して電力を供給する。   Next, a configuration example of the MFP 100 will be described. The operation unit 102 is used by a user to input various instructions to the MFP 100, and includes a button group and a display screen (for example, a touch panel screen). The printer unit 103 records (forms) an image or a character on a printing medium such as paper based on a print job received from the outside or electronic data output from the scanner unit 104. The scanner unit 104 reads an image or a character recorded on a print medium such as paper, and outputs the read result as electronic data. The controller unit 101 controls the operation of the entire MFP 100 including the operation unit 102, the printer unit 103, and the scanner unit 104, and controls various data communication described below. The power supply unit 105 supplies power to the entire MFP 100 including the controller unit 101, the operation unit 102, the printer unit 103, and the scanner unit 104.

次に、PC111,121,141,161について説明する。PC111は、LAN110を介してMFP100との間でデータ通信を行うことができ、例えば、LAN110を介してMFP100に対してプリントジョブを送信したり、MFP100からの各種通知を受信したりする。同様にPC121は、LAN120を介してMFP100との間でデータ通信を行うことができ、例えば、LAN120を介してMFP100に対してプリントジョブを送信したり、MFP100からの各種通知を受信したりする。PC141が接続されているLAN140とMFP100が接続されているLAN110とはゲートウェイ130を介して接続されていることから、PC141はゲートウェイ130を介してMFP100との間のデータ通信を行う。同様に、PC161が接続されているLAN160とMFP100が接続されているLAN120とはゲートウェイ150を介して接続されていることから、PC161はゲートウェイ150を介してMFP100との間のデータ通信を行う。   Next, the PCs 111, 121, 141, 161 will be described. The PC 111 can perform data communication with the MFP 100 via the LAN 110. For example, the PC 111 transmits a print job to the MFP 100 via the LAN 110 and receives various notifications from the MFP 100. Similarly, the PC 121 can perform data communication with the MFP 100 via the LAN 120. For example, the PC 121 transmits a print job to the MFP 100 via the LAN 120 and receives various notifications from the MFP 100. Since the LAN 140 to which the PC 141 is connected and the LAN 110 to which the MFP 100 is connected are connected via the gateway 130, the PC 141 performs data communication with the MFP 100 via the gateway 130. Similarly, since the LAN 160 to which the PC 161 is connected and the LAN 120 to which the MFP 100 is connected are connected via the gateway 150, the PC 161 performs data communication with the MFP 100 via the gateway 150.

PC111,121,141,161は、LAN上の機器との間のデータ通信が可能な機器の一例であり、スマートフォン、タブレット型端末装置などの様々な機器を適用することができる。   The PCs 111, 121, 141, and 161 are examples of devices capable of data communication with devices on a LAN, and various devices such as smartphones and tablet terminal devices can be applied.

次に、コントローラ部101のハードウェア構成例について、図2のブロック図を用いて説明する。   Next, a hardware configuration example of the controller unit 101 will be described with reference to the block diagram of FIG.

CPU201は、DRAM202に格納されているコンピュータプログラムやデータを用いて各種の処理を実行する。これによりCPU201は、MFP100全体の動作制御を行うと共に、MFP100が行うものとして後述する各処理を実行若しくは制御する。   The CPU 201 executes various processes using computer programs and data stored in the DRAM 202. As a result, the CPU 201 controls the operation of the entire MFP 100 and executes or controls each process described later as what the MFP 100 performs.

DRAM202は、HDD(HardDiskDrive)204からロードされたコンピュータプログラムやデータ、LANデバイス209やLANデバイス210が外部から受信したデータ、を格納するためのエリアを有する。更にDRAM202は、スキャナ部104が画像や文字を読み取ることで生成した電子データを格納するためのエリアを有する。更にDRAM202は、CPU201が各種の処理を実行する際に用いるワークエリアを有する。このようにDRAM202は、各種のエリアを適宜提供することができる。   The DRAM 202 has an area for storing computer programs and data loaded from an HDD (Hard Disk Drive) 204 and data received by the LAN device 209 and the LAN device 210 from the outside. Further, the DRAM 202 has an area for storing electronic data generated by the scanner unit 104 reading images and characters. Furthermore, the DRAM 202 has a work area used when the CPU 201 executes various processes. Thus, the DRAM 202 can provide various areas as appropriate.

SATA(Serial Advanced Technology Attachment) I/F203にはHDD204が接続されている。CPU201は、SATA I/F203を介してHDD204からコンピュータプログラムやデータを読み出したり、SATA I/F203を介してHDD204に対してコンピュータプログラムやデータを書き込む。   An HDD 204 is connected to a SATA (Serial Advanced Technology Attachment) I / F 203. The CPU 201 reads computer programs and data from the HDD 204 via the SATA I / F 203 and writes computer programs and data to the HDD 204 via the SATA I / F 203.

HDD204には、OS(オペレーティングシステム)、MFP100が行うものとして後述する各処理をCPU201に実行若しくは制御させるためのコンピュータプログラムやデータ、以下の説明において既知の情報として取り扱うもの、が保存されている。また、DRAM202に格納されるものとして説明したコンピュータプログラムやデータの一部若しくは全部をHDD204に保存しても良い。HDD204に保存されているコンピュータプログラムやデータは、CPU201による制御に従って適宜DRAM202にロードされ、CPU201による処理対象となる。   The HDD 204 stores an OS (Operating System), computer programs and data for causing the CPU 201 to execute or control each process described later as what the MFP 100 performs, and what is handled as known information in the following description. Further, part or all of the computer program and data described as being stored in the DRAM 202 may be stored in the HDD 204. Computer programs and data stored in the HDD 204 are appropriately loaded into the DRAM 202 under the control of the CPU 201 and are processed by the CPU 201.

パネルI/F205は上記の操作部102に対するI/Fであり、CPU201はパネルI/F205を介して操作部102が有する表示画面の表示制御を行うと共に、操作部102に対するユーザからの操作入力をパネルI/F205を介して取得する。   A panel I / F 205 is an I / F for the above-described operation unit 102, and the CPU 201 performs display control of a display screen included in the operation unit 102 via the panel I / F 205, and inputs an operation input from the user to the operation unit 102. Obtained via the panel I / F 205.

プリンタI/F206は上記のプリンタ部103に対するI/Fであり、CPU201は、プリンタI/F206を介してプリンタ部103に対してプリントジョブや上記の電子データを出力することでプリンタ部103に対して印刷指示を行う。   A printer I / F 206 is an I / F for the printer unit 103, and the CPU 201 outputs a print job and the electronic data to the printer unit 103 via the printer I / F 206, thereby outputting to the printer unit 103. Print instructions.

スキャナI/F207は上記のスキャナ部104に対するI/Fであり、CPU201は、スキャナ部104が画像や文字を読み取ることで生成した電子データをスキャナI/F207を介してDRAM202やHDD204に格納する。   A scanner I / F 207 is an I / F for the scanner unit 104 described above, and the CPU 201 stores electronic data generated by the scanner unit 104 reading an image or a character in the DRAM 202 or the HDD 204 via the scanner I / F 207.

ネットワークI/F208にはネットワークインターフェース(通信デバイス)の一例であるLANデバイス209及びLANデバイス210が接続されている。CPU201は、ネットワークI/F208を介してLANデバイス210を制御することで、LAN110上の機器との間のデータ通信を実現する。またCPU201は、ネットワークI/F208を介してLANデバイス209を制御することで、LAN120上の機器との間のデータ通信を実現する。LANデバイス209及びLANデバイス210は無線LANデバイスであっても良い。   A LAN device 209 and a LAN device 210, which are examples of network interfaces (communication devices), are connected to the network I / F 208. The CPU 201 realizes data communication with devices on the LAN 110 by controlling the LAN device 210 via the network I / F 208. Further, the CPU 201 controls the LAN device 209 via the network I / F 208 to realize data communication with devices on the LAN 120. The LAN device 209 and the LAN device 210 may be wireless LAN devices.

上記の構成においてMFP100がコピー機能を実現する場合、CPU201はSATA I/F203を介してHDD204からコピー機能用のコンピュータプログラムやデータをDRAM202にロードする。そしてCPU201は、該ロードしたコピー機能用のコンピュータプログラムやデータを用いて処理を実行することで、以下に説明するコピー機能を実現する。   When the MFP 100 realizes a copy function in the above configuration, the CPU 201 loads a computer program or data for the copy function from the HDD 204 to the DRAM 202 via the SATA I / F 203. The CPU 201 implements a copy function described below by executing processing using the loaded computer program and data for the copy function.

CPU201は、操作部102に対するユーザからのコピー指示をパネルI/F205を介して検知すると、スキャナ部104を制御し、紙などの印刷媒体に記録されている画像や文字を電子データとして読み取らせる。そしてCPU201は、該電子データをスキャナI/F207を介して取得し、該取得した電子データをDRAM202に格納する。そしてCPU201は、DRAM202に格納した電子データが表す画像(読み取り画像)に対して出力に適した色変換処理等の各種の画像処理を施す。そしてCPU201は、該画像処理済みの読み取り画像のデータをプリンタI/F206を介してプリンタ部103に対して出力することで、該画像処理済みの読み取り画像のデータに基づく印刷をプリンタ部103に指示する。   When the CPU 201 detects a copy instruction from the user to the operation unit 102 via the panel I / F 205, the CPU 201 controls the scanner unit 104 to read an image or a character recorded on a print medium such as paper as electronic data. Then, the CPU 201 acquires the electronic data via the scanner I / F 207 and stores the acquired electronic data in the DRAM 202. The CPU 201 performs various types of image processing such as color conversion processing suitable for output on the image (read image) represented by the electronic data stored in the DRAM 202. Then, the CPU 201 outputs the image-processed read image data to the printer unit 103 via the printer I / F 206 to instruct the printer unit 103 to perform printing based on the image-processed read image data. To do.

また、MFP100がPDL印刷機能を実現する場合、CPU201はSATA I/F203を介してHDD204からPDL印刷用のコンピュータプログラムやデータをDRAM202にロードする。そしてCPU201は、該ロードしたPDL印刷用のコンピュータプログラムやデータを用いて処理を実行することで、以下に説明するPDL印刷機能を実現する。ここでは一例としてPC111からLAN110を介してPDLの印刷指示が送信されるケースについて説明する。   When the MFP 100 implements the PDL printing function, the CPU 201 loads a computer program and data for PDL printing from the HDD 204 to the DRAM 202 via the SATA I / F 203. The CPU 201 implements a PDL printing function described below by executing processing using the loaded computer program and data for PDL printing. Here, a case where a PDL print instruction is transmitted from the PC 111 via the LAN 110 will be described as an example.

先ずCPU201は、外部からのPDL送信指示を待機する。PC111からPDL送信指示がLAN110を介して送信された場合、LAN110に対応するLANデバイス210が該PDL送信指示を受信することになる。仮にPC121がPDL送信指示を送信した場合、PC121が接続されているLAN120に対応するLANデバイス209が該PDL送信指示を受信することになる。CPU201は、LANデバイス210が受信したPDL送信指示をネットワークI/F208を介して取得すると、LANデバイス210を制御し、該PDL送信指示に続いてPC111から送信されるPDL印刷データを受信する。そしてCPU201は、LANデバイス210が受信したPDL印刷データをネットワークI/F208を介して取得し、該取得したPDL印刷データをSATA I/F203を介してHDD204に保存する。CPU201は、HDD204へのPDL印刷データの保存が完了すると、該PDL印刷データを画像としてDRAM202内に展開し、該展開した画像に対して出力に適した色変換処理等の各種の画像処理を施す。そしてCPU201は、該画像処理済みの画像のデータをプリンタI/F206を介してプリンタ部103に対して出力することで、該画像処理済みの画像データに基づく印刷をプリンタ部103に指示する。   First, the CPU 201 waits for an external PDL transmission instruction. When a PDL transmission instruction is transmitted from the PC 111 via the LAN 110, the LAN device 210 corresponding to the LAN 110 receives the PDL transmission instruction. If the PC 121 transmits a PDL transmission instruction, the LAN device 209 corresponding to the LAN 120 to which the PC 121 is connected receives the PDL transmission instruction. When the CPU 201 acquires the PDL transmission instruction received by the LAN device 210 via the network I / F 208, the CPU 201 controls the LAN device 210 and receives the PDL print data transmitted from the PC 111 following the PDL transmission instruction. The CPU 201 acquires the PDL print data received by the LAN device 210 via the network I / F 208 and stores the acquired PDL print data in the HDD 204 via the SATA I / F 203. When the storage of the PDL print data in the HDD 204 is completed, the CPU 201 expands the PDL print data as an image in the DRAM 202, and performs various image processing such as color conversion processing suitable for output on the expanded image. . Then, the CPU 201 outputs the image processed image data to the printer unit 103 via the printer I / F 206 to instruct the printer unit 103 to perform printing based on the image processed image data.

電源管理部211は、上記のCPU201、DRAM202、SATA I/F203、HDD204、パネルI/F205、プリンタI/F206、スキャナI/F207、ネットワークI/F208、LANデバイス209、210の通電状態を管理する。このため、電源管理部211はこれらの機能部に対する通電を制御するための配電経路によって各機能部と接続している。電源管理部211はまた、上記の通電状態の管理のために電源部105を制御する。   The power management unit 211 manages the energization state of the CPU 201, DRAM 202, SATA I / F 203, HDD 204, panel I / F 205, printer I / F 206, scanner I / F 207, network I / F 208, and LAN devices 209 and 210. . For this reason, the power supply management part 211 is connected with each function part by the power distribution path | route for controlling electricity supply with respect to these function parts. The power management unit 211 also controls the power supply unit 105 for managing the energized state.

次に、CPU201によって実行されるコンピュータプログラム(ソフトウェア)の機能構成例について、図3のブロック図を用いて説明する。以下では、図3に示す各機能部を処理の主体として説明する場合があるが、実際には、CPU201が該機能部に対応するコンピュータプログラムを実行することで該機能部の機能が実現される。図3に示すコンピュータプログラムはHDD204に保存されており、必要に応じてCPU201によってDRAM202にロードされ、CPU201による処理対象となる。   Next, a functional configuration example of a computer program (software) executed by the CPU 201 will be described with reference to the block diagram of FIG. In the following description, each functional unit shown in FIG. 3 may be described as the subject of processing, but actually, the function of the functional unit is realized by the CPU 201 executing a computer program corresponding to the functional unit. . The computer program shown in FIG. 3 is stored in the HDD 204, and is loaded into the DRAM 202 by the CPU 201 as necessary, and is processed by the CPU 201.

通信制御部302は、LANデバイス209やLANデバイス210によるデータ通信を制御するものであり、一般にTCP/IPのプロトコルスタックの役割を担うものである。   The communication control unit 302 controls data communication by the LAN device 209 and the LAN device 210, and generally plays a role of a TCP / IP protocol stack.

処理部303は、PC111、121やゲートウェイ130、150との間で特定のネットワーク通信プロトコルを使用した通信セッションを管理したり、データグラム通信を行ったりする。具体的な通信プロトコルの例としては、LPD、IPP、RAW、WSDプリントのような印刷処理を行うものやSLP、LLMNR、WSD−Helloのような特定の情報を通知したり装置を検索したりするようなものがあげられる。   The processing unit 303 manages a communication session using a specific network communication protocol and performs datagram communication with the PCs 111 and 121 and the gateways 130 and 150. Specific examples of communication protocols include those that perform print processing such as LPD, IPP, RAW, and WSD printing, and specific information such as SLP, LLMNR, and WSD-Hello, and search for devices. Something like that.

通信制御部302は、LANデバイス209がLAN120を介してPC121から受け付けた要求や、LANデバイス210がLAN110を介してPC111から受け付けた要求を、ネットワークI/F208を介して取得する。処理部303は、通信制御部302が取得した要求毎の処理を、他の各機能部と連携して行う。そして処理部303は、通信制御部302を制御して、該処理の結果を要求の送信元に対して返信する。   The communication control unit 302 acquires the request received by the LAN device 209 from the PC 121 via the LAN 120 and the request received by the LAN device 210 from the PC 111 via the LAN 110 via the network I / F 208. The processing unit 303 performs processing for each request acquired by the communication control unit 302 in cooperation with other function units. Then, the processing unit 303 controls the communication control unit 302 and returns the result of the processing to the request source.

処理部303はまた、通信制御部302を制御して、PC111、121やゲートウェイ130、150に対してMFP100の現在の運用状態やホスト名等の各種情報を通知する。処理部303はさらに、MFP100の周辺ネットワークに接続している機器のうち特定機器への通信を開始するために対象の機器を検索したりする。   The processing unit 303 also controls the communication control unit 302 to notify the PCs 111 and 121 and the gateways 130 and 150 of various information such as the current operating state of the MFP 100 and the host name. Further, processing unit 303 searches for a target device in order to start communication with a specific device among devices connected to the peripheral network of MFP 100.

操作処理部304は、操作部102に対するユーザからの操作入力を受け付け、該受け付けた操作入力を他の機能部に通知したり、該操作入力に応じて操作部102が有する表示画面の表示制御を行う。   The operation processing unit 304 receives an operation input from the user for the operation unit 102, notifies the received operation input to other function units, and performs display control of a display screen included in the operation unit 102 according to the operation input. Do.

印刷処理部305は、プリンタI/F206を介してプリンタ部103の動作制御を行う。また印刷処理部305は、スキャナI/F207を介してスキャナ部104の動作制御を行う。例えば、コピー機能を実行する場合、印刷処理部305は、ユーザが操作部102を操作して入力したコピー指示をパネルI/F205を介して検知すると、スキャナ部104を制御して該スキャナ部104に設置されている原稿の読み取り動作を行わせる。そして印刷処理部305は、該読み取り動作により得られるスキャン画像をスキャナI/F207を介して取得し、該スキャン画像を印刷に適した形式に変換し、プリンタI/F206を介してプリンタ部103に出力する。   A print processing unit 305 controls the operation of the printer unit 103 via the printer I / F 206. The print processing unit 305 controls the operation of the scanner unit 104 via the scanner I / F 207. For example, when executing the copy function, the print processing unit 305 controls the scanner unit 104 to detect the copy instruction input by the user operating the operation unit 102 via the panel I / F 205. The scanning operation of the original placed on the is performed. The print processing unit 305 acquires the scanned image obtained by the reading operation via the scanner I / F 207, converts the scanned image into a format suitable for printing, and transmits the scanned image to the printer unit 103 via the printer I / F 206. Output.

電源制御部306は、MFP100の電源状態を管理し、省電力モードを含めたMFP100の運用状態を管理する。電源制御部306は、MFP100における各種の条件に応じて、MFP100を「使用電力を低減させるスリープモード」に遷移させたり、スリープモードから通常運用モードへ遷移させたりする。   The power control unit 306 manages the power state of the MFP 100 and manages the operation state of the MFP 100 including the power saving mode. The power control unit 306 changes the MFP 100 to “sleep mode for reducing power consumption” or changes from the sleep mode to the normal operation mode according to various conditions in the MFP 100.

電源制御部306がMFP100をスリープモードに遷移させる条件の例としては、MFP100がコピー、印刷、スキャン等の動作を実行していない期間の長さが一定時間以上となった場合がある。また、他の例としては、操作部102や外部の機器からの入力がない期間の長さが一定時間以上となった場合、がある。ここで、外部の機器からの入力がない状態とは、例えば、PC111(PC121)からLAN110(LAN120)を介してMFP100に入力(例えば印刷指示)が行われていない状態を指す。電源制御部306は、MFP100をスリープモードに遷移させる上記の条件が満たされたと判断した場合、印刷処理部305や処理部303にスリープモードに遷移可能であるか否かの問い合わせを行う。印刷処理部305や処理部303は、この問い合わせに対して、現在アイドル状態であるのか、実行中の処理を中断しても問題ない状態であるのか、等を判断し、該判断の結果に基づいて、スリープモードに遷移可能であるか否かを電源制御部306に応答する。電源制御部306は、印刷処理部305や処理部303からスリープモードに遷移可能である旨の応答を受けたことに応じて、MFP100をスリープモードに遷移するように電源管理部211を制御する。   As an example of a condition for causing the power supply control unit 306 to cause the MFP 100 to transition to the sleep mode, there is a case where the length of the period in which the MFP 100 is not executing operations such as copying, printing, and scanning is equal to or longer than a certain time. As another example, there is a case where the length of a period when there is no input from the operation unit 102 or an external device becomes a certain time or more. Here, the state in which there is no input from an external device refers to a state in which no input (for example, a print instruction) is performed from the PC 111 (PC 121) to the MFP 100 via the LAN 110 (LAN 120). When the power supply control unit 306 determines that the above-described condition for causing the MFP 100 to transition to the sleep mode is satisfied, the power supply control unit 306 inquires of the print processing unit 305 and the processing unit 303 whether the transition to the sleep mode is possible. In response to this inquiry, the print processing unit 305 and the processing unit 303 determine whether the current processing is in an idle state or a state in which it is possible to interrupt the processing being executed, and based on the result of the determination. Then, it responds to the power supply control unit 306 as to whether or not it is possible to transition to the sleep mode. The power control unit 306 controls the power management unit 211 to shift the MFP 100 to the sleep mode in response to receiving a response indicating that the print processing unit 305 or the processing unit 303 can transition to the sleep mode.

一方、電源制御部306がスリープモードにおけるMFP100を通常運用モードに遷移させる条件の例としては、MFP100に対して操作部102からコピー、スキャン等を目的とした何らかの指示入力があった場合があげられる。また、他の例としては、PC111(PC121)からLAN110(LAN120)を介してMFP100に入力(例えば印刷指示)が行われた場合、がある。MFP100がスリープモード中にPC111(PC121)からLAN110(LAN120)を介して入力があったことを検知するためには、少なくともLANデバイス209やLANデバイス210に対して電源管理部211からスリープモード中であっても通電されていることが前提となる。例えば、PC111からの入力を検知するためには、LANデバイス210が通電されている必要があり、PC121からの入力を検知するためには、LANデバイス209が通電されている必要がある。LANデバイスからのスリープモードのみが必要で、LANデバイス以外の通電が不要である場合、それ以外のブロックへの通電は不要である。このような場合、電源制御部306は、通常運用モードからスリープモードへの遷移時に例えば操作部102、プリンタ部103、スキャナ部104、CPU201、DRAM202、HDD204に対しては通電を中断するように電源管理部211に指示を行う。   On the other hand, as an example of a condition for causing the power supply control unit 306 to transition the MFP 100 in the sleep mode to the normal operation mode, a case where an instruction input for the purpose of copying, scanning, or the like is given to the MFP 100 from the operation unit 102. . As another example, there is a case where an input (for example, a print instruction) is performed from the PC 111 (PC 121) to the MFP 100 via the LAN 110 (LAN 120). In order to detect that the input from the PC 111 (PC 121) via the LAN 110 (LAN 120) is performed while the MFP 100 is in the sleep mode, at least the LAN device 209 and the LAN device 210 are in the sleep mode from the power management unit 211. Even if there is, it is premised on that it is energized. For example, the LAN device 210 needs to be energized to detect input from the PC 111, and the LAN device 209 needs to be energized to detect input from the PC 121. When only the sleep mode from the LAN device is necessary and energization other than the LAN device is not necessary, energization to other blocks is not necessary. In such a case, the power supply control unit 306 may be configured to interrupt power supply to the operation unit 102, the printer unit 103, the scanner unit 104, the CPU 201, the DRAM 202, and the HDD 204 at the time of transition from the normal operation mode to the sleep mode. The management unit 211 is instructed.

USBデバイスからのスリープモード復帰等、LANデバイスからのスリープモード復帰以外のケースや、ハードウェアの構成によってはスリープモードであっても必要に応じてCPU201、DRAM202を含めた関連ブロックへの通電が必要となる。CPU201やDRAM202への通電が中断することはコントローラ部101へのほとんどの通電が中断することと同義であり、これによって図3のコンピュータプログラムが処理を中断することになる。ただしスリープモード中であってもPC111やPC121からの入力を受信するために必要なLANデバイス209やLANデバイス210においては通電を継続させるために電源制御部306が電源管理部211に指示を行う。   In cases other than the sleep mode recovery from the LAN device such as the sleep mode recovery from the USB device, or depending on the hardware configuration, it is necessary to energize the related blocks including the CPU 201 and the DRAM 202 as necessary even in the sleep mode. It becomes. Interruption of energization to the CPU 201 and the DRAM 202 is synonymous with interruption of most energization to the controller unit 101, thereby interrupting the processing of the computer program of FIG. 3. However, even in the sleep mode, the power supply control unit 306 instructs the power supply management unit 211 to continue energization in the LAN device 209 and the LAN device 210 that are necessary for receiving input from the PC 111 and PC 121.

実際にPC111やPC121が入力として印刷要求をMFP100に送信した場合、LANデバイス209やLANデバイス210は受信した要求が何の要求であるのかを判断する。PC111やPC121から受信した要求が印刷要求であると判断すれば、LANデバイス209やLANデバイス210は電源管理部211に対して通電の復帰を指示する。電源管理部211は指示された内容を電源制御部306に通知し、電源制御部306は、CPU201、DRAM202、HDD204、プリンタ部103への通電を開始する制御を行う。通電開始後は図3のコンピュータプログラムの動作が再開される。この時にLANデバイス209やLANデバイス210はPC111やPC121からの要求をネットワークI/F208を介して通信制御部302に送出する。これによって印刷要求をスリープモードから通常運用モードへの遷移を行いながら処理することが可能である。   When the PC 111 or PC 121 actually transmits a print request as an input to the MFP 100, the LAN device 209 or the LAN device 210 determines what request the received request is. If it is determined that the request received from the PC 111 or the PC 121 is a print request, the LAN device 209 or the LAN device 210 instructs the power management unit 211 to restore energization. The power management unit 211 notifies the power control unit 306 of the instructed content, and the power control unit 306 performs control to start energization of the CPU 201, DRAM 202, HDD 204, and printer unit 103. After the start of energization, the operation of the computer program in FIG. 3 is resumed. At this time, the LAN device 209 or the LAN device 210 sends a request from the PC 111 or PC 121 to the communication control unit 302 via the network I / F 208. This makes it possible to process a print request while making a transition from the sleep mode to the normal operation mode.

上記の如く、モードの遷移によって変わっていくMFP100の運用状態の変更毎に電源制御部306は処理部303へその運用状態を通知する。この通知を受けた処理部303は、SLP等の通信プロトコルを使用し、LANデバイス209やLANデバイス210を介して運用状態をマルチキャスト通信で周辺ネットワークの各装置へ通知する。   As described above, the power supply control unit 306 notifies the processing unit 303 of the operation state every time the operation state of the MFP 100 changes due to the mode transition. Receiving this notification, the processing unit 303 uses a communication protocol such as SLP to notify each device in the peripheral network of the operation state via multicast communication via the LAN device 209 or the LAN device 210.

設定管理部307は、MFP100のコンフィグレーションのための各種設定情報をHDD204にて管理する。ネットワークI/F208を介してLANデバイス209やLANデバイス210に対して設定されるIPアドレス、サブネットマスク、デフォルトゲートウェイ、等の設定情報についても設定管理部307がHDD204において管理する。電源制御部306がスリープモードに遷移するか否かを決定する際にはあらかじめ設定管理部307からスリープモードに関連する各種設定を取得し、その設定に伴って動作する。   A setting management unit 307 manages various setting information for configuring the MFP 100 in the HDD 204. The setting management unit 307 also manages setting information such as an IP address, a subnet mask, and a default gateway set for the LAN device 209 and the LAN device 210 via the network I / F 208 in the HDD 204. When the power control unit 306 determines whether or not to transition to the sleep mode, various settings related to the sleep mode are acquired from the setting management unit 307 in advance, and the operation is performed according to the settings.

本実施形態に係るシステムにおけるMFP100の1つの運用形態の例として、インターネットへの通信を含む、MFP100が属しているサブネットを越えた通信は、LAN110が属しているサブネットからゲートウェイ130を介して行うことを想定する。このようなケースの場合、MFP100はゲートウェイ130をデフォルトゲートウェイとすることで、LAN110が属するサブネットとLAN140が属するサブネットとの間の通信が可能となる。   As an example of one operation mode of the MFP 100 in the system according to the present embodiment, communication beyond the subnet to which the MFP 100 belongs, including communication to the Internet, is performed via the gateway 130 from the subnet to which the LAN 110 belongs. Is assumed. In such a case, the MFP 100 can perform communication between the subnet to which the LAN 110 belongs and the subnet to which the LAN 140 belongs by setting the gateway 130 as a default gateway.

これ対しMFP100はLAN120が属するサブネットにおいて、PC121からの印刷を含めた各種要求は受け付けるが、MFP100が属するサブネットとは異なるサブネットであるPC161からの要求を受け付けないような運用を行うことを想定する。合わせて、MFP100から通知する情報、特定端末の検索要求、をPC161側のサブネットに通知しないような運用を行うことを想定する。このようなケースの場合、MFP100からPC161へのユニキャスト通信においてはMFP100がLAN120側にARP送信を行わないため、PC161の通信ルートが特定できないことからPC161へ通信が行われることはない。具体的な理由として、PC161のIPアドレスとMFP100の全てのIPアドレスはサブネットが異なる。このため通信制御部302はLANデバイス209とLANデバイス210のどちら側に通信を開始すればいいか認識できない。このため通信制御部302は一般的なTCP/IPの通信方式に則り、ゲートウェイ130がデフォルトゲートウェイとして設定されているLAN110側に接続しているLANデバイス210に対し、PC161を検索するためのARP送信を行う。しかしながらPC161はゲートウェイ150を介したLAN160上に接続しているため、LAN110側のどの端末からもARP応答が行われない。これによってMFP100からPC161へのユニキャスト通信は回避可能である。しかしながらPC161がゲートウェイ150をデフォルトゲートウェイとして設定している場合、PC161からMFP100へのユニキャスト通信は行えてしまう。またMFP100がその運用状態やMFP100の各種情報を通知するためにLAN120側に対してマルチキャスト通信を行う場合、通信パケットの生成の仕方によってはゲートウェイ150を超える通信が可能となってしまう。この通信パケットの生成に関して図4の例を用いて説明する。   On the other hand, it is assumed that the MFP 100 accepts various requests including printing from the PC 121 in the subnet to which the LAN 120 belongs, but does not accept requests from the PC 161 which is a subnet different from the subnet to which the MFP 100 belongs. In addition, it is assumed that an operation is performed in which information notified from the MFP 100 and a search request for a specific terminal are not notified to the subnet on the PC 161 side. In such a case, in the unicast communication from the MFP 100 to the PC 161, since the MFP 100 does not perform ARP transmission to the LAN 120 side, communication cannot be performed to the PC 161 because the communication route of the PC 161 cannot be specified. As a specific reason, the subnet of the IP address of the PC 161 and all the IP addresses of the MFP 100 are different. For this reason, the communication control unit 302 cannot recognize which side of the LAN device 209 or the LAN device 210 should start communication. For this reason, the communication control unit 302 follows the general TCP / IP communication method, and sends an ARP for searching the PC 161 to the LAN device 210 connected to the LAN 110 side where the gateway 130 is set as the default gateway. I do. However, since the PC 161 is connected to the LAN 160 via the gateway 150, no ARP response is sent from any terminal on the LAN 110 side. As a result, unicast communication from the MFP 100 to the PC 161 can be avoided. However, when the PC 161 sets the gateway 150 as the default gateway, unicast communication from the PC 161 to the MFP 100 can be performed. Further, when the MFP 100 performs multicast communication to the LAN 120 side in order to notify the operation status and various information of the MFP 100, communication exceeding the gateway 150 becomes possible depending on how the communication packet is generated. The generation of the communication packet will be described with reference to the example of FIG.

図4は、一般的なTCP/IP通信プロトコルにおけるIP通信プロトコルパケットの一部の構成例を示す図である。ここでは一般的に代表的なブロック部分と本実施形態に関連するブロックについて説明する。   FIG. 4 is a diagram illustrating a configuration example of a part of an IP communication protocol packet in a general TCP / IP communication protocol. Here, typical block portions and blocks related to this embodiment will be described.

400はIPプロトコルヘッダを示している。401はIPプロトコルのバージョン(Version)を示す。一般的にバージョン401よりIPv4やIPv6プロトコルを識別可能である。402はIPプロトコルヘッダ400のヘッダ長(Header Length)を示す。403はIPプロトコルヘッダ400を含み、それ以降のパケットペイロード全体のデータ長(Total Data Length)を示す。404はパケットの生存期間(Time to Live:以下、TTLと称する場合がある)を示す。ここで言及する生存期間404の例として、ルーター等のゲートウェイをいくつ越えられるかのホップ数があげられる。405はパケットの上位プロトコル(Protocol)を示す。具体例としては、TCPやUDP、ICMP等があり、それらの識別が可能となるブロックである。406はパケットの送信元を示すIPアドレス(Source Address)を格納するフィールドである。407はパケットの送信先を示すIPアドレス(Destination Address)を格納するフィールドである。   Reference numeral 400 denotes an IP protocol header. 401 indicates the version (Version) of the IP protocol. Generally, IPv4 and IPv6 protocols can be identified from version 401. Reference numeral 402 denotes a header length (Header Length) of the IP protocol header 400. Reference numeral 403 includes an IP protocol header 400, and indicates the data length (Total Data Length) of the entire packet payload thereafter. Reference numeral 404 denotes a packet lifetime (Time to Live: hereinafter, sometimes referred to as TTL). An example of the lifetime 404 referred to here is the number of hops that can be exceeded over gateways such as routers. Reference numeral 405 denotes an upper protocol (Protocol) of the packet. Specific examples include TCP, UDP, ICMP, and the like, which are blocks that can be identified. A field 406 stores an IP address (Source Address) indicating a transmission source of the packet. A field 407 stores an IP address (Destination Address) indicating a transmission destination of the packet.

本実施形態では、MFP100がその運用状態やMFP100の各種情報を通知するためにMFP100が接続しているLAN110とLAN120に対してマルチキャスト通信を行う場合を想定する。MFP100がマルチキャスト通信で上記の通知を行う場合、運用形態として通信可能対象であるPC141に対しても通知を行うためにはゲートウェイ130を越えるために生存期間404が2以上であるパケットである必要がある。しかしながら、このパケットをLAN120側に送ってしまうとゲートウェイ150を越えてPC161側に通知が届いてしまう。MFP100の運用形態は一般に情報漏洩を防ぐようなケースにおいて想定されることがあるため、これを鑑みるとLAN120側のMFP100が属するサブネット外にパケットが届いてしまうことは問題となる。他にもマルチキャスト通信を使用してMFP100がPC141のホスト名からIPアドレス解決するようなケースにおいても同様で、LAN120側に送ってしまうとPC161側に検索パケットが届いてしまう。   In the present embodiment, it is assumed that the MFP 100 performs multicast communication with the LAN 110 and the LAN 120 to which the MFP 100 is connected in order to notify the operational status and various information of the MFP 100. When the MFP 100 performs the above notification by multicast communication, it is necessary that the packet has a lifetime 404 of 2 or more in order to exceed the gateway 130 in order to notify the PC 141 that is a communicable target as an operation mode. is there. However, if this packet is sent to the LAN 120 side, the notification reaches the PC 161 side beyond the gateway 150. Since the operation mode of the MFP 100 is generally assumed in cases where information leakage is prevented, considering this fact, it is problematic that the packet reaches outside the subnet to which the MFP 100 on the LAN 120 side belongs. The same applies to the case where the MFP 100 resolves the IP address from the host name of the PC 141 using multicast communication. If the MFP 100 sends it to the LAN 120 side, the search packet reaches the PC 161 side.

このような問題を解消するためにMFP100が行う動作について、図5のフローチャートに従って説明する。図5(a)は、MFP100がLAN110に接続した時点でMFP100のホスト名等の各種情報を通知する処理のフローチャートである。   An operation performed by MFP 100 to solve such a problem will be described with reference to the flowchart of FIG. FIG. 5A is a flowchart of processing for notifying various information such as the host name of the MFP 100 when the MFP 100 is connected to the LAN 110.

ステップS501では、LANデバイス209はLAN120への接続の検知処理を割り込み処理として実行すると共に、LANデバイス210はLAN110への接続の検知処理を割り込み処理として実行する。LANデバイス209及びLANデバイス210はLANへの接続を検知すると、検知した旨を通信制御部302に通知する。通信制御部302がLANデバイス209及びLANデバイス210の何れかからLANへの接続を検知した旨の通知(接続検知通知)を受けると、処理はステップS502に進む。   In step S501, the LAN device 209 executes connection detection processing for the LAN 120 as interrupt processing, and the LAN device 210 executes connection detection processing for the LAN 110 as interrupt processing. When the LAN device 209 and the LAN device 210 detect connection to the LAN, the communication control unit 302 is notified of the detection. When the communication control unit 302 receives a notification (connection detection notification) indicating that a connection to the LAN has been detected from either the LAN device 209 or the LAN device 210, the process proceeds to step S502.

ステップS502では、通信制御部302は、LANデバイス209から接続検知通知を受けると、LANデバイス209の識別情報を処理部303に通知する。一方、通信制御部302は、LANデバイス210から接続検知通知を受けると、LANデバイス210の識別情報を処理部303に通知する。   In step S <b> 502, upon receiving a connection detection notification from the LAN device 209, the communication control unit 302 notifies the processing unit 303 of identification information of the LAN device 209. On the other hand, upon receiving a connection detection notification from the LAN device 210, the communication control unit 302 notifies the processing unit 303 of identification information of the LAN device 210.

処理部303は、HDD204に保存されている「LANデバイス209及びLANデバイス210のそれぞれに対して設定されているIPアドレス、サブネットマスク、デフォルトゲートウェイ」をMFP100の電源投入時等に予め取得しておく。   The processing unit 303 acquires in advance the “IP address, subnet mask, default gateway set for each of the LAN device 209 and the LAN device 210” stored in the HDD 204 when the MFP 100 is turned on. .

処理部303は、LANデバイス209及びLANデバイス210のそれぞれに対して設定されている「IPアドレス、サブネットマスク、デフォルトゲートウェイ」を参照する。そして通信制御部302は、通信制御部302から受けた識別情報に対応するLANデバイスが「デフォルトゲートウェイが設定されているLAN110側のLANデバイス」であるのか、「デフォルトゲートウェイが設定されていないLAN120側のLANデバイス」であるのか、を判断する。つまり処理部303は、通信制御部302から受けた識別情報に対応するLANデバイスがLANデバイス209であるのかLANデバイス210であるのか、を判断する。   The processing unit 303 refers to “IP address, subnet mask, default gateway” set for each of the LAN device 209 and the LAN device 210. Then, the communication control unit 302 determines whether the LAN device corresponding to the identification information received from the communication control unit 302 is “the LAN device on the LAN 110 side where the default gateway is set” or “the LAN 120 side where the default gateway is not set” It is determined whether it is a “LAN device”. That is, the processing unit 303 determines whether the LAN device corresponding to the identification information received from the communication control unit 302 is the LAN device 209 or the LAN device 210.

この判断の結果、通信制御部302から受けた識別情報に対応するLANデバイスが「デフォルトゲートウェイが設定されているLAN110側のLANデバイス」である場合には、処理はステップS551に進む。一方、通信制御部302から受けた識別情報に対応するLANデバイスが「デフォルトゲートウェイが設定されていないLAN120側のLANデバイス」である場合には、処理はステップS503に進む。   As a result of this determination, if the LAN device corresponding to the identification information received from the communication control unit 302 is “LAN device on the LAN 110 side where the default gateway is set”, the process proceeds to step S551. On the other hand, if the LAN device corresponding to the identification information received from the communication control unit 302 is “LAN device on the LAN 120 side for which no default gateway is set”, the process proceeds to step S503.

ステップS551では、処理部303は、上記の生存期間(TTL)404を使用して、MFP100の各種情報を通知するマルチキャストパケットを生成する。ここで、生存期間404は、ユーザが操作部102を操作して変更しても良いし、MFP100内に固定的に定めている値であってもよい。本実施形態では、生存期間404の値は2以上を想定している。そして処理部303は、生成したマルチキャストパケットをネットワークI/F208を介してLANデバイス210に対して送出する。   In step S551, the processing unit 303 generates a multicast packet for notifying the MFP 100 of various information using the lifetime (TTL) 404 described above. Here, the lifetime 404 may be changed by the user operating the operation unit 102, or may be a value fixedly determined in the MFP 100. In the present embodiment, it is assumed that the value of the lifetime 404 is 2 or more. Then, the processing unit 303 sends the generated multicast packet to the LAN device 210 via the network I / F 208.

ステップS503では、処理部303は、固定的に1にセットされている生存期間(TTL)404を使用して、MFP100の各種情報を通知するマルチキャストパケットを生成する。生存期間404を1にセットすることによって、MFP100と同一サブネット内にのみマルチキャストパケットを送ることになる。そして処理部303は、生成したマルチキャストパケットをネットワークI/F208を介してLANデバイス209に対して送出する。   In step S <b> 503, the processing unit 303 generates a multicast packet that notifies the MFP 100 of various information using the lifetime (TTL) 404 that is fixedly set to 1. By setting the lifetime 404 to 1, multicast packets are sent only within the same subnet as the MFP 100. Then, the processing unit 303 sends the generated multicast packet to the LAN device 209 via the network I / F 208.

ステップS551からステップS504に処理が進んだ場合、ステップS504では、LANデバイス210は、処理部303から送出されたマルチキャストパケットをLAN110上に送信する。一方、ステップS503からステップS504に処理が進んだ場合、ステップS504では、LANデバイス209は、処理部303から送出されたマルチキャストパケットをLAN120上に送信する。   When the process proceeds from step S551 to step S504, in step S504, the LAN device 210 transmits the multicast packet sent from the processing unit 303 onto the LAN 110. On the other hand, when the process proceeds from step S503 to step S504, in step S504, the LAN device 209 transmits the multicast packet transmitted from the processing unit 303 to the LAN 120.

なお、この例ではLAN110やLAN120への接続検知に応じてステップS502以降の処理を行うようにしているが、MFP100が定期的に情報通知を行う場合には、ステップS502以降の処理を定期的に行うようにしても良い。その場合、ステップS501では、接続検知の代わりに「LANデバイス209及びLANデバイス210のそれぞれにおいて定期的に発生させる定期イベント」の発生タイミングの検知を行う。そしてLANデバイス209及びLANデバイス210の何れかにおいて定期イベントが発生した場合には、ステップS502では、LANデバイス209及びLANデバイス210の何れにおいて定期イベントが発生したのかを判断する。そしてLANデバイス209において定期イベントが発生した場合には、処理はステップS503に進み、LANデバイス210において定期イベントが発生した場合には、処理はステップS551に進む。   In this example, the processing after step S502 is performed in response to detection of connection to the LAN 110 or LAN 120. However, when the MFP 100 periodically notifies information, the processing after step S502 is periodically performed. You may make it do. In this case, in step S501, instead of detecting connection, the generation timing of “a periodic event that is periodically generated in each of the LAN device 209 and the LAN device 210” is detected. If a regular event has occurred in either the LAN device 209 or the LAN device 210, it is determined in step S502 whether the regular event has occurred in either the LAN device 209 or the LAN device 210. If a regular event occurs in the LAN device 209, the process proceeds to step S503. If a regular event occurs in the LAN device 210, the process proceeds to step S551.

図5(b)は、MFP100側から周辺ネットワーク上の端末へ通信するために通信先端末のホスト名を検索する際に使用するLLMNR等のマルチキャストパケットの生成処理のフローチャートである。図5(b)において図5(a)に示した処理ステップと同じ処理ステップには同じステップ番号を付しており、該処理ステップに係る説明は省略する。   FIG. 5B is a flowchart of a process for generating a multicast packet such as LLMNR used when searching for the host name of the communication destination terminal in order to communicate from the MFP 100 side to the terminal on the peripheral network. In FIG. 5B, the same processing steps as the processing steps shown in FIG. 5A are denoted by the same step numbers, and the description relating to the processing steps is omitted.

周辺端末のホスト名検索を行う際にステップS505では、処理部303は、LANデバイス209及びLANデバイス210の何れも通信先端末の検索パケットを送信しているか否かをチェックする。このチェックの結果、LANデバイス209及びLANデバイス210の何れも通信先端末の検索パケットを送信している(全てのLANデバイスで端末検索が完了している)場合には、図5(b)のフローチャートに従った処理は完了する。一方、LANデバイス209及びLANデバイス210のうち何れかが通信先端末の検索パケットを未だ送信していない(何れかのLANデバイスで端末検索が完了していない)場合には、処理はステップS506に進む。   When performing a host name search for a peripheral terminal, in step S505, the processing unit 303 checks whether both the LAN device 209 and the LAN device 210 are transmitting a search packet for a communication destination terminal. As a result of this check, if both the LAN device 209 and the LAN device 210 transmit the search packet for the communication destination terminal (terminal search has been completed for all LAN devices), FIG. The process according to the flowchart is completed. On the other hand, if one of the LAN device 209 and the LAN device 210 has not yet transmitted a search packet for the communication destination terminal (terminal search has not been completed for any LAN device), the process proceeds to step S506. move on.

ステップS506では、処理部303は、未だ検索パケットを送信していないLANデバイスが「デフォルトゲートウェイが設定されているLAN110側のLANデバイス」であるのか、「デフォルトゲートウェイが設定されていないLAN120側のLANデバイス」であるのか、を判断する。この判断の結果、未だ検索パケットを送信していないLANデバイスが「デフォルトゲートウェイが設定されているLAN110側のLANデバイス」である場合には、処理はステップS551に進む。一方、未だ検索パケットを送信していないLANデバイスが「デフォルトゲートウェイが設定されていないLAN120側のLANデバイス」である場合には、処理はステップS503に進む。   In step S506, the processing unit 303 determines whether the LAN device that has not yet transmitted the search packet is “the LAN device on the LAN 110 side on which the default gateway is set” or the “LAN on the LAN 120 side on which the default gateway is not set”. It is determined whether it is a “device”. As a result of the determination, if the LAN device that has not yet transmitted the search packet is “the LAN device on the LAN 110 side where the default gateway is set”, the process proceeds to step S551. On the other hand, if the LAN device that has not yet transmitted the search packet is a “LAN device on the LAN 120 side for which no default gateway is set”, the process proceeds to step S503.

ステップS507では、処理部303は、検索対象端末からの応答を待ち、応答があれば該応答を受信することで通信先端末の検索処理を終了する。   In step S507, the processing unit 303 waits for a response from the search target terminal, and if there is a response, the processing unit 303 ends the search process for the communication destination terminal by receiving the response.

なお、図5(b)のフローチャートは、特定の端末に対するホスト名を検索する処理を示したものである。しかし、図5(b)のフローチャートは、MFP100が接続しているネットワーク周辺に存在する複数の端末一覧をSLP等のマルチキャストパケットで検索する処理にも同様に適用できる。   Note that the flowchart of FIG. 5B shows a process for searching for a host name for a specific terminal. However, the flowchart of FIG. 5B can be similarly applied to processing for searching a plurality of terminal lists existing around the network to which the MFP 100 is connected using multicast packets such as SLP.

次に、MFP100が接続しているネットワーク周辺に存在する複数の端末を検索した結果の、操作部102が有する表示画面における表示例について、図6を用いて説明する。操作部102が有する表示画面600には、MFP100が接続しているネットワーク周辺に存在する複数の端末の一覧が表示されている。つまり、表示画面600には、図5(b)のフローチャートにおけるステップS507で受信した応答の送信元に係る情報(ホスト情報)の一覧が表示されている。   Next, a display example on the display screen of the operation unit 102 as a result of searching for a plurality of terminals existing around the network to which the MFP 100 is connected will be described with reference to FIG. On the display screen 600 of the operation unit 102, a list of a plurality of terminals existing around the network to which the MFP 100 is connected is displayed. That is, the display screen 600 displays a list of information (host information) related to the transmission source of the response received in step S507 in the flowchart of FIG.

601は、応答が返されたホストの名前である。602は、応答が返されたホストのIPアドレスである。603は、検索して応答が返されたホストがLANデバイス209、LANデバイス210の何れのネットワーク上の機器であるのかを示す情報である。「IF1」は、検索して応答が返されたホストがLANデバイス210が属するサブネット上の機器であることを示しており、「IF2」は、検索して応答が返されたホストがLANデバイス209が属するサブネット上の機器であることを示している。   Reference numeral 601 denotes the name of the host to which a response is returned. Reference numeral 602 denotes an IP address of a host to which a response is returned. Reference numeral 603 denotes information indicating which network device, the LAN device 209 or the LAN device 210, the host to which the response is returned after searching. “IF1” indicates that the host to which the response is returned by searching is a device on the subnet to which the LAN device 210 belongs, and “IF2” is the host to which the response is returned by searching for the LAN device 209. Indicates that the device is on the subnet to which the device belongs.

これらの情報のうち、特に情報603が取得可能となることによって、次回の個別端末への通信時にLANデバイス209、LANデバイス210のどちら側へ通信を行えば良いのかを判断することができる。   Among these pieces of information, in particular, the information 603 can be acquired, so that it can be determined to which side of the LAN device 209 or the LAN device 210 the communication should be performed at the next communication with the individual terminal.

604は、デフォルトゲートウェイを設定していない側のLANに対応するLANデバイスに対してMFP100と同一サブネット内のみで検索を行ったことをMFP100の操作者に対して表示するメッセージである。   A message 604 displays to the operator of the MFP 100 that the LAN device corresponding to the LAN on which the default gateway is not set has been searched only within the same subnet as the MFP 100.

MFP100の仕様によっては、一般に生存期間に従ってマルチキャスト通信するケースがあり得る。この場合、MFP100の運用形態として、デフォルトゲートウェイを設定しないサブネット側からはサブネット外へ通信しないため、MFP100にセットされる生存期間の値に関わらず1を超えた生存期間でマルチキャストパケットは送らないことを示す。この例ではMFP100の周辺ネットワークの端末情報の検索時においてメッセージ604の表示を行うようにしている。   Depending on the specifications of the MFP 100, there may be a case where multicast communication is generally performed according to the lifetime. In this case, as the operation mode of the MFP 100, since the subnet side that does not set the default gateway does not communicate outside the subnet, multicast packets are not sent with a lifetime exceeding 1 regardless of the lifetime value set in the MFP 100. Indicates. In this example, the message 604 is displayed when searching for terminal information of the peripheral network of the MFP 100.

また、図5(b)において、デフォルトゲートウェイを設定していない側のLAN120に対応するLANデバイス209によって検索パケットを送信する場合、ステップS503の前に表示画面600にゲートウェイ150を越えた通信を行うかの選択をユーザに促すようにしてもよい。また、ゲートウェイ150を越えた検索を行うのか、MFP100と同一サブネット内のみで検索を行うのか、またはLANデバイス209側への送信自体を中止するのか、等の選択を可能としてもよい。そしてステップS503以降はユーザによる選択の結果に従って処理が行われる。   Further, in FIG. 5B, when a search packet is transmitted by the LAN device 209 corresponding to the LAN 120 on the side where the default gateway is not set, communication beyond the gateway 150 is performed on the display screen 600 before step S503. The user may be prompted to select one of these. In addition, it may be possible to select whether to perform a search beyond the gateway 150, to perform a search only within the same subnet as the MFP 100, or to cancel transmission to the LAN device 209 side. In step S503 and subsequent steps, processing is performed according to the result of selection by the user.

このように本実施形態によれば、MFP100からマルチキャストパケットを送信する場合、デフォルトゲートウェイ設定を行っていないLAN側に対して、MFP100が属するサブネットと異なるサブネット外へのパケット送信を防ぐことが可能となる。   As described above, according to the present embodiment, when a multicast packet is transmitted from the MFP 100, it is possible to prevent packet transmission outside a subnet different from the subnet to which the MFP 100 belongs to the LAN side where the default gateway is not set. Become.

<変形例>
第1の実施形態では、MFP100は2つのLANに接続されており、それぞれのLANに対応するLANデバイスを有する(つまり2つのLANデバイスを有する)ケースについて説明した。しかし、MFP100に接続可能なLANの数は2に限らず、N(Nは3以上の整数)であっても良い。この場合、MFP100は、N個のLANのそれぞれに接続するべく、N個のLANデバイスを有する必要がある。
<Modification>
In the first embodiment, the case where the MFP 100 is connected to two LANs and has LAN devices corresponding to the respective LANs (that is, has two LAN devices) has been described. However, the number of LANs that can be connected to the MFP 100 is not limited to 2, and may be N (N is an integer of 3 or more). In this case, MFP 100 needs to have N LAN devices in order to connect to each of the N LANs.

[第2の実施形態]
以下では第1の実施形態との差分について説明し、以下で特に触れない限りは第1の実施形態と同様であるものとする。第1の実施形態では、MFP100から周辺ネットワーク上の端末にマルチキャストパケットを送信したのに対し、本実施形態では、MFP100が端末側から各種ネットワークパケットを受信するケースについて説明する。なお、本実施形態でも第1の実施形態と同様に、デフォルトゲートウェイの設定をLANデバイス210側に接続しているゲートウェイ130としていることを前提とする。本実施形態に係るMFP100の動作について、図7のフローチャートに従って説明する。
[Second Embodiment]
Hereinafter, differences from the first embodiment will be described, and unless otherwise noted, the same as the first embodiment is assumed. In the first embodiment, a multicast packet is transmitted from the MFP 100 to a terminal on the peripheral network. In the present embodiment, a case where the MFP 100 receives various network packets from the terminal side will be described. Note that, in this embodiment as well, as in the first embodiment, it is assumed that the default gateway setting is the gateway 130 connected to the LAN device 210 side. The operation of MFP 100 according to the present embodiment will be described with reference to the flowchart of FIG.

通信制御部302が、MFP100へのネットワークパケットを、LANデバイス209やLANデバイス210を介して受信した場合には、処理はステップS701からステップS702に進み、受信していない場合には、処理はステップS701で待機する。   If the communication control unit 302 receives a network packet to the MFP 100 via the LAN device 209 or the LAN device 210, the process proceeds from step S701 to step S702. If not received, the process proceeds to step S702. Wait in step S701.

ステップS702では、処理部303は、通信制御部302がステップS701で受信したネットワークパケットを解析する。そして処理部303はこの解析により、該ネットワークパケットが、LANデバイス209が接続されているサブネット、LANデバイス210が接続されているサブネット、のいずれとも異なるサブネットから送信されたパケットなのか否かを判断する。この判断は、一般にMFP100が保持するIPアドレスとサブネットマスクから、同一サブネットで使用可能なIPアドレスの範囲が計算可能であるから、ネットワークパケットの送信元のIPアドレスがその範囲内か否かを判断すること実施可能である。   In step S702, the processing unit 303 analyzes the network packet received by the communication control unit 302 in step S701. Based on this analysis, the processing unit 303 determines whether the network packet is a packet transmitted from a subnet different from the subnet to which the LAN device 209 is connected and the subnet to which the LAN device 210 is connected. To do. In general, the range of IP addresses that can be used in the same subnet can be calculated from the IP address and subnet mask held by the MFP 100. Therefore, it is determined whether or not the IP address of the transmission source of the network packet is within the range. It is possible to do.

このような判断の結果、ネットワークパケットの送信元のIPアドレスがMFP100と同一のサブネットの場合、処理はステップS704に進む。一方、ネットワークパケットの送信元のIPアドレスがMFP100と異なるサブネットの場合、処理はステップS703に進む。   As a result of such determination, when the IP address of the transmission source of the network packet is the same subnet as MFP 100, the process proceeds to step S704. On the other hand, if the IP address of the transmission source of the network packet is a subnet different from that of MFP 100, the process proceeds to step S703.

ステップS702からステップS704に処理が進んだ場合、該ステップS704では処理部303は次のような処理を行う。即ち処理部303は、ステップS701で通信制御部302が受信したネットワークパケットがLANデバイス209が受信したネットワークパケットであるのか、LANデバイス210が受信したネットワークパケットであるのか、を判断する。この判断の結果、ステップS701で通信制御部302が受信したネットワークパケットがLANデバイス209が受信したネットワークパケットである場合、処理部303は受信したネットワークパケットに対する応答パケットを生成する。そして処理部303は該生成したネットワークパケットをLANデバイス209を用いてLAN120上に送信する。一方、ステップS701で通信制御部302が受信したネットワークパケットがLANデバイス210が受信したネットワークパケットである場合、処理部303は受信したネットワークパケットに対する応答パケットを生成する。そして処理部303は該生成したネットワークパケットをLANデバイス210を用いてLAN110上に送信する。   When the process proceeds from step S702 to step S704, the processing unit 303 performs the following process in step S704. That is, the processing unit 303 determines whether the network packet received by the communication control unit 302 in step S701 is a network packet received by the LAN device 209 or a network packet received by the LAN device 210. As a result of this determination, if the network packet received by the communication control unit 302 in step S701 is a network packet received by the LAN device 209, the processing unit 303 generates a response packet for the received network packet. Then, the processing unit 303 transmits the generated network packet on the LAN 120 using the LAN device 209. On the other hand, when the network packet received by the communication control unit 302 in step S701 is a network packet received by the LAN device 210, the processing unit 303 generates a response packet for the received network packet. Then, the processing unit 303 transmits the generated network packet on the LAN 110 using the LAN device 210.

ステップS703では、処理部303は、ステップS701で通信制御部302が受信したネットワークパケットがLANデバイス209が受信したネットワークパケットであるのか、LANデバイス210が受信したネットワークパケットであるのか、を判断する。この判断の結果、ステップS701で通信制御部302が受信したネットワークパケットがLANデバイス209が受信したネットワークパケットである場合、MFP100の運用形態として、例えばPC161とゲートウェイ150を越えて通信することは行わないため、処理部303は応答パケットを生成することなく、図7のフローチャートに従った処理は終了する。一方、ステップS701で通信制御部302が受信したネットワークパケットがLANデバイス210が受信したネットワークパケットである場合、処理はステップS704に進む。   In step S703, the processing unit 303 determines whether the network packet received by the communication control unit 302 in step S701 is a network packet received by the LAN device 209 or a network packet received by the LAN device 210. As a result of this determination, if the network packet received by the communication control unit 302 in step S701 is a network packet received by the LAN device 209, the MFP 100 does not communicate with the PC 161 over the gateway 150, for example. Therefore, the processing unit 303 ends the process according to the flowchart of FIG. 7 without generating a response packet. On the other hand, if the network packet received by the communication control unit 302 in step S701 is a network packet received by the LAN device 210, the process proceeds to step S704.

ステップS703からステップS704に処理が進んだ場合、該ステップS704では処理部303は次のような処理を行う。MFP100の運用形態として、外部サブネットからの通信は受け付けてもよい。そのため、処理部303は、受信したネットワークパケットに対する応答パケットを生成し、該生成したネットワークパケットをLANデバイス210を用いてLAN110上に送信する。   When the process proceeds from step S703 to step S704, the processing unit 303 performs the following process in step S704. As an operation mode of the MFP 100, communication from an external subnet may be accepted. Therefore, the processing unit 303 generates a response packet for the received network packet, and transmits the generated network packet on the LAN 110 using the LAN device 210.

なお、本実施形態では、外部サブネットからのパケット受信の判断を処理部303が行っているが、通信制御部302が行うようにしても良い。これは、上記の説明でも同様で、通信制御部302が行うものとして説明した処理、処理部303が行うものとして説明した処理、のそれぞれを通信制御部302、処理部303が行うことに限らず、一部を他の機能部が実行しても良い。   In this embodiment, the processing unit 303 determines whether to receive a packet from the external subnet, but the communication control unit 302 may perform the determination. The same applies to the above description, and the processing described as being performed by the communication control unit 302 and the processing described as being performed by the processing unit 303 are not limited to being performed by the communication control unit 302 and processing unit 303, respectively. Some of the functions may be executed by other functional units.

このように、本実施形態によれば、MFP100へのサブネット外からの通信要求において、デフォルトゲートウェイ設定を行っていないLANデバイス側に対してMFP100と異なるサブネット外端末との通信を遮断することが可能となる。   As described above, according to the present embodiment, in a communication request to the MFP 100 from outside the subnet, it is possible to block communication with a terminal outside the subnet different from the MFP 100 for the LAN device side for which the default gateway setting is not performed. It becomes.

なお、上記の実施形態や変形例の一部若しくは全部を適宜組み合わせて使用しても構わない。また、上記の実施形態や変形例の一部若しくは全部を選択的に使用しても構わない。   Note that some or all of the above-described embodiments and modifications may be used in appropriate combination. Moreover, you may selectively use a part or all of said embodiment and modification.

(その他の実施形態)
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other embodiments)
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in the computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

201:CPU 202:DRAM 203:SATA I/F 204:HDD 205:パネルI/F 206:プリンタI/F 207:スキャナI/F 208:ネットワークI/F 209:LANデバイス 210:LANデバイス 211:電源管理部   201: CPU 202: DRAM 203: SATA I / F 204: HDD 205: Panel I / F 206: Printer I / F 207: Scanner I / F 208: Network I / F 209: LAN device 210: LAN device 211: Power supply Management Department

Claims (12)

複数の通信デバイスを有する情報処理装置であって、
前記複数の通信デバイスのうちデフォルトゲートウェイが設定されていないサブネットに対応する第1の通信デバイスが送信するパケットとして、前記情報処理装置が属するサブネットの外には送信されないパケットを生成し、該生成したパケットを前記第1の通信デバイスを用いて送信する制御手段を備えることを特徴とする情報処理装置。
An information processing apparatus having a plurality of communication devices,
A packet that is not transmitted outside the subnet to which the information processing apparatus belongs is generated as a packet transmitted by a first communication device corresponding to a subnet for which a default gateway is not set among the plurality of communication devices, and the generated An information processing apparatus comprising control means for transmitting a packet using the first communication device.
前記制御手段は、パケットの生存期間として1を設定したパケットを、前記第1の通信デバイスが送信するパケットとして生成することを特徴とする請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the control unit generates a packet in which 1 is set as a packet lifetime as a packet transmitted by the first communication device. 前記制御手段は、前記複数の通信デバイスのうちデフォルトゲートウェイが設定されているサブネットに対応する第2の通信デバイスが送信するパケットとして、前記情報処理装置が属するサブネットの外に送信されるパケットを生成し、該生成したパケットを前記第2の通信デバイスを用いて送信することを特徴とする請求項1又は2に記載の情報処理装置。   The control means generates a packet to be transmitted outside the subnet to which the information processing apparatus belongs as a packet to be transmitted by a second communication device corresponding to a subnet in which a default gateway is set among the plurality of communication devices. The information processing apparatus according to claim 1, wherein the generated packet is transmitted using the second communication device. 前記制御手段は、パケットの生存期間として2以上を設定したパケットを、前記第2の通信デバイスが送信するパケットとして生成することを特徴とする請求項3に記載の情報処理装置。   The information processing apparatus according to claim 3, wherein the control unit generates a packet in which 2 or more is set as a packet lifetime as a packet transmitted by the second communication device. 前記制御手段は、前記複数の通信デバイスを用いてマルチキャストパケットを送信することを特徴とする請求項1乃至4の何れか1項に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the control unit transmits a multicast packet using the plurality of communication devices. 前記複数の通信デバイスはLANデバイスであることを特徴とする請求項1乃至5の何れか1項に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the plurality of communication devices are LAN devices. 前記パケットは、端末のホスト名を検索するためのパケットであることを特徴とする請求項1乃至6の何れか1項に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the packet is a packet for searching for a host name of a terminal. 前記情報処理装置は更に、
前記第1の通信デバイスおよび/または第2の通信デバイスが送信したパケットに対する応答の送信元に係る情報を表示する表示手段を備えることを特徴とする請求項7に記載の情報処理装置。
The information processing apparatus further includes:
The information processing apparatus according to claim 7, further comprising a display unit configured to display information related to a transmission source of a response to the packet transmitted by the first communication device and / or the second communication device.
前記情報は、前記応答が前記第1の通信デバイス、前記第2の通信デバイスの何れによるパケットに対応する応答であるのかを示す情報を含むことを特徴とする請求項8に記載の情報処理装置。   The information processing apparatus according to claim 8, wherein the information includes information indicating whether the response is a response corresponding to a packet by the first communication device or the second communication device. . 前記制御手段は、
前記第2の通信デバイスが受信したパケットが、前記情報処理装置が属するサブネットとは異なるサブネット上の機器から送信されたパケットである場合、該パケットに対する応答を生成し、該生成した応答を前記第2の通信デバイスを用いて送信し、
前記第1の通信デバイスが受信したパケットが、前記情報処理装置が属するサブネットとは異なるサブネット上の機器から送信されたパケットである場合、該パケットに対する応答は生成しない
ことを特徴とする請求項3に記載の情報処理装置。
The control means includes
When the packet received by the second communication device is a packet transmitted from a device on a subnet different from the subnet to which the information processing apparatus belongs, a response to the packet is generated, and the generated response is Using two communication devices,
The response to the packet is not generated when the packet received by the first communication device is a packet transmitted from a device on a subnet different from the subnet to which the information processing apparatus belongs. The information processing apparatus described in 1.
複数の通信デバイスを有する情報処理装置が行う情報処理方法であって、
前記複数の通信デバイスのうちデフォルトゲートウェイが設定されていないサブネットに対応する第1の通信デバイスが送信するパケットとして、前記情報処理装置が属するサブネットの外には送信されないパケットを生成し、該生成したパケットを前記第1の通信デバイスを用いて送信することを特徴とする情報処理方法。
An information processing method performed by an information processing apparatus having a plurality of communication devices,
A packet that is not transmitted outside the subnet to which the information processing apparatus belongs is generated as a packet transmitted by a first communication device corresponding to a subnet for which a default gateway is not set among the plurality of communication devices, and the generated An information processing method, comprising: transmitting a packet using the first communication device.
複数の通信デバイスを有する情報処理装置のコンピュータを、請求項1乃至10の何れか1項に記載の情報処理装置の各手段として機能させるためのコンピュータプログラム。   The computer program for functioning the computer of the information processing apparatus which has a some communication device as each means of the information processing apparatus in any one of Claims 1 thru | or 10.
JP2018039644A 2018-03-06 2018-03-06 Information processing device, information processing method Active JP7197986B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2018039644A JP7197986B2 (en) 2018-03-06 2018-03-06 Information processing device, information processing method
JP2022195856A JP7486261B2 (en) 2018-03-06 2022-12-07 Information processing device and information processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018039644A JP7197986B2 (en) 2018-03-06 2018-03-06 Information processing device, information processing method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2022195856A Division JP7486261B2 (en) 2018-03-06 2022-12-07 Information processing device and information processing method

Publications (3)

Publication Number Publication Date
JP2019154003A true JP2019154003A (en) 2019-09-12
JP2019154003A5 JP2019154003A5 (en) 2021-04-01
JP7197986B2 JP7197986B2 (en) 2022-12-28

Family

ID=67947178

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2018039644A Active JP7197986B2 (en) 2018-03-06 2018-03-06 Information processing device, information processing method
JP2022195856A Active JP7486261B2 (en) 2018-03-06 2022-12-07 Information processing device and information processing method

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2022195856A Active JP7486261B2 (en) 2018-03-06 2022-12-07 Information processing device and information processing method

Country Status (1)

Country Link
JP (2) JP7197986B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7197986B2 (en) 2018-03-06 2022-12-28 キヤノン株式会社 Information processing device, information processing method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005301670A (en) * 2004-04-12 2005-10-27 Canon Inc Information processor, information processing method, and program
JP2006101344A (en) * 2004-09-30 2006-04-13 Ricoh Co Ltd Network equipment, network equipment control method, program and recording medium
WO2007129699A1 (en) * 2006-05-09 2007-11-15 Nec Corporation Communication system, node, terminal, communication method, and program
JP2011082651A (en) * 2009-10-05 2011-04-21 Canon Inc Communication apparatus and method, and program
JP2011254556A (en) * 2011-09-20 2011-12-15 Sharp Corp Transmitting apparatus, communication system, and computer program
JP2012165167A (en) * 2011-02-07 2012-08-30 Seiko Epson Corp Network communication apparatus, method, and program
JP2016129986A (en) * 2015-01-14 2016-07-21 コニカミノルタ株式会社 Image forming apparatus, and method and program for communication control in power-saving mode
JP2016143100A (en) * 2015-01-30 2016-08-08 東芝ライテック株式会社 Communication system, home electric appliance, and control device
JP2017200178A (en) * 2016-04-22 2017-11-02 株式会社リコー Network apparatus, input/output device, and program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007174201A (en) 2005-12-21 2007-07-05 Canon Inc Information processor, and communication method and program
JP5388784B2 (en) 2009-10-02 2014-01-15 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP6429474B2 (en) 2014-03-24 2018-11-28 キヤノン株式会社 COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM
JP7197986B2 (en) 2018-03-06 2022-12-28 キヤノン株式会社 Information processing device, information processing method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005301670A (en) * 2004-04-12 2005-10-27 Canon Inc Information processor, information processing method, and program
JP2006101344A (en) * 2004-09-30 2006-04-13 Ricoh Co Ltd Network equipment, network equipment control method, program and recording medium
WO2007129699A1 (en) * 2006-05-09 2007-11-15 Nec Corporation Communication system, node, terminal, communication method, and program
JP2011082651A (en) * 2009-10-05 2011-04-21 Canon Inc Communication apparatus and method, and program
JP2012165167A (en) * 2011-02-07 2012-08-30 Seiko Epson Corp Network communication apparatus, method, and program
JP2011254556A (en) * 2011-09-20 2011-12-15 Sharp Corp Transmitting apparatus, communication system, and computer program
JP2016129986A (en) * 2015-01-14 2016-07-21 コニカミノルタ株式会社 Image forming apparatus, and method and program for communication control in power-saving mode
JP2016143100A (en) * 2015-01-30 2016-08-08 東芝ライテック株式会社 Communication system, home electric appliance, and control device
JP2017200178A (en) * 2016-04-22 2017-11-02 株式会社リコー Network apparatus, input/output device, and program

Also Published As

Publication number Publication date
JP7486261B2 (en) 2024-05-17
JP7197986B2 (en) 2022-12-28
JP2023016993A (en) 2023-02-02

Similar Documents

Publication Publication Date Title
US8610914B2 (en) Communication apparatus, communication method, computer readable medium and image forming apparatus
US8817785B2 (en) Communication apparatus having a plurality of network interfaces, method of communication by the communication apparatus, and storage medium
US8817783B2 (en) Information processing apparatus, image processing apparatus, control method, and storage medium
JP5882855B2 (en) Method, system and program for protecting a host device
JP7486261B2 (en) Information processing device and information processing method
US7844694B2 (en) Communication system, relay apparatus, relay method and computer readable medium
JP5717398B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, AND CONTROL PROGRAM
JP5796593B2 (en) Monitoring system, monitoring target device, monitoring method, and program
JP5473248B2 (en) Information processing apparatus, information processing apparatus control method, and computer program
JP6464768B2 (en) Response device and program
US20120287928A1 (en) Communication apparatus and method of controlling same, and storage medium
JP2009081723A (en) Communication system, relay unit, and program
JP2006197051A (en) Network communication control unit and method
JP4877127B2 (en) Print client and printer search method.
US10282146B2 (en) Information processing apparatus, recording medium, and proxy response system
JP7406705B2 (en) Information processing device and method of controlling the information processing device
US20220311736A1 (en) Communication apparatus, non-transitory computer-readable medium for communication apparatus, and method implementable by communication apparatus
JP7110739B2 (en) Communication control device, communication control program and network communication system
JP2024059242A (en) COMMUNICATION CONTROL DEVICE, CONTROL METHOD FOR COMMUNICATION CONTROL DEVICE, AND PROGRAM
JP2004192548A (en) Digital composite machine and printing system
JP2019161531A (en) Information processing device, method for controlling information processing device and program
JP2012119984A (en) Communication equipment, communication method and program
JP6447273B2 (en) Information processing apparatus and program
JP2015226082A (en) Information processing device, control method thereof, and program
JP2015228254A (en) Monitoring system, monitoring target apparatus, monitoring method, and program

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20210103

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210113

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210210

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210210

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211125

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211223

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220221

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220613

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220809

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221216

R151 Written notification of patent or utility model registration

Ref document number: 7197986

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151