JP2012182599A - Communication device - Google Patents

Communication device Download PDF

Info

Publication number
JP2012182599A
JP2012182599A JP2011043282A JP2011043282A JP2012182599A JP 2012182599 A JP2012182599 A JP 2012182599A JP 2011043282 A JP2011043282 A JP 2011043282A JP 2011043282 A JP2011043282 A JP 2011043282A JP 2012182599 A JP2012182599 A JP 2012182599A
Authority
JP
Japan
Prior art keywords
address
registered
registration server
communication device
signal
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
JP2011043282A
Other languages
Japanese (ja)
Other versions
JP5533735B2 (en
Inventor
Yasushi Kato
裕史 加藤
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2011043282A priority Critical patent/JP5533735B2/en
Publication of JP2012182599A publication Critical patent/JP2012182599A/en
Application granted granted Critical
Publication of JP5533735B2 publication Critical patent/JP5533735B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a technology that allows a device connected to a network to obtain the IP address of a communication device even if processing to transmit the IP address is not executed.SOLUTION: If a multifunctional device 10 receives an IP address inquiry signal to inquire an IP address from a PC 300 connected to a network and determines that the IP address of the multifunctional device 10 is not registered with a DNS server 220, it transmits its IP address to the PC 300. If the multifunctional device 10 receives an IP address inquiry signal and determines that the IP address of the multifunctional device 10 is registered with the DNS server 220, it does not transmit its IP address to the PC 300.

Description

本明細書では、ネットワークに接続されているデバイスのIPアドレスが登録される登録サーバと、ネットワークを介して接続される通信装置を開示する。   The present specification discloses a registration server in which IP addresses of devices connected to a network are registered, and a communication apparatus connected via the network.

特許文献1には、ネットワークに接続されているプリンタが開示されている。プリンタは、プリンタのノード名を含む信号をPCから受信すると、プリンタのIPアドレスをPCに送信する。   Patent Document 1 discloses a printer connected to a network. When the printer receives a signal including the printer node name from the PC, the printer transmits the IP address of the printer to the PC.

特開2007−19614号公報JP 2007-19614 A

ネットワークに接続されている通信装置は、ネットワーク上の他の通信装置から、IPアドレスを定期的に取得する。上記の他の通信装置は、自身のIPアドレスを、定期的に送信しなければならない。   A communication device connected to the network periodically acquires an IP address from another communication device on the network. The other communication devices described above must regularly transmit their IP addresses.

通信装置の省電力化が望まれている。本明細書では、通信装置がIPアドレスを送信する機会を低減することによって、省電力化を実現し得る技術を提供する。   It is desired to reduce the power consumption of communication devices. The present specification provides a technology that can realize power saving by reducing the opportunity for a communication apparatus to transmit an IP address.

本明細書によって開示される技術は、ネットワークに接続されているデバイスのIPアドレスが登録される登録サーバに、ネットワークを介して接続される通信装置である。通信装置は、第1の登録判断部とIPアドレス送信部とを備える。第1の登録判断部は、通信装置のIPアドレスが、登録サーバに登録されているか否かを判断する。IPアドレス送信部は、ネットワークに接続されている送信元デバイスから通信装置のIPアドレスを問い合わせるためのIPアドレス問合信号が受信され、かつ、通信装置のIPアドレスが登録サーバに登録されていると判断される場合に、IPアドレス問合信号の送信元デバイスに向けて、通信装置のIPアドレスを送信しない。IPアドレス送信部は、IPアドレス問合信号が受信され、かつ、通信装置のIPアドレスが登録サーバに登録されていないと判断される場合に、IPアドレス問合信号の送信元デバイスに向けて、通信装置のIPアドレスを送信する。   The technology disclosed in this specification is a communication apparatus connected via a network to a registration server in which the IP address of a device connected to the network is registered. The communication apparatus includes a first registration determination unit and an IP address transmission unit. The first registration determination unit determines whether or not the IP address of the communication device is registered in the registration server. The IP address transmission unit receives an IP address inquiry signal for inquiring about the IP address of the communication device from a transmission source device connected to the network, and the IP address of the communication device is registered in the registration server. When the determination is made, the IP address of the communication apparatus is not transmitted toward the transmission source device of the IP address inquiry signal. When the IP address inquiry signal is received and it is determined that the IP address of the communication device is not registered in the registration server, the IP address transmission unit is directed toward the transmission source device of the IP address inquiry signal. The IP address of the communication device is transmitted.

上記の通信装置は、通信装置のIPアドレスが登録サーバに登録されていないと判断される場合に、IPアドレス問合信号の送信元デバイスに向けて、通信装置のIPアドレスを送信する。これにより、上記の送信元デバイスは、通信装置のIPアドレスを取得することができる。一方、上記の通信装置は、通信装置のIPアドレスが登録サーバに登録されていると判断される場合に、IPアドレス問合信号の送信元デバイスに向けて、通信装置のIPアドレスを送信しない。このような状況では、送信元デバイスは、通信装置のIPアドレスを登録サーバから取得し得るからである。この構成によれば、通信装置が送信元デバイスに向けてIPアドレスを送信しない場合があるために、通信装置の省電力化を実現し得る。   When it is determined that the IP address of the communication device is not registered in the registration server, the communication device transmits the IP address of the communication device to the transmission source device of the IP address inquiry signal. Accordingly, the transmission source device can acquire the IP address of the communication device. On the other hand, when it is determined that the IP address of the communication apparatus is registered in the registration server, the communication apparatus does not transmit the IP address of the communication apparatus to the transmission source device of the IP address inquiry signal. This is because in such a situation, the transmission source device can obtain the IP address of the communication device from the registration server. According to this configuration, since the communication apparatus may not transmit the IP address to the transmission source device, power saving of the communication apparatus can be realized.

通信装置は、通信装置のIPアドレスが登録サーバに登録されているのか否かに関する所定の情報をメモリに記憶させる記憶制御部を、さらに備えていてもよい。第1の登録判断部は、メモリ内の上記の所定の情報を用いて、通信装置のIPアドレスが登録サーバに登録されているのか否かを判断してもよい。この構成によれば、通信装置は、通信装置のIPアドレスが登録サーバに登録されているのか否かを判断する際に、上記の所定の情報を用いればよく、登録サーバに問い合わせなくて済む。   The communication device may further include a storage control unit that stores predetermined information regarding whether or not the IP address of the communication device is registered in the registration server in a memory. The first registration determination unit may determine whether or not the IP address of the communication device is registered in the registration server using the predetermined information in the memory. According to this configuration, when determining whether or not the IP address of the communication device is registered in the registration server, the communication device may use the predetermined information and does not need to make an inquiry to the registration server.

記憶制御部は、登録サーバのIPアドレスがユーザによって指定される場合に、通信装置のIPアドレスが登録サーバに登録されていることを示す上記の所定の情報を、メモリに記憶させてもよい。この構成によると、通信装置は、上記の所定の情報をメモリに適切に記憶させ得る。   When the IP address of the registration server is designated by the user, the storage control unit may store the predetermined information indicating that the IP address of the communication device is registered in the registration server in the memory. According to this configuration, the communication apparatus can appropriately store the predetermined information in the memory.

記憶制御部は、通信装置のIPアドレスが登録サーバに登録される際に、登録サーバから送信される特定の信号を受信する場合に、通信装置のIPアドレスが登録サーバに登録されていることを示す上記の所定の情報を、メモリに記憶させてもよい。この構成によると、通信装置は、上記の所定の情報をメモリに適切に記憶させ得る。   When the storage control unit receives a specific signal transmitted from the registration server when the IP address of the communication device is registered in the registration server, the storage control unit confirms that the IP address of the communication device is registered in the registration server. The predetermined information shown may be stored in a memory. According to this configuration, the communication apparatus can appropriately store the predetermined information in the memory.

通信装置は、通信装置のIPアドレスが登録サーバに登録されたのか否かを、登録サーバに問い合わせる問合部をさらに備えていてもよい。記憶制御部は、上記の問い合わせに応じて、登録サーバから送信される上記の特定の信号を受信する場合に、通信装置のIPアドレスが登録サーバに登録されていることを示す上記の所定の情報を、メモリに記憶させてもよい。この構成によれば、通信装置は、上記の所定の情報をメモリに適切に記憶させ得る。   The communication apparatus may further include an inquiry unit that inquires of the registration server whether or not the IP address of the communication apparatus is registered in the registration server. The storage control unit receives the specific signal transmitted from the registration server in response to the inquiry, and the predetermined information indicating that the IP address of the communication device is registered in the registration server May be stored in a memory. According to this configuration, the communication device can appropriately store the predetermined information in the memory.

通信装置は、通信装置のIPアドレスが登録サーバに登録されていることを示す上記の所定の情報がメモリに記憶された後に、登録サーバと通信可能であるのか否かを確認する確認部をさらに備えていてもよい。記憶制御部は、登録サーバと通信可能でないことが確認される場合に、通信装置のIPアドレスが登録サーバに登録されていることを示す上記の所定の情報を、メモリから削除してもよい。通信装置が登録サーバと通信不可能である状況では、他のデバイスも登録サーバと通信不可能である可能性が高い。即ち、上記の送信元デバイスは、通信装置のIPアドレスを、登録サーバから取得することができない。従って、通信装置は、通信装置が登録サーバと通信不可能である場合に、上記の所定の情報がメモリから削除する。これにより、通信装置は、IPアドレス問合信号の送信元デバイスに向けて、通信装置のIPアドレスを送信することができる。この構成によれば、送信元デバイスは、登録サーバと通信不可能である場合でも、通信装置のIPアドレスを取得することができる。   The communication device further includes a confirmation unit for confirming whether or not communication with the registration server is possible after the predetermined information indicating that the IP address of the communication device is registered in the registration server is stored in the memory. You may have. When it is confirmed that the storage control unit cannot communicate with the registration server, the storage control unit may delete the predetermined information indicating that the IP address of the communication device is registered in the registration server from the memory. In a situation where the communication device cannot communicate with the registration server, there is a high possibility that other devices cannot communicate with the registration server. That is, the transmission source device cannot acquire the IP address of the communication device from the registration server. Therefore, the communication device deletes the predetermined information from the memory when the communication device cannot communicate with the registration server. Thereby, the communication apparatus can transmit the IP address of the communication apparatus toward the transmission source device of the IP address inquiry signal. According to this configuration, the transmission source device can acquire the IP address of the communication apparatus even when communication with the registration server is impossible.

通信装置は、ネットワークから受信されるパケットが示すプロトコルの種類に基づいて、当該パケットがIPアドレス問合信号であるのか否かを判断する信号判断部をさらに備えていてもよい。この構成によれば、通信装置は、受信されたパケットが、IPアドレス問合信号であるのか否かを適切に判断し得る。   The communication apparatus may further include a signal determination unit that determines whether or not the packet is an IP address inquiry signal based on the protocol type indicated by the packet received from the network. According to this configuration, the communication apparatus can appropriately determine whether or not the received packet is an IP address inquiry signal.

通信装置は、消費電力が比較的に高い高消費状態と、消費電力が比較的に低い低消費状態と、の間で移行可能であるプロセッサを備えていてもよい。プロセッサは、第1の登録判断部と、IPアドレス送信部と、を備えていてもよい。プロセッサは、プロセッサを高消費状態と低消費状態との間で移行させる移行制御部を、さらに備えていてもよい。プロセッサが高消費状態である間に、IPアドレス問合信号が受信される場合に、IPアドレス送信部は、通信装置のIPアドレスが登録サーバに登録されているのか否かに関わらず、IPアドレス問合信号の送信元デバイスに向けて、通信装置のIPアドレスを送信してもよい。プロセッサが低消費状態である間に、IPアドレス問合信号が受信され、かつ、通信装置のIPアドレスが登録サーバに登録されていないと判断される場合に、移行制御部は、プロセッサを低消費状態から高消費状態に移行させ、IPアドレス送信部は、問合せ信号の送信元のデバイスに向けて、通信装置のIPアドレスを送信してもよい。プロセッサが低消費状態である間に、IPアドレス問合信号である上記の特定の信号が受信される場合において、通信装置のIPアドレスが登録サーバに登録されていると判断される場合に、移行制御部は、プロセッサを低消費状態から高消費状態に移行させず、IPアドレス送信部は、IPアドレス問合信号の送信元デバイスに向けて、通信装置のIPアドレスを送信しなくてもよい。この構成によれば、プロセッサが低消費状態である間に、IPアドレス問合信号が受信される場合に、プロセッサが高消費状態に移行される頻度を少なくすることができる。この結果、通信装置の消費電力を低減することができる。また、プロセッサが高消費状態である間に、IPアドレス問合信号が受信される場合に、通信装置は、通信装置のIPアドレスが登録サーバに登録されているのか否かに関わらず、IPアドレスを送信元デバイスに送信する。従って、通信装置は、通信装置のIPアドレスを、送信元デバイスに適切に供給することができる。   The communication apparatus may include a processor capable of transitioning between a high power consumption state with relatively high power consumption and a low power consumption state with relatively low power consumption. The processor may include a first registration determination unit and an IP address transmission unit. The processor may further include a transition control unit that shifts the processor between the high consumption state and the low consumption state. When an IP address inquiry signal is received while the processor is in a high-consumption state, the IP address transmission unit determines whether the IP address of the communication device is registered in the registration server. The IP address of the communication apparatus may be transmitted to the inquiry signal transmission source device. When the IP address inquiry signal is received while the processor is in the low consumption state and it is determined that the IP address of the communication device is not registered in the registration server, the migration control unit consumes the processor low The IP address transmission unit may transmit the IP address of the communication device to the device that is the transmission source of the inquiry signal. Transition is made when it is determined that the IP address of the communication device is registered in the registration server when the above specific signal that is an IP address inquiry signal is received while the processor is in a low consumption state. The control unit does not shift the processor from the low consumption state to the high consumption state, and the IP address transmission unit does not have to transmit the IP address of the communication apparatus toward the transmission source device of the IP address inquiry signal. According to this configuration, when the IP address inquiry signal is received while the processor is in the low consumption state, the frequency with which the processor is shifted to the high consumption state can be reduced. As a result, the power consumption of the communication device can be reduced. Further, when an IP address inquiry signal is received while the processor is in a high consumption state, the communication device can determine whether the IP address of the communication device is registered in the registration server. To the source device. Therefore, the communication apparatus can appropriately supply the IP address of the communication apparatus to the transmission source device.

通信装置は、第1の信号送信部と第2の信号送信部と第2の登録判断部とをさらに備えていてもよい。第1の信号送信部は、ネットワークに接続されている特定のデバイスのIPアドレスを、登録サーバから取得するための第1の取得信号を、登録サーバに送信してもよい。第2の信号送信部は、上記の特定のデバイスのIPアドレスを、上記の特定のデバイスから取得するための第2の取得信号を、ブロードキャスト及びマルチキャストの少なくとも一方で送信してもよい。第2の登録判断部は、上記の特定のデバイスのIPアドレスが取得されるべき際に、上記の特定のデバイスのIPアドレスが、登録サーバに登録されているのか否かを判断してもよい。上記の特定のデバイスのIPアドレスが登録サーバに登録されていないと判断される場合に、第2の信号送信部は、第2の取得信号をブロードキャスト及びマルチキャストの少なくとも一方で送信してもよい。上記の特定のデバイスのIPアドレスが登録サーバに登録されていると判断される場合に、第1の信号送信部は、第1の取得信号を登録サーバに送信し、第2の信号送信部は、第2の取得信号を送信しなくてもよい。この構成によると、通信装置は、上記の特定のデバイスのIPアドレスが登録サーバに登録されていると判断される場合に、第1の取得信号を登録サーバに送信するが、第2の取得信号を送信しない。上記の特定のデバイスのIPアドレスが登録サーバに登録されている場合には、通信装置は、上記の特定のデバイスからIPアドレスを取得しなくても、登録サーバからIPアドレスを取得することができる。この場合、第2の取得信号が送信されないために、通信装置の省電力化を実現し得る。   The communication apparatus may further include a first signal transmission unit, a second signal transmission unit, and a second registration determination unit. The first signal transmission unit may transmit a first acquisition signal for acquiring an IP address of a specific device connected to the network from the registration server to the registration server. The second signal transmission unit may transmit a second acquisition signal for acquiring the IP address of the specific device from the specific device by at least one of broadcast and multicast. The second registration determination unit may determine whether the IP address of the specific device is registered in the registration server when the IP address of the specific device is to be acquired. . When it is determined that the IP address of the specific device is not registered in the registration server, the second signal transmission unit may transmit the second acquisition signal by at least one of broadcast and multicast. When it is determined that the IP address of the specific device is registered in the registration server, the first signal transmission unit transmits the first acquisition signal to the registration server, and the second signal transmission unit The second acquisition signal may not be transmitted. According to this configuration, the communication apparatus transmits the first acquisition signal to the registration server when it is determined that the IP address of the specific device is registered in the registration server. Do not send. When the IP address of the specific device is registered in the registration server, the communication apparatus can acquire the IP address from the registration server without acquiring the IP address from the specific device. . In this case, since the second acquisition signal is not transmitted, power saving of the communication device can be realized.

なお、上記の通信装置を実現するための制御方法、コンピュータプログラム、及び、当該コンピュータプログラムが記憶された記憶媒体も、新規で有用である。また、上記の通信装置と上記の登録サーバとを含むシステムも新規で有用である。   A control method, a computer program, and a storage medium storing the computer program for realizing the communication apparatus are also novel and useful. A system including the communication device and the registration server is also new and useful.

ネットワークシステムの構成を示す。The structure of a network system is shown. メインCPUが実行する処理のフローチャートを示す。The flowchart of the process which main CPU performs is shown. メインCPUが実行するIPアドレス設定処理のフローチャートを示す。3 shows a flowchart of an IP address setting process executed by the main CPU. メインCPUが実行する登録済フラグ変更処理のフローチャートを示す。The flowchart of the registered flag change process which main CPU performs is shown. サブCPUが実行する処理のフローチャートを示す。The flowchart of the process which sub CPU performs is shown. メイン及びサブCPUが実行する名前解決処理のフローチャートを示す。6 shows a flowchart of name resolution processing executed by the main and sub CPUs. 各装置が実行する処理のシーケンス図を示す。The sequence diagram of the process which each apparatus performs is shown. 多機能機10が名前解決を実行する場合のシーケンス図を示す。FIG. 6 shows a sequence diagram when the multi-function device 10 executes name resolution.

図1に示すように、ネットワークシステム2は、PC100と、多機能機(即ちPC100の周辺機器)10と、サーバ200と、を備える。各装置10,100,200は、LAN4を介して、相互に通信可能である。   As shown in FIG. 1, the network system 2 includes a PC 100, a multi-function device (that is, a peripheral device of the PC 100) 10, and a server 200. The devices 10, 100, and 200 can communicate with each other via the LAN 4.

(多機能機10の構成)
図1に示すように、多機能機10は、ASIC(Application Specific Integrated Circuit)12、フラッシュメモリ70、SDRAM80、ネットワークインターフェイス90、プリンタエンジン92、及び、表示パネル94を備える。
(Configuration of multi-function device 10)
As shown in FIG. 1, the multi-function device 10 includes an application specific integrated circuit (ASIC) 12, a flash memory 70, an SDRAM 80, a network interface 90, a printer engine 92, and a display panel 94.

ASIC12は、メインCPU20、メイン用クロック回路36、サブCPU40、サブ用クロック回路42、SRAM60、SDRAM制御回路64、及び、MACコントローラ66を備える。   The ASIC 12 includes a main CPU 20, a main clock circuit 36, a sub CPU 40, a sub clock circuit 42, an SRAM 60, an SDRAM control circuit 64, and a MAC controller 66.

メインCPU20は、SDRAM80に格納されているプログラム82に従って様々な処理を実行する。これにより、IPアドレス送信部22、記憶制御部24、問合部26、確認部28、第1の信号送信部30、第2の信号送信部32、及び、第2の登録判断部34の機能が実現される。メイン用クロック回路36は、メインCPU20にクロック信号を供給する。メイン用クロック回路36からメインCPU20にクロック信号が供給されている間は、メインCPU20は非スリープ状態である。メインCPU20にクロック信号が供給されていない間は、メインCPU20はスリープ状態である。メインCPU20のスリープ状態は、メインCPU20の非スリープ状態と比較して、消費電力が低い状態である。メイン用クロック回路36は、サブCPU40によってメインCPU20へのクロック信号の供給と停止を制御可能である。   The main CPU 20 executes various processes according to the program 82 stored in the SDRAM 80. Thereby, the functions of the IP address transmission unit 22, the storage control unit 24, the inquiry unit 26, the confirmation unit 28, the first signal transmission unit 30, the second signal transmission unit 32, and the second registration determination unit 34 Is realized. The main clock circuit 36 supplies a clock signal to the main CPU 20. While the clock signal is supplied from the main clock circuit 36 to the main CPU 20, the main CPU 20 is in a non-sleep state. While the clock signal is not supplied to the main CPU 20, the main CPU 20 is in a sleep state. The sleep state of the main CPU 20 is a state in which power consumption is lower than the non-sleep state of the main CPU 20. The main clock circuit 36 can control the supply and stop of the clock signal to the main CPU 20 by the sub CPU 40.

サブCPU40は、SRAM60に格納されているプログラム62に従って様々な処理を実行する。これにより、第1の登録判断部44、記憶制御部46、第2の登録判断部48、信号判断部50、移行制御部52、第1の信号送信部54、第2の信号送信部56、及び、確認部58の機能が実現される。サブ用クロック回路42は、サブCPU40にクロック信号を供給する。サブ用クロック回路42のクロック信号の周波数は、メイン用クロック回路36のクロック信号の周波数よりも低い。従って、メインCPU20を駆動するための消費電力と比べて、サブCPU40を駆動するための消費電力は低い。さらに、メインCPU20の処理速度は、サブCPU40の処理速度よりも速い。サブ用クロック回路42は、多機能機10の電源がONにされるとサブCPU40にクロック信号を供給し、多機能機10の電源がOFFにされるとクロック信号を停止する。即ち、サブCPU40は、多機能機10の電源がONされている間、クロック信号が供給されている状態(非スリープ状態)で維持される。変形例では、サブCPU40は、メインCPU20が非スリープ状態である間、スリープ状態であってもよい。   The sub CPU 40 executes various processes according to the program 62 stored in the SRAM 60. Accordingly, the first registration determination unit 44, the storage control unit 46, the second registration determination unit 48, the signal determination unit 50, the transition control unit 52, the first signal transmission unit 54, the second signal transmission unit 56, And the function of the confirmation part 58 is implement | achieved. The sub clock circuit 42 supplies a clock signal to the sub CPU 40. The frequency of the clock signal of the sub clock circuit 42 is lower than the frequency of the clock signal of the main clock circuit 36. Therefore, the power consumption for driving the sub CPU 40 is lower than the power consumption for driving the main CPU 20. Furthermore, the processing speed of the main CPU 20 is faster than the processing speed of the sub CPU 40. The sub clock circuit 42 supplies a clock signal to the sub CPU 40 when the power of the multi-function device 10 is turned on, and stops the clock signal when the power of the multi-function device 10 is turned off. That is, the sub CPU 40 is maintained in a state where the clock signal is supplied (non-sleep state) while the power of the multi-function device 10 is turned on. In a modification, the sub CPU 40 may be in a sleep state while the main CPU 20 is in a non-sleep state.

SRAM60は、各CPU20,40からアクセス可能である。多機能機10の電源がONされると、メインCPU20は、フラッシュメモリ70内の圧縮されたプログラム72を展開して、展開済みのプログラム62をSRAM60に格納する。   The SRAM 60 can be accessed from the CPUs 20 and 40. When the power of the multi-function device 10 is turned on, the main CPU 20 expands the compressed program 72 in the flash memory 70 and stores the expanded program 62 in the SRAM 60.

SDRAM制御回路64は、サブCPU40からの指示に従って、SDRAM80に対するクロック信号の供給を開始又は停止して、消費電力が比較的に高い通常動作モードと、消費電力が比較的に低いセルフリフレッシュモードと、の間でSDRAM80の状態を移行させる。   The SDRAM control circuit 64 starts or stops the supply of the clock signal to the SDRAM 80 in accordance with an instruction from the sub CPU 40, and a normal operation mode with relatively high power consumption, a self-refresh mode with relatively low power consumption, The state of the SDRAM 80 is shifted between.

MACコントローラ66は、ネットワークインターフェイス90に接続されている。MACコントローラ66は、LAN4等を介して、ネットワークインターフェイス90でパケットが受信されると、メインCPU20又はサブCPU40の割込コントローラ(図示省略)にパケット割込要求信号を供給する。   The MAC controller 66 is connected to the network interface 90. When a packet is received by the network interface 90 via the LAN 4 or the like, the MAC controller 66 supplies a packet interrupt request signal to an interrupt controller (not shown) of the main CPU 20 or the sub CPU 40.

フラッシュメモリ70は、ASIC12の外部に設けられている。フラッシュメモリ70は、各CPU20,40からアクセス可能である。フラッシュメモリ70は、各CPU20,40によって実行されるプログラム62,82が圧縮された状態のプログラム72を格納している。   The flash memory 70 is provided outside the ASIC 12. The flash memory 70 can be accessed from the CPUs 20 and 40. The flash memory 70 stores a program 72 in which the programs 62 and 82 executed by the CPUs 20 and 40 are compressed.

SDRAM80は、メインCPU20からアクセス可能である。SDRAM80は、SRAM60よりもメモリの総容量が大きく、各CPU20,40がアクセス(読み出し、書き込み)可能な速度が高速である。このため、SDRAM80の消費電力は、SRAM60の消費電力と比べて高い。SDRAM80は、SDRAM制御回路64によって制御され、通常動作モードとセルフリフレッシュモードとの間で状態が移行する。   The SDRAM 80 is accessible from the main CPU 20. The SDRAM 80 has a larger total memory capacity than the SRAM 60, and the CPU 20 and 40 can access (read and write) at a high speed. For this reason, the power consumption of the SDRAM 80 is higher than the power consumption of the SRAM 60. The SDRAM 80 is controlled by the SDRAM control circuit 64, and the state shifts between the normal operation mode and the self-refresh mode.

プリンタエンジン92は、インクジェット方式、レーザ方式等の印刷機構を備える。プリンタエンジン92は、メインCPU20からの指示に従って、印刷を実行する。表示パネル94は、メインCPU20からの指示に従って、情報を表示する。   The printer engine 92 includes a printing mechanism such as an inkjet method or a laser method. The printer engine 92 executes printing in accordance with an instruction from the main CPU 20. The display panel 94 displays information in accordance with instructions from the main CPU 20.

(多機能機の状態移行)
多機能機10は、レディ状態とスリープ状態との間で、状態が移行する。多機能機10の電源がONされると、多機能機10は、レディ状態となる。
(Multifunction device status transition)
The state of the multi-function device 10 is changed between the ready state and the sleep state. When the power of the multi-function device 10 is turned on, the multi-function device 10 enters a ready state.

レディ状態では、2個のCPU20,40は非スリープ状態(クロックが供給されている状態)である。また、レディ状態では、2個のRAM60,80は通常動作モードである。レディ状態では、メインCPU20は、通常の処理を実行することができる。上記の通常の処理は、印刷指示パケットに従ったプリンタエンジン92での印刷処理、ユーザの表示パネル94への操作に従った表示処理等を含む。   In the ready state, the two CPUs 20 and 40 are in a non-sleep state (a state where a clock is supplied). In the ready state, the two RAMs 60 and 80 are in the normal operation mode. In the ready state, the main CPU 20 can execute normal processing. The normal processing includes printing processing by the printer engine 92 according to the print instruction packet, display processing according to the user's operation on the display panel 94, and the like.

多機能機10は、サブCPU40が後述する図5のS74,S76の移行処理を実行することによって、レディ状態からスリープ状態に移行する。スリープ状態では、メインCPU20はスリープ状態であり、サブCPU40は非スリープ状態であり、SRAM60は通常動作モードであり、SDRAM80はセルフリフレッシュモードである。多機能機10がスリープ状態であって、メインCPU20が上記の通常の処理(印刷処理、表示処理等)を実行すべき場合には、多機能機10は、レディ状態に移行する。   The multi-function device 10 shifts from the ready state to the sleep state when the sub CPU 40 executes a transition process of S74 and S76 in FIG. In the sleep state, the main CPU 20 is in the sleep state, the sub CPU 40 is in the non-sleep state, the SRAM 60 is in the normal operation mode, and the SDRAM 80 is in the self-refresh mode. When the multi-function device 10 is in the sleep state and the main CPU 20 is to execute the normal processing (printing process, display processing, etc.), the multi-function device 10 shifts to the ready state.

(サーバ200の構成)
サーバ200は、DHCP(Dynamic Host Configuration Protocol)サーバ210と、DNS(Domain Name System)サーバ220と、の機能を実現する。即ち、本実施例では、DHCPサーバ210とDNSサーバ220とは、一体に構成されている。なお、変形例では、DHCPサーバ210とDNSサーバ220とは、別体であってもよい。
(Configuration of server 200)
The server 200 realizes functions of a DHCP (Dynamic Host Configuration Protocol) server 210 and a DNS (Domain Name System) server 220. That is, in the present embodiment, the DHCP server 210 and the DNS server 220 are integrally configured. In the modification, the DHCP server 210 and the DNS server 220 may be separate.

DHCPサーバ210は、LAN4に接続されているデバイス(例えば、多機能機10、PC100等)からの要求に応じて、上記のデバイスにIPアドレス及びサブネットマスクを割り当てる。例えば、多機能機10は、IPアドレスの割り当てを要求する割当要求パケットをDHCPサーバ210に送信する。なお、割当要求パケットには、多機能機10のノード名(即ち「MFP10」)が含まれる。DHCPサーバ210は、予め決められているIPアドレスの範囲内から選択されるIPアドレスと、予め決められているサブネットマスクと、を多機能機10に割り当てる(送信する)。これにより、多機能機10は、DHCPサーバ210からIPアドレス及びサブネットマスクを取得して、多機能機10の設定値として記憶することができる。同様に、PC100は、DHCPサーバ210からIPアドレス及びサブネットマスクを取得して、PC100の設定値として記憶することができる。   The DHCP server 210 assigns an IP address and a subnet mask to the above device in response to a request from a device (for example, the multi-function device 10 or the PC 100) connected to the LAN 4. For example, the multi-function device 10 transmits an allocation request packet for requesting IP address allocation to the DHCP server 210. Note that the allocation request packet includes the node name of the multi-function device 10 (ie, “MFP 10”). The DHCP server 210 assigns (transmits) an IP address selected from a predetermined IP address range and a predetermined subnet mask to the multi-function device 10. Thereby, the multi-function device 10 can acquire the IP address and the subnet mask from the DHCP server 210 and store them as setting values of the multi-function device 10. Similarly, the PC 100 can acquire the IP address and subnet mask from the DHCP server 210 and store them as setting values of the PC 100.

(DNSサーバ220の構成)
DNSサーバ220は、IPアドレステーブル222を格納している。IPアドレステーブル222は、LAN4に接続されている複数のデバイス(例えば、多機能機10、PC100等)のそれぞれについて、当該デバイスのノード名(例えば「MFP10」、「PC100」)と、当該デバイスのIPアドレスと、の組合せを記憶可能である。即ち、DNSサーバ220は、ノード名とIPアドレスとの組み合わせを、IPアドレステーブル222に登録することができる。なお、変形例では、ノード名とIPアドレスとの組み合わせを登録する登録サーバは、WINS(Windows (登録商標) Internet Name Service)サーバであってもよい。
(Configuration of DNS server 220)
The DNS server 220 stores an IP address table 222. The IP address table 222 includes, for each of a plurality of devices (for example, the multi-function device 10 and the PC 100) connected to the LAN 4, the node names (for example, “MFP 10” and “PC 100”) of the device, Combinations with IP addresses can be stored. That is, the DNS server 220 can register the combination of the node name and the IP address in the IP address table 222. In a modification, the registration server that registers the combination of the node name and the IP address may be a WINS (Windows (registered trademark) Internet Name Service) server.

(DNSサーバ220へのIPアドレスの登録方法)
DHCPサーバ210は、LAN4に接続されているデバイス(例えば、多機能機10、PC100等)に、IPアドレスを割り当てると、割当要求パケットに含まれるノード名(例えば「MFP10」、「PC100」)と、割り当てたIPアドレスと、の組合せを、DNSサーバ220に供給する。DNSサーバ220は、DHCPサーバ210から取得されたノード名とIPアドレスとの組合せを、IPアドレステーブル222に登録する。
(Registration method of IP address to DNS server 220)
When the DHCP server 210 assigns an IP address to a device connected to the LAN 4 (for example, the multi-function device 10 or the PC 100), the node name (for example, “MFP 10” or “PC 100”) included in the assignment request packet. The combination of the assigned IP address is supplied to the DNS server 220. The DNS server 220 registers the combination of the node name and the IP address acquired from the DHCP server 210 in the IP address table 222.

DNSサーバ220は、さらに、LAN4に接続されているデバイス(例えば、多機能機10、PC100等)から、IPアドレスの登録の要求を受けると、ノード名とIPアドレスとの組合せを、IPアドレステーブル222に登録する。例えば、PC100は、PC100自身のIPアドレスの登録を要求する登録要求パケットをDNSサーバ220に送信する。なお、当該登録要求パケットには、PC100自身のノード名「PC100」と、PC100自身のIPアドレスと、の組合せが含まれる。また、PC100は、LAN4に接続されている他のデバイス(例えば多機能機10)のIPアドレスの登録を要求する登録要求パケットをDNSサーバ220に送信することができる。当該登録要求パケットには、多機能機10のノード名「MFC10」と、多機能機10のIPアドレスと、の組合せが含まれる。   When the DNS server 220 further receives an IP address registration request from a device (for example, the multi-function device 10 or the PC 100) connected to the LAN 4, the DNS server 220 displays the combination of the node name and the IP address in the IP address table. 222 is registered. For example, the PC 100 transmits a registration request packet for requesting registration of the IP address of the PC 100 itself to the DNS server 220. The registration request packet includes a combination of the node name “PC100” of the PC 100 itself and the IP address of the PC 100 itself. Further, the PC 100 can transmit a registration request packet for requesting registration of an IP address of another device (for example, the multi-function device 10) connected to the LAN 4 to the DNS server 220. The registration request packet includes a combination of the node name “MFC10” of the multi-function device 10 and the IP address of the multi-function device 10.

(PC100の構成)
PC100は、LAN4に接続されている他のデバイス(例えば、多機能機10等)のIPアドレスを問い合わせるIPアドレス問合せパケットを、DNSサーバ220に送信(ユニキャスト)することができる。DNSサーバ220は、IPアドレス問合せパケットを受信すると、IPアドレステーブル222から、IPアドレス問合せパケットに含まれているノード名(例えば多機能機10のノード名)と組み合わされているIPアドレスを特定して、PC100に送信する。PC100は、DNSサーバ220からIPアドレスを受信することによって、他のデバイス(例えば多機能機10)のIPアドレスを知ることができる。以下では、DNSサーバ220にIPアドレス問合せパケットを送信することによってIPアドレスを取得する手法のことを「静的な名前解決」と呼び、IPアドレス問合せパケットのことを「名前解決パケット」と呼ぶ。
(Configuration of PC100)
The PC 100 can transmit (unicast) an IP address inquiry packet for inquiring an IP address of another device (for example, the multi-function device 10) connected to the LAN 4 to the DNS server 220. When the DNS server 220 receives the IP address inquiry packet, the DNS server 220 specifies an IP address combined with the node name (for example, the node name of the multi-function device 10) included in the IP address inquiry packet from the IP address table 222. To the PC 100. The PC 100 can know the IP address of another device (for example, the multi-function device 10) by receiving the IP address from the DNS server 220. Hereinafter, a method for acquiring an IP address by transmitting an IP address inquiry packet to the DNS server 220 is referred to as “static name resolution”, and an IP address inquiry packet is referred to as a “name resolution packet”.

また、PC100は、名前解決パケットをブロードキャスト又はマルチキャストでLAN4に送信することもできる。名前解決パケットのプロトコルは、NetBIOS(Network Basic Input Output System)又はLLMNR(Link-local Multicast Name Resolution)である。この場合、LAN4に接続されている各デバイスが名前解決パケットを受信する。各デバイスは、名前解決パケットに自身のノード名が含まれている場合に、自身のIPアドレスを含む応答をPC100に送信する。PC100は、名前解決パケットの応答を受信することによって、LAN4に接続されているデバイス(例えば、多機能機10等)のIPアドレスを取得することができる。以下では、名前解決パケットをブロードキャスト等で送信することによって、LAN4に接続されているデバイスからIPアドレスを取得する手法のことを「動的な名前解決」と呼ぶ。   The PC 100 can also transmit the name resolution packet to the LAN 4 by broadcast or multicast. The protocol of the name resolution packet is NetBIOS (Network Basic Input Output System) or LLMNR (Link-local Multicast Name Resolution). In this case, each device connected to the LAN 4 receives the name resolution packet. Each device transmits a response including its own IP address to the PC 100 when its own node name is included in the name resolution packet. The PC 100 can acquire the IP address of a device (for example, the multi-function device 10) connected to the LAN 4 by receiving the response of the name resolution packet. Hereinafter, a technique for acquiring an IP address from a device connected to the LAN 4 by transmitting a name resolution packet by broadcast or the like is referred to as “dynamic name resolution”.

PC100は、静的な名前解決と動的な名前解決との両方の名前解決を同時的に実行することができる。例えば、PC100が、多機能機10のIPアドレスを取得するために、上記の両方の名前解決を実行した結果、DNSサーバ220及び多機能機10の両者から多機能機10のIPアドレスを取得することができる場合には、より早く取得されたIPアドレスを、多機能機10のIPアドレスとして利用する。   The PC 100 can simultaneously perform both name resolution and static name resolution. For example, the PC 100 obtains the IP address of the multi-function device 10 from both the DNS server 220 and the multi-function device 10 as a result of executing both of the above name resolutions in order to obtain the IP address of the multi-function device 10. If it can, the IP address acquired earlier is used as the IP address of the multi-function device 10.

(メインCPU20が実行する処理)
次いで、非スリープ状態(即ち多機能機10がレディ状態)のメインCPU20が実行する処理の内容について説明する。なお、スリープ状態のメインCPU20は、クロック供給が停止されているために、処理を実行することができない。図2の処理は、メインCPU20が非スリープ状態にある間に、繰り返し実行される。
(Processing executed by the main CPU 20)
Next, the contents of processing executed by the main CPU 20 in the non-sleep state (that is, the multi-function device 10 is in the ready state) will be described. The main CPU 20 in the sleep state cannot execute processing because the clock supply is stopped. The process of FIG. 2 is repeatedly executed while the main CPU 20 is in the non-sleep state.

S12では、メインCPU20は、LAN4を介して、パケットが受信されることを監視している。具体的には、ネットワークインターフェイス90でパケットが受信される場合、MACコントローラ66は、パケット割込要求信号を、メインCPU20に供給する。メインCPU20は、パケット割込要求信号を取得すると、受信されたパケットを、ネットワークインターフェイス90からSDRAM80に移動する。   In S <b> 12, the main CPU 20 monitors reception of a packet via the LAN 4. Specifically, when a packet is received by the network interface 90, the MAC controller 66 supplies a packet interrupt request signal to the main CPU 20. When the main CPU 20 acquires the packet interrupt request signal, the main CPU 20 moves the received packet from the network interface 90 to the SDRAM 80.

S14では、メインCPU20は、SDRAM80に移動されたパケットを解析して、受信されたパケットが示すプロトコルの種類が、名前解決プロトコルであるのか否かを判断する。具体的には、メインCPU20は、受信されたパケットのヘッダに含まれる宛先ポート番号が、NetBIOS又はLLMNRのポート番号である(例えばポート番号が137、5355)場合、S14でYESと判断する。メインCPU20は、受信されたパケットのヘッダに含まれる宛先ポート番号が、NetBIOS又はLLMNRのポート番号のポート番号以外である場合、S14でNOと判断する。   In S14, the main CPU 20 analyzes the packet moved to the SDRAM 80, and determines whether or not the protocol type indicated by the received packet is a name resolution protocol. Specifically, when the destination port number included in the header of the received packet is a NetBIOS or LLMNR port number (for example, the port numbers are 137 and 5355), the main CPU 20 determines YES in S14. When the destination port number included in the header of the received packet is other than the port number of the NetBIOS or LLMNR port number, the main CPU 20 determines NO in S14.

S14でYESの場合、S16において、IPアドレス送信部22は、名前解決パケットの応答として、多機能機10のIPアドレスを、名前解決パケットの送信元デバイス(例えばPC100)に送信して、S20に進む。一方、S14でNOの場合、S18において、メインCPU20は、S12で受信されたパケットに従った処理(例えば上記の通常の処理(印刷指示パケットに従った印刷処理等))を実行して、S20に進む。   If YES in S14, in S16, the IP address transmission unit 22 transmits the IP address of the multi-function device 10 to the source device (for example, PC 100) of the name resolution packet as a response to the name resolution packet, and then proceeds to S20. move on. On the other hand, in the case of NO in S14, in S18, the main CPU 20 executes processing according to the packet received in S12 (for example, the above-described normal processing (print processing according to the print instruction packet, etc.)), and S20 Proceed to

S20において、メインCPU20は、スリープ移行条件が成立するのか否かを判断する。具体的には、メインCPU20は、例えば、(1)多機能機10がパケットを外部に送信中であるのか否か、(2)未処理パケットがSDRAM80に格納されているのか否か、(3)多機能機10にTCP接続しているデバイス(例えばPC100)があるのか否か、(4)多機能機10が起動又はシャットダウンのための処理を実行しているのか否か、(5)ネットワークの負荷が高いのか否か、を含む複数個の条件について判断する。   In S20, the main CPU 20 determines whether or not the sleep transition condition is satisfied. Specifically, the main CPU 20 determines, for example, (1) whether the multi-function device 10 is transmitting a packet to the outside, (2) whether an unprocessed packet is stored in the SDRAM 80, (3 ) Whether there is a device (for example, PC 100) connected to the multi-function device 10 via TCP, (4) Whether the multi-function device 10 is executing processing for startup or shutdown, (5) Network It is judged about a plurality of conditions including whether or not the load is high.

例えば、メインCPU20がPC100等からのパケットに対する応答を返信している場合には、上記の(1)でYESと判断される。例えば、多機能機10がWebサーバ機能を有しており、PC100が多機能機10のWebサーバにTCP接続中である場合には、上記の(3)でYESと判断される。例えば、S20の処理を実行する直前の所定の期間に受信されたパケット数が所定の個数を超えている場合には、多機能機10が処理すべきパケットを受信する可能性が高いために、上記の(5)でYESと判断される。上記の(1)から(5)の条件のいずれもが否定的に判断される場合、スリープ移行条件は成立している。この場合、メインCPU20は、S20でYESと判断する。   For example, when the main CPU 20 returns a response to the packet from the PC 100 or the like, YES is determined in (1) above. For example, if the multi-function device 10 has a Web server function and the PC 100 is in TCP connection with the Web server of the multi-function device 10, it is determined YES in (3) above. For example, when the number of packets received in a predetermined period immediately before executing the process of S20 exceeds a predetermined number, the multi-function device 10 is highly likely to receive a packet to be processed. It is determined as YES in (5) above. When any of the above conditions (1) to (5) is determined negatively, the sleep transition condition is satisfied. In this case, the main CPU 20 determines YES in S20.

スリープ移行条件が成立しないと判断される場合(S20でNO)、S12に戻る。一方、スリープ移行条件が成立すると判断される場合(S20でYES)、S22において、メインCPU20は、代理応答情報を、SDRAM80からSRAM60に移動させる。代理応答情報は、多機能機10がスリープ状態(即ちメインCPU20がスリープ状態)である間に受信されたパケットに従った処理を、サブCPU40が実行するための情報(例えばプリンタエンジン92のインクカートリッジ等の残量等、多機能機10のステータスを示す情報)を含む。なお、メインCPU20は、さらに、後述する名前解決不要フラグ及び登録済フラグを、SDRAM80からSRAM60に移動させる。   If it is determined that the sleep transition condition is not satisfied (NO in S20), the process returns to S12. On the other hand, if it is determined that the sleep transition condition is satisfied (YES in S20), the main CPU 20 moves the proxy response information from the SDRAM 80 to the SRAM 60 in S22. The proxy response information is information (for example, an ink cartridge of the printer engine 92) for the sub CPU 40 to execute processing according to a packet received while the multi-function device 10 is in the sleep state (that is, the main CPU 20 is in the sleep state). Information indicating the status of the multi-function device 10, such as the remaining amount. The main CPU 20 further moves a name resolution unnecessary flag and a registered flag, which will be described later, from the SDRAM 80 to the SRAM 60.

S24では、メインCPU20は、LAN4を介して受信されるパケットを格納するためのRAMを、SDRAM80からSRAM60に切り替える。続いて、S26では、メインCPU20は、サブCPU40以外からの割込要求をマスク(禁止)する。次いで、S28では、メインCPU20は、サブCPU40に処理を開始させるための開始割込要求信号を、サブCPU40に供給する。S30では、メインCPU20は、WAIT命令を実行する。WAIT命令が実行されると、メインCPU20は、割込要求信号が供給されるまで待機する実行停止状態となる。   In S24, the main CPU 20 switches the RAM for storing packets received via the LAN 4 from the SDRAM 80 to the SRAM 60. Subsequently, in S26, the main CPU 20 masks (prohibits) interrupt requests from other than the sub CPU 40. Next, in S <b> 28, the main CPU 20 supplies the sub CPU 40 with a start interrupt request signal for causing the sub CPU 40 to start processing. In S30, the main CPU 20 executes a WAIT command. When the WAIT instruction is executed, the main CPU 20 enters an execution stop state in which it waits until an interrupt request signal is supplied.

メインCPU20は、S32において、サブCPU40から割込要求信号が供給される(後述の図5のS94参照)と、WAIT命令を解除して、S34に進む。S34では、メインCPU20は、SRAM60に格納されている未処理のパケットを、SDRAM80に移動させる。S36では、メインCPU20は、SRAM60に格納されている情報(多機能機10のステータス情報、名前解決不要フラグ及び登録済フラグを含む)を、SDRAM80に移動させる。次いで、S38では、メインCPU20は、S26で実行したマスクを解除して、S12に戻る。   In S32, when the interrupt request signal is supplied from the sub CPU 40 in S32 (see S94 in FIG. 5 described later), the main CPU 20 cancels the WAIT command and proceeds to S34. In S <b> 34, the main CPU 20 moves unprocessed packets stored in the SRAM 60 to the SDRAM 80. In S <b> 36, the main CPU 20 moves the information stored in the SRAM 60 (including the status information of the multi-function device 10, the name resolution unnecessary flag and the registered flag) to the SDRAM 80. Next, in S38, the main CPU 20 cancels the mask executed in S26 and returns to S12.

(メインCPUが実行するIPアドレス設定処理)
続いて、メインCPU20が実行する図3のIPアドレス設定処理の内容を説明する。多機能機10のIPアドレスは、DHCPサーバ210から取得されるか、あるいは、ユーザによる表示パネル94の操作(入力操作)によってIPアドレスが入力されるか、のどちらかによって、多機能機10に設定される。ユーザは、表示パネル94を操作することによって、ユーザがIPアドレスを入力するのか(即ちSTATICのIPアドレスの設定)、DHCPサーバ210からIPアドレスを取得させるのか(即ちDHCPのIPアドレスの設定)、を選択することができる。
(IP address setting process executed by the main CPU)
Next, the contents of the IP address setting process of FIG. 3 executed by the main CPU 20 will be described. The IP address of the multi-function device 10 is acquired from the DHCP server 210 or is input to the multi-function device 10 depending on whether the IP address is input by an operation (input operation) of the display panel 94 by the user. Is set. Whether the user operates the display panel 94 to input an IP address (i.e., setting of the STATIC IP address) or to obtain an IP address from the DHCP server 210 (i.e., setting of the DHCP IP address); Can be selected.

多機能機10の現在の設定が、DHCPのIPアドレスの設定である場合、メインCPU20は、DHCPサーバ210から定期的にIPアドレスを取得し、多機能機10のIPアドレスを更新する。一方、多機能機10の現在の設定が、STATICのIPアドレスの設定である場合、メインCPU20は、ユーザによるIPアドレス及びサブネットマスクの入力操作が再び実行されるまで、前回の入力操作で入力されたIPアドレス及びサブネットマスクが変更されない。   When the current setting of the multi-function device 10 is a DHCP IP address setting, the main CPU 20 periodically acquires an IP address from the DHCP server 210 and updates the IP address of the multi-function device 10. On the other hand, when the current setting of the multi-function device 10 is the setting of the IP address of the STATIC, the main CPU 20 is input by the previous input operation until the input operation of the IP address and the subnet mask by the user is executed again. The IP address and subnet mask are not changed.

多機能機10の現在の設定が、STATICのIPアドレスの設定である場合、S42では、メインCPU20は、ユーザによるIPアドレス及びサブネットマスクの入力操作が実行されることを監視する。一方、多機能機10の現在の設定が、DHCPのIPアドレスの設定である場合、S42では、メインCPU20は、DHCPサーバ210から、IPアドレス及びサブネットマスクを取得するタイミングの到来を監視する。具体的に言うと、メインCPU20は、現在の日時が、DHCPサーバ210から前回に取得されたIPアドレスの有効期限を経過することを監視する。   When the current setting of the multi-function device 10 is the setting of the STATIC IP address, in S42, the main CPU 20 monitors whether the user performs an input operation of the IP address and the subnet mask. On the other hand, if the current setting of the multi-function device 10 is a DHCP IP address setting, the main CPU 20 monitors the arrival of the timing for acquiring the IP address and subnet mask from the DHCP server 210 in S42. Specifically, the main CPU 20 monitors whether the current date and time has passed the expiration date of the IP address acquired from the DHCP server 210 last time.

ユーザによってIPアドレスの入力操作が実行された場合、メインCPU20は、入力されたIPアドレス及びサブネットマスクを、多機能機10のIPアドレス及びサブネットマスクとして、SDRAM80に格納する。次いで、S44では、メインCPU20は、DNSサーバ220のIPアドレスを指定させる画面を、表示パネル94に表示させる。メインCPU20は、DNSサーバ220のIPアドレスを指定するアドレス指定操作が、ユーザによって実行されることを監視する。   When an IP address input operation is performed by the user, the main CPU 20 stores the input IP address and subnet mask in the SDRAM 80 as the IP address and subnet mask of the multi-function device 10. Next, in S44, the main CPU 20 causes the display panel 94 to display a screen for designating the IP address of the DNS server 220. The main CPU 20 monitors whether an address specifying operation for specifying the IP address of the DNS server 220 is executed by the user.

S44で表示パネル94に表示される画面は、以下の2種類の画面のうちのどちらかの画面である。2種類の画面のどちらの画面が表示されるのかは、DNSサーバ220のIPアドレスが、SDRAM80に現在格納されているのか否かに応じて決定される。   The screen displayed on the display panel 94 in S44 is one of the following two types of screens. Which of the two types of screen is displayed is determined depending on whether or not the IP address of the DNS server 220 is currently stored in the SDRAM 80.

DNSサーバ220のIPアドレスがSDRAM80に現在格納されている場合(例えば、過去のS44の処理でDNSサーバ220のIPアドレスが指定された場合)、S44において、メインCPU20は、SDRAM80に現在格納されているDNSサーバ220のIPアドレスと、「OK」ボタンと、を含む画面を、表示パネル94に表示させる。ユーザは、表示パネル94に表示されたDNSサーバ220のIPアドレスを確認して、表示パネル94の「OK」ボタンを操作することができる。一方、DNSサーバ220のIPアドレスがSDRAM80に現在格納されていない場合、S44において、メインCPU20は、DNSサーバ220のIPアドレスを入力するための入力ボックスを含む画面を、表示パネル94に表示させることができる。ユーザは、表示パネル94を操作することによって、DNSサーバ220のIPアドレスを入力する操作を実行することができる。   When the IP address of the DNS server 220 is currently stored in the SDRAM 80 (for example, when the IP address of the DNS server 220 is specified in the past processing of S44), the main CPU 20 is currently stored in the SDRAM 80 in S44. A screen including the IP address of the existing DNS server 220 and an “OK” button is displayed on the display panel 94. The user can confirm the IP address of the DNS server 220 displayed on the display panel 94 and operate the “OK” button on the display panel 94. On the other hand, if the IP address of the DNS server 220 is not currently stored in the SDRAM 80, the main CPU 20 causes the display panel 94 to display a screen including an input box for inputting the IP address of the DNS server 220 in S44. Can do. The user can execute an operation of inputting the IP address of the DNS server 220 by operating the display panel 94.

IPアドレスの指定操作(「OK」ボタンの操作、又は、DNSサーバ220のIPアドレスの入力操作)が実行された場合、メインCPU20は、多機能機10のIPアドレスがDNSサーバ220に登録されていると判断して(S44でYESと判断して)、S54に進む。S54では、メインCPU20の記憶制御部24は、SDRAM80内の名前解決不要フラグを「1」に設定する。S54を終えると、IPアドレス設定処理が終了する。   When an IP address designation operation (“OK” button operation or DNS server 220 IP address input operation) is executed, the main CPU 20 registers the IP address of the multi-function device 10 in the DNS server 220. (YES in S44), the process proceeds to S54. In S54, the storage control unit 24 of the main CPU 20 sets the name resolution unnecessary flag in the SDRAM 80 to “1”. When S54 ends, the IP address setting process ends.

一方、S44で表示パネル94に画面が表示されてから、所定の期間(例えば5分間)経過してもユーザによる操作がなされない場合、又は、ユーザによってキャンセル操作が実行される場合、メインCPU20は、多機能機10のIPアドレスがDNSサーバ220に登録されていないと判断して(S44でNOと判断して)、S46に進む。S46では、メインCPU20の記憶制御部24は、SDRAM80内の名前解決不要フラグを「0」に設定して、IPアドレス設定処理を終了する。   On the other hand, when no operation is performed by the user even after a predetermined period (for example, 5 minutes) has elapsed since the screen is displayed on the display panel 94 in S44, or when the cancel operation is executed by the user, the main CPU 20 If it is determined that the IP address of the multi-function device 10 is not registered in the DNS server 220 (NO in S44), the process proceeds to S46. In S46, the storage control unit 24 of the main CPU 20 sets the name resolution unnecessary flag in the SDRAM 80 to “0” and ends the IP address setting process.

S42でDHCPサーバ210からアドレスを取得すべきタイミングであると判断される場合、S48において、メインCPU20は、DHCPサーバ210から、IPアドレスを取得する。即ち、メインCPU20は、多機能機10のノード名(即ち「MFP10」)を含む割当要求パケットを、DHCPサーバ210に送信する。DHCPサーバ210は、IPアドレスと、予め決められているサブネットマスクと、を多機能機10に割り当てる(送信する)。これにより、メインCPU20は、DHCPサーバ210からIPアドレス及びサブネットマスクを取得する。メインCPU20は、取得されたIPアドレス及びサブネットマスクを、多機能機10のIPアドレス及びサブネットマスクとして、SDRAM80に格納する。   If it is determined in S42 that it is time to acquire an address from the DHCP server 210, the main CPU 20 acquires an IP address from the DHCP server 210 in S48. That is, the main CPU 20 transmits an allocation request packet including the node name of the multi-function device 10 (that is, “MFP 10”) to the DHCP server 210. The DHCP server 210 assigns (transmits) an IP address and a predetermined subnet mask to the multi-function device 10. As a result, the main CPU 20 acquires the IP address and subnet mask from the DHCP server 210. The main CPU 20 stores the acquired IP address and subnet mask in the SDRAM 80 as the IP address and subnet mask of the multi-function device 10.

上述したように、DHCPサーバ210は、多機能機10にIPアドレスを割り当てると、割り当てたIPアドレスと多機能機10のノード名とを、IPアドレステーブル222に登録するように、DNSサーバ220に要求する。   As described above, when the DHCP server 210 assigns an IP address to the multi-function device 10, the DHCP server 210 causes the DNS server 220 to register the assigned IP address and the node name of the multi-function device 10 in the IP address table 222. Request.

次いで、S50では、問合部26は、多機能機10のIPアドレスを登録したのか否かを、DNSサーバ220に問い合わせる。具体的に言うと、問合部26は、所定の問合信号をDNSサーバ220に送信する。S52では、問合部26は、S50で送信された問合信号に応じて、登録完了情報をDNSサーバ220から受信することを監視する。なお、登録完了情報は、DNSサーバ220に多機能機10のIPアドレスが登録されたことを示す情報である。   Next, in S50, the inquiry unit 26 inquires of the DNS server 220 whether or not the IP address of the multi-function device 10 has been registered. Specifically, the inquiry unit 26 transmits a predetermined inquiry signal to the DNS server 220. In S52, the inquiry unit 26 monitors that registration completion information is received from the DNS server 220 in accordance with the inquiry signal transmitted in S50. The registration completion information is information indicating that the IP address of the multi-function device 10 is registered in the DNS server 220.

S52で登録完了情報が受信されると、S54に進む。上述したように、S54では、メインCPU20の記憶制御部24は、SDRAM80に格納されている名前解決不要フラグを「1」にして、IPアドレス設定処理を終了する。なお、S44においてYESの場合にも、S54に進む。S44において、ユーザからDNSサーバ220のIPアドレスが指定される場合、多機能機10のIPアドレスが、ユーザによって、既にDNSサーバ220に登録されていると推測されるからである。   When registration completion information is received in S52, the process proceeds to S54. As described above, in S54, the storage control unit 24 of the main CPU 20 sets the name resolution unnecessary flag stored in the SDRAM 80 to “1”, and ends the IP address setting process. In addition, also when it is YES in S44, it progresses to S54. This is because when the IP address of the DNS server 220 is designated by the user in S44, it is assumed that the IP address of the multi-function device 10 is already registered in the DNS server 220 by the user.

なお、変形例では、S44でYESの場合(即ち、DNSサーバ220のIPアドレスが指定された場合)、問合部26は、多機能機10のIPアドレスを登録したのか否かを、DNSサーバ220に問い合わせてもよい。そして、メインCPU20の記憶制御部24は、登録完了情報がDNSサーバ220から受信される場合に、S54の処理を実行し、登録完了情報がDNSサーバ220から受信されない場合に、S46の処理を実行してもよい。あるいは、別の変形例では、S44でYESの場合、メインCPU20は、多機能機10のIPアドレスとノード名とを含む登録要求パケットを、DNSサーバ220に送信してもよい。その後に、メインCPU20の記憶制御部24は、S54の処理を実行してもよい。   In the modified example, in the case of YES in S44 (that is, when the IP address of the DNS server 220 is designated), the inquiry unit 26 determines whether or not the IP address of the multi-function device 10 has been registered. 220 may be queried. The storage control unit 24 of the main CPU 20 executes the process of S54 when registration completion information is received from the DNS server 220, and executes the process of S46 when registration completion information is not received from the DNS server 220. May be. Alternatively, in another modified example, when YES is obtained in S44, the main CPU 20 may transmit a registration request packet including the IP address and node name of the multi-function device 10 to the DNS server 220. Thereafter, the storage control unit 24 of the main CPU 20 may execute the process of S54.

また、別の変形例では、S50とS52の処理に変えて、以下の処理を実行してもよい。上述したように、S42において、DHCPサーバ210からIPアドレスを取得すべきタイミングであると判断され(S42でYES)、S48において、メインCPU20は、割当要求パケットを、DHCPサーバ210に送信する。   In another modification, the following processing may be executed instead of the processing of S50 and S52. As described above, in S42, it is determined that it is time to acquire an IP address from the DHCP server 210 (YES in S42), and in S48, the main CPU 20 transmits an allocation request packet to the DHCP server 210.

本変形例では、DHCPサーバ210は、割当要求パケットを受信すると、多機能機10にIPアドレスを割り当てる前に、後の処理にて多機能機10に割り当てるIPアドレスと、受信したノード名とを、IPアドレステーブル222に登録するように、DNSサーバ220へ要求する(送信する)。DNSサーバ220は、当該要求に対してIPアドレスとノード名とをIPアドレステーブル222に登録を行い、DHCPサーバ210へ登録完了情報を送信する。   In this modification, when the DHCP server 210 receives the allocation request packet, before assigning the IP address to the multi-function device 10, the DHCP server 210 assigns the IP address to be assigned to the multi-function device 10 in the subsequent processing and the received node name. The DNS server 220 is requested (sent) to be registered in the IP address table 222. In response to the request, the DNS server 220 registers the IP address and node name in the IP address table 222 and transmits registration completion information to the DHCP server 210.

DHCPサーバ210は、登録完了情報を受信すると、多機能機10に登録したIPアドレスと、予め決められているサブネットマスクと、を多機能機10に割り当てる(送信する)。これにより、多機能機10のメインCPU20は、DHCPサーバ210からIPアドレス及びサブネットマスクを取得する。メインCPU20は、取得されたIPアドレス及びサブネットマスクを、多機能機10のIPアドレス及びサブネットマスクとして、SDRAM80に格納する。本変形例では、メインCPU20は、S42において、割当要求パケットを、DHCPサーバ210に送信し、DHCPサーバ210からIPアドレス及びサブネットマスクを取得すると、S54に進む。この構成により、多機能機10は、多機能機10のIPアドレスを登録したのか否かを、DNSサーバ220に問い合わせなくてもよい。   When the DHCP server 210 receives the registration completion information, the DHCP server 210 assigns (transmits) the IP address registered in the multi-function device 10 and a predetermined subnet mask to the multi-function device 10. As a result, the main CPU 20 of the multi-function device 10 acquires the IP address and subnet mask from the DHCP server 210. The main CPU 20 stores the acquired IP address and subnet mask in the SDRAM 80 as the IP address and subnet mask of the multi-function device 10. In the present modification, when the main CPU 20 transmits an allocation request packet to the DHCP server 210 in S42 and acquires the IP address and subnet mask from the DHCP server 210, the process proceeds to S54. With this configuration, the multi-function device 10 does not need to make an inquiry to the DNS server 220 as to whether or not the IP address of the multi-function device 10 has been registered.

(メインCPUが実行する登録済フラグ変更処理)
続いて、メインCPU20が実行する図4の登録済フラグ変更処理の内容を説明する。例えば、ユーザがLAN4の管理者である場合、ユーザがDNSサーバ220のIPアドレステーブル222を確認した場合等には、ユーザは、多機能機10以外でLAN4に接続されている他のデバイス(例えばPC100等)のIPアドレスが、DNSサーバ220に登録されているのか否かを知ることができる。
(Registered flag change process executed by the main CPU)
Next, the contents of the registered flag changing process of FIG. 4 executed by the main CPU 20 will be described. For example, when the user is an administrator of the LAN 4 or when the user confirms the IP address table 222 of the DNS server 220, the user is connected to the LAN 4 other than the multi-function device 10 (for example, It is possible to know whether the IP address of the PC 100 or the like is registered in the DNS server 220.

ユーザは、表示パネル94を操作することによって、他のデバイスのIPアドレスがDNSサーバ220に登録済みであることを示す登録済操作を実行することできる。一方、ユーザは、表示パネル94を操作することによって、上記の他のデバイスのIPアドレスがDNSサーバ220に登録されていないことを示す登録未完操作を実行することできる。   The user can perform a registered operation indicating that the IP address of another device has been registered in the DNS server 220 by operating the display panel 94. On the other hand, by operating the display panel 94, the user can execute an incomplete registration operation indicating that the IP address of the other device is not registered in the DNS server 220.

図4の登録済フラグ変更処理は、メインCPU20が非スリープ状態である間に、繰り返し実行される。S62では、メインCPU20は、登録済操作が実行されることを監視している。登録済操作が実行される場合(S62でYES)、S64において、メインCPU20は、SDRAM80に格納されている登録済フラグを「1」に設定する。   The registered flag changing process in FIG. 4 is repeatedly executed while the main CPU 20 is in the non-sleep state. In S62, the main CPU 20 monitors execution of the registered operation. When the registered operation is executed (YES in S62), in S64, the main CPU 20 sets the registered flag stored in the SDRAM 80 to “1”.

S66では、メインCPU20は、ユーザによって、登録未完操作が実行されることを監視している。メインCPU20は、ユーザによって、登録未完操作が実行される場合(S66でYES)、メインCPU20は、S68において、SDRAM80に格納されている登録済フラグを「0」に設定する。   In S66, the main CPU 20 monitors whether a registration incomplete operation is executed by the user. When the registration incomplete operation is executed by the user (YES in S66), the main CPU 20 sets the registered flag stored in the SDRAM 80 to “0” in S68.

(サブCPU40が実行する処理)
続いて、サブCPUが実行する図5の処理の内容を説明する。多機能機10の電源がONされると、サブCPU40は、WAIT命令を実行して、割込要求信号が供給されるまで待機する(S72)。上述したように、メインCPU20は、図2のS28で、サブCPU40に開始割込要求信号を供給する。この場合、S72でYESと判断される。
(Processing executed by the sub CPU 40)
Next, the contents of the process of FIG. 5 executed by the sub CPU will be described. When the power of the multi-function device 10 is turned on, the sub CPU 40 executes a WAIT command and waits until an interrupt request signal is supplied (S72). As described above, the main CPU 20 supplies the start interrupt request signal to the sub CPU 40 in S28 of FIG. In this case, YES is determined in S72.

S72でYESの場合、S74において、移行制御部52は、メイン用クロック回路36にクロック供給の停止を指示する。この結果、メインCPU20は、非スリープ状態からスリープ状態に移行する。続いて、移行制御部52は、SDRAM80を通常動作モードからセルフリフレッシュモードに移行させる(S76)。これにより、多機能機10は、スリープ状態となる。なお、SDRAM80がセルフリフレッシュモードである間は、多機能機10が受信したパケットをSDRAM80に格納することができない。   If YES in S72, the transition control unit 52 instructs the main clock circuit 36 to stop the clock supply in S74. As a result, the main CPU 20 shifts from the non-sleep state to the sleep state. Subsequently, the transition control unit 52 shifts the SDRAM 80 from the normal operation mode to the self-refresh mode (S76). As a result, the multi-function device 10 enters a sleep state. While the SDRAM 80 is in the self-refresh mode, packets received by the multi-function device 10 cannot be stored in the SDRAM 80.

S78では、サブCPU40は、パケットを受信することを監視する。具体的には、ネットワークインターフェイス90でパケットが受信される場合、MACコントローラ72は、パケット割込要求信号を、サブCPU40に供給する。S78において、サブCPU40は、MACコントローラ72からパケット割込要求信号が供給されると(S78でYES)、受信されたパケットをネットワークインターフェイス90からSRAM60に移動する。   In S78, the sub CPU 40 monitors reception of a packet. Specifically, when a packet is received by the network interface 90, the MAC controller 72 supplies a packet interrupt request signal to the sub CPU 40. In S78, when the packet interrupt request signal is supplied from the MAC controller 72 (YES in S78), the sub CPU 40 moves the received packet from the network interface 90 to the SRAM 60.

次いで、S80では、信号判断部50は、S78で受信されたパケットが名前解決パケット(即ちパケットが示すプロトコルの種類が、名前解決プロトコル(NetBIOS、LLMNR)であるのか否かを判断する。S80の処理は、図2のS14の処理と同様に、S78で受信されたパケットのヘッダに含まれる宛先ポート番号を用いて判断する。この構成によれば、信号判断部50は、受信されたパケットを詳細に解析せずに、受信されたパケット名前解決パケットであるのか否かを判断することができる。信号判断部50は、受信されたパケットの宛先ポート番号が、NetBIOS又はLLMNRのポート番号である場合に、S80でYESと判断し、それ以外のポート番号である場合に、S80でNOと判断する。   Next, in S80, the signal determination unit 50 determines whether the packet received in S78 is a name resolution packet (that is, the protocol type indicated by the packet is a name resolution protocol (NetBIOS, LLMNR)). The processing is determined by using the destination port number included in the header of the packet received in S78, similarly to the processing in S14 of Fig. 2. According to this configuration, the signal determination unit 50 determines the received packet. The signal determination unit 50 can determine whether or not the received packet name resolution packet is received without performing detailed analysis, and the destination port number of the received packet is the port number of NetBIOS or LLMNR. In this case, YES is determined in S80, and if it is a port number other than that, NO is determined in S80.

S80でNOの場合、サブCPU40は、メインCPU20に代理して、S78で受信されたパケットに従った応答処理を実行可能であるのか否かを判断する。具体的には、サブCPU40は、SRAM60に格納されている代理応答情報を用いて、S78で受信されたパケットに従った応答処理を実行可能であるのか否かを判断する。サブCPU40が代理して実行可能な応答処理は、例えば、PINGに対する応答、ARP(Address Resolution Protocol)のパケットに対する応答等を含む。   In the case of NO in S80, the sub CPU 40 determines whether or not the response processing according to the packet received in S78 can be executed on behalf of the main CPU 20. Specifically, the sub CPU 40 uses the proxy response information stored in the SRAM 60 to determine whether the response process according to the packet received in S78 can be executed. The response processing that can be executed on behalf of the sub CPU 40 includes, for example, a response to PING, a response to an ARP (Address Resolution Protocol) packet, and the like.

サブCPU40が代理して応答可能である場合(S82でYES)、サブCPU40は、S78で受信されたパケットに従った応答処理を実行して(S84)、S78に戻る。一方、サブCPU40が代理して応答不可能である場合(S82でNO)、S90に進む。   When the sub CPU 40 is able to respond on behalf (YES in S82), the sub CPU 40 executes a response process according to the packet received in S78 (S84), and returns to S78. On the other hand, if the sub CPU 40 is unable to respond on behalf (NO in S82), the process proceeds to S90.

一方、S80でYESの場合、S86では、第1の登録判断部44は、SRAM60に格納されている名前解決不要フラグが「1」に設定されているのか否かを判断する。即ち、第1の登録判断部44は、多機能機10のIPアドレスが、DNSサーバ220に登録されているのか否かを判断する。S86でYESの場合、即ち、多機能機10のIPアドレスが、DNSサーバ220に登録されている場合、S78で受信されたパケットの送信元デバイス(例えばPC100)は、静的な名前解決を実行することによって、DNSサーバ220から多機能機10のIPアドレスを取得することができる。このため、S88において、多機能機10は、S78で受信された名前解決パケットに応答することなく、名前解決パケットを破棄して、S78に戻る。   On the other hand, in the case of YES in S80, in S86, the first registration determination unit 44 determines whether or not the name resolution unnecessary flag stored in the SRAM 60 is set to “1”. That is, the first registration determination unit 44 determines whether or not the IP address of the multi-function device 10 is registered in the DNS server 220. If YES in S86, that is, if the IP address of the multi-function device 10 is registered in the DNS server 220, the transmission source device (for example, PC 100) of the packet received in S78 performs static name resolution. By doing so, the IP address of the multi-function device 10 can be acquired from the DNS server 220. Therefore, in S88, the multi-function device 10 discards the name resolution packet without responding to the name resolution packet received in S78, and returns to S78.

一方、S86でNOの場合、S90に進む。S86でNOの場合、即ち、多機能機10のIPアドレスが、DNSサーバ220に登録されていない場合、S78で受信されたパケットの送信元デバイス(例えばPC100)は、静的な名前解決を実行することによって、DNSサーバ220から多機能機10のIPアドレスを取得することができない。このため、多機能機10は、S78で受信された名前解決パケットに応答するための処理を実行する(図2のS16参照)。   On the other hand, if NO in S86, the process proceeds to S90. If NO in S86, that is, if the IP address of the multi-function device 10 is not registered in the DNS server 220, the source device (for example, PC 100) of the packet received in S78 performs static name resolution. By doing so, the IP address of the multi-function device 10 cannot be acquired from the DNS server 220. For this reason, the multi-function device 10 executes a process for responding to the name resolution packet received in S78 (see S16 in FIG. 2).

S90では、移行制御部52は、SDRAM80をセルフリフレッシュモードから通常動作モードに移行させる。なお、移行制御部52は、さらに、外部デバイス(例えばPC100)から受信されるパケットを格納するRAMをSRAM60からSDRAM80に切り替える。さらに、移行制御部52は、SRAM60に格納されている情報(名前解決不要フラグ、登録済フラグを含む)を、SDRAM80に移動させる。次いで、S92において、移行制御部52は、メイン用クロック回路36に、メインCPU20にクロック供給を開始するよう指示する。この結果、メインCPU20にクロックが供給され、メインCPU20がスリープ状態から非スリープ状態に移行する。S94では、移行制御部52は、メインCPU20に開始割込要求信号を供給して、S72に戻る。   In S90, the transition control unit 52 shifts the SDRAM 80 from the self-refresh mode to the normal operation mode. Note that the migration control unit 52 further switches the RAM that stores a packet received from an external device (for example, the PC 100) from the SRAM 60 to the SDRAM 80. Further, the migration control unit 52 moves the information (including the name resolution unnecessary flag and the registered flag) stored in the SRAM 60 to the SDRAM 80. Next, in S92, the transition control unit 52 instructs the main clock circuit 36 to start the clock supply to the main CPU 20. As a result, the clock is supplied to the main CPU 20, and the main CPU 20 shifts from the sleep state to the non-sleep state. In S94, the transition control unit 52 supplies a start interrupt request signal to the main CPU 20, and returns to S72.

この結果、図2のS32のWAIT命令が解除され、メインCPU20は、図2の処理を実行する。これにより、メインCPU20は、SDRAM80に格納されている名前解決パケット(図5のS78で受信された名前解決パケット)について、S12及びS14でYESと判断する。これにより、メインCPU20のIPアドレス送信部22は、S78で受信された名前解決パケットの送信元デバイス(例えばPC100)に向けて、多機能機10のIPアドレスを送信する。   As a result, the WAIT instruction in S32 of FIG. 2 is canceled, and the main CPU 20 executes the processing of FIG. Thereby, the main CPU 20 determines YES in S12 and S14 for the name resolution packet stored in the SDRAM 80 (name resolution packet received in S78 of FIG. 5). As a result, the IP address transmission unit 22 of the main CPU 20 transmits the IP address of the multi-function device 10 to the transmission source device (for example, the PC 100) of the name resolution packet received in S78.

(メインCPU及びサブCPUが実行する名前解決処理)
続いて、メインCPU20及びサブCPU40が実行する図6の名前解決処理の内容を説明する。メインCPU20が非スリープ状態(即ち多機能機10がレディ状態)である場合、メインCPU20は、定期的に図6の名前解決処理を実行する。メインCPU20がスリープ状態(即ち多機能機10がスリープ状態)である場合、サブCPU40は、定期的に図6の名前解決処理を実行する。以下では、メインCPU20が処理を実行する場合を例に、名前解決処理について説明する。即ち、以下では、メインCPU20によって実現される各部(記憶制御部24、確認部28、第1の信号送信部30、第2の信号送信部32、第2の登録判断部34)が各処理を実行する様子を説明するが、メインCPU20がスリープ状態である場合には、サブCPU40によって実現される各部(記憶制御部46、確認部58、第1の信号送信部54、第2の信号送信部56、第2の登録判断部48)が同様に各処理を実行する。
(Name resolution process executed by main CPU and sub CPU)
Next, the contents of the name resolution process of FIG. 6 executed by the main CPU 20 and the sub CPU 40 will be described. When the main CPU 20 is in the non-sleep state (that is, the multi-function device 10 is in the ready state), the main CPU 20 periodically executes the name resolution process of FIG. When the main CPU 20 is in the sleep state (that is, the multi-function device 10 is in the sleep state), the sub CPU 40 periodically executes the name resolution process of FIG. In the following, the name resolution process will be described taking the case where the main CPU 20 executes the process as an example. That is, in the following, each unit (the storage control unit 24, the confirmation unit 28, the first signal transmission unit 30, the second signal transmission unit 32, and the second registration determination unit 34) realized by the main CPU 20 performs each process. The state of execution will be described. When the main CPU 20 is in the sleep state, each unit realized by the sub CPU 40 (storage control unit 46, confirmation unit 58, first signal transmission unit 54, second signal transmission unit). 56, the second registration determination unit 48) similarly executes each processing.

S102では、メインCPU20の第1の信号送信部30は、LAN4に接続されている特定のデバイス(例えばPC100)のIPアドレスを問い合わせるための名前解決パケットを、DNSサーバ220に送信(ユニキャスト)する(即ち静的な名前解決を実行する)。なお、名前解決パケットは、上記の特定のデバイスのノード名を含む。   In S102, the first signal transmission unit 30 of the main CPU 20 transmits (unicasts) a name resolution packet for inquiring an IP address of a specific device (for example, the PC 100) connected to the LAN 4 to the DNS server 220. (Ie perform static name resolution). Note that the name resolution packet includes the node name of the specific device.

メインCPU20の第2の登録判断部34は、S102の処理と同時的に、S104において、SDRAM80に格納されている登録済フラグが「1」であるのか否かを判断する。登録済フラグが「1」である場合とは、上記の特定のデバイスのIPアドレスが、DNSサーバ220に登録されている場合である。この場合、即ちS104でYESの場合、S108に進む。   The second registration determination unit 34 of the main CPU 20 determines whether or not the registered flag stored in the SDRAM 80 is “1” in S104 simultaneously with the process of S102. The case where the registered flag is “1” is a case where the IP address of the specific device is registered in the DNS server 220. In this case, that is, if YES in S104, the process proceeds to S108.

一方において、登録済フラグが「0」である場合、即ち、上記の特定のデバイスのIPアドレスが、DNSサーバ220に登録されていない場合(S104でNO)、S106において、メインCPU20の第2の信号送信部32は、名前解決パケットをブロードキャスト又はマルチキャストする。   On the other hand, when the registered flag is “0”, that is, when the IP address of the specific device is not registered in the DNS server 220 (NO in S104), in S106, the second CPU 20 The signal transmission unit 32 broadcasts or multicasts the name resolution packet.

メインCPU20の確認部28は、DNSサーバ220及び上記の特定のデバイスの少なくとも一方のデバイスから、名前解決パケットに対する応答が受信されることを監視している。DNSサーバ220からIPアドレスが受信される場合(S108でYES)、メインCPU20の確認部28は、IPアドレスをSDRAM80に格納して、名前解決処理を終了する。メインCPU20の確認部28は、DNSサーバ220から上記の特定のデバイスのIPアドレスが登録されていない旨の情報が受信される場合(S108でYES)、名前解決処理を終了する。なお、上記の特定のデバイスから、上記ブロードキャスト又はマルチキャストに対する応答として、IPアドレスが受信される場合、メインCPU20の確認部28は、IPアドレスをSDRAM80に格納する。   The confirmation unit 28 of the main CPU 20 monitors whether a response to the name resolution packet is received from the DNS server 220 and at least one of the specific devices. When the IP address is received from the DNS server 220 (YES in S108), the confirmation unit 28 of the main CPU 20 stores the IP address in the SDRAM 80 and ends the name resolution process. When the information indicating that the IP address of the specific device is not registered is received from the DNS server 220 (YES in S108), the confirmation unit 28 of the main CPU 20 ends the name resolution process. When an IP address is received as a response to the broadcast or multicast from the specific device, the confirmation unit 28 of the main CPU 20 stores the IP address in the SDRAM 80.

一方、メインCPU20の確認部28は、DNSサーバ220から応答(IPアドレス又はIPアドレスが登録されていない旨の情報)が受信されない場合(S108でNO)、S110に進む。DNSサーバ220から応答が受信されない場合とは、LAN4を介してDNSサーバ220と通信不可能である場合である。例えば、DNSサーバ220がダウンしている場合、LAN4を介してDNSサーバ220と通信することができない。この場合、多機能機10以外の他のデバイス(例えばPC100)も、DNSサーバ220と通信して、DNSサーバ220から、多機能機10のIPアドレスを取得することができないことが予想される。   On the other hand, when the confirmation unit 28 of the main CPU 20 does not receive a response (information indicating that the IP address or IP address is not registered) from the DNS server 220 (NO in S108), the process proceeds to S110. The case where a response is not received from the DNS server 220 is a case where communication with the DNS server 220 via the LAN 4 is impossible. For example, when the DNS server 220 is down, it is not possible to communicate with the DNS server 220 via the LAN 4. In this case, it is expected that devices other than the multi-function device 10 (for example, the PC 100) cannot communicate with the DNS server 220 and acquire the IP address of the multi-function device 10 from the DNS server 220.

メインCPU20の記憶制御部24は、SDRAM80に格納されている名前解決不要フラグが「1」であるのか否かを判断し(S110)、名前解決不要フラグが「1」である場合(S110でYES)、名前解決不要フラグを「0」にして(S112)、名前解決処理を終了する。この構成では、多機能機10は、スリープ状態(メインCPU20がスリープ状態)である場合にも、名前解決パケットに対して、自身のIPアドレスを送信することとなる。これにより、名前解決パケットの送信元デバイス(例えばPC100)は、DNSサーバ220と通信することができない状況でも、多機能機10のIPアドレスを取得することができる。   The storage control unit 24 of the main CPU 20 determines whether or not the name resolution unnecessary flag stored in the SDRAM 80 is “1” (S110). If the name resolution unnecessary flag is “1” (YES in S110). ), The name resolution unnecessary flag is set to “0” (S112), and the name resolution processing is terminated. In this configuration, the multi-function device 10 transmits its IP address to the name resolution packet even in the sleep state (the main CPU 20 is in the sleep state). As a result, the source device (for example, PC 100) of the name resolution packet can acquire the IP address of the multi-function device 10 even in a situation where it cannot communicate with the DNS server 220.

(各デバイスの動作(図7))
多機能機10がレディ状態である場合、多機能機10は、IPアドレスの割り当てを、DHCPサーバ210に定期的に要求する。DHCPサーバ210は、多機能機10からのIPアドレスの要求に応じて、多機能機10にIPアドレスを割り当てる(送信する)。多機能機10は、DHCPサーバ210から受信されたIPアドレスを、SDRAM80に格納する。DHCPサーバ210は、割り当てたIPアドレスと多機能機10のノード名とを、DNSサーバ220に供給する。DNSサーバ220は、多機能機10のIPアドレスとノード名との組合せを、IPアドレステーブル222に登録する。
(Operation of each device (Fig. 7))
When the multi-function device 10 is in the ready state, the multi-function device 10 periodically requests the DHCP server 210 to assign an IP address. The DHCP server 210 assigns (transmits) an IP address to the multi-function device 10 in response to a request for an IP address from the multi-function device 10. The multi-function device 10 stores the IP address received from the DHCP server 210 in the SDRAM 80. The DHCP server 210 supplies the assigned IP address and the node name of the multi-function device 10 to the DNS server 220. The DNS server 220 registers the combination of the IP address and node name of the multi-function device 10 in the IP address table 222.

多機能機10は、DHCPサーバ210からIPアドレスを受信すると、多機能機10のIPアドレスが登録されているのか否かを、DNSサーバ220に問い合わせる。DSサーバ220は、多機能機10のIPアドレスとノード名との組合せが、IPアドレステーブル222に登録されていることを条件に、登録完了情報を多機能機10に送信する。多機能機10は、登録完了情報を取得すると、名前解決不要フラグを「1」にする。この構成によれば、多機能機10は、名前解決不要フラグを確認することによって、DNSサーバ220に、自身のIPアドレスが登録されているのか否かを判断することができる。   When the multi-function device 10 receives the IP address from the DHCP server 210, the multi-function device 10 inquires of the DNS server 220 whether or not the IP address of the multi-function device 10 is registered. The DS server 220 transmits registration completion information to the multi-function device 10 on the condition that the combination of the IP address and the node name of the multi-function device 10 is registered in the IP address table 222. When acquiring the registration completion information, the multi-function device 10 sets the name resolution unnecessary flag to “1”. According to this configuration, the multi-function device 10 can determine whether or not its own IP address is registered in the DNS server 220 by checking the name resolution unnecessary flag.

多機能機10は、レディ状態である場合、名前解決不要フラグの値に関わらず、即ち、DNSサーバ220に自身のIPアドレスが登録されているのか否かに関わらず、PC100の動的な名前解決パケット(IPアドレスの問合せ)に対して、自身のIPアドレスを送信する。この結果、PC100は、多機能機10のIPアドレスを、多機能機10から取得することができる。   When the multi-function device 10 is in the ready state, the dynamic name of the PC 100 regardless of the value of the name resolution unnecessary flag, that is, whether or not its own IP address is registered in the DNS server 220. In response to the resolution packet (IP address inquiry), it transmits its own IP address. As a result, the PC 100 can acquire the IP address of the multi-function device 10 from the multi-function device 10.

一方、多機能機10がスリープ状態である場合、名前解決不要フラグが「1」である間は、PC100の動的な名前解決パケット(IPアドレスの問合せ)に対して、自身のIPアドレスを送信しない。PC100は、静的な名前解決によって、DNSサーバ220から、多機能機10のIPアドレスを取得することができるからである。この構成によれば、多機能機10がスリープ状態からレディ状態(即ちメインCPU20がスリープ状態から非スリープ状態)に移行される頻度が少なくなる。このため、多機能機10の消費電力を低減することができる。   On the other hand, when the multi-function device 10 is in the sleep state, while its name resolution unnecessary flag is “1”, its own IP address is transmitted to the dynamic name resolution packet (IP address inquiry) of the PC 100. do not do. This is because the PC 100 can obtain the IP address of the multi-function device 10 from the DNS server 220 by static name resolution. According to this configuration, the frequency with which the multi-function device 10 is shifted from the sleep state to the ready state (that is, the main CPU 20 is shifted from the sleep state to the non-sleep state) is reduced. For this reason, the power consumption of the multi-function device 10 can be reduced.

多機能機10は、名前解決不要フラグが「0」である場合、即ち、多機能機10のIPアドレスがDNSサーバ220に登録されていない場合及びDNSサーバ220がPC100と通信不可能である場合、PC100の動的な名前解決パケットを受信すると、スリープ状態からレディ状態に移行して、自身のIPアドレスを送信する。この構成によれば、PC100は、DNSサーバ220から多機能機10のIPアドレスを取得することができない状況において、多機能機10から多機能機10のIPアドレスを取得することができる。   The multi-function device 10 has a case where the name resolution unnecessary flag is “0”, that is, when the IP address of the multi-function device 10 is not registered in the DNS server 220 and when the DNS server 220 cannot communicate with the PC 100. When the dynamic name resolution packet of the PC 100 is received, the sleep state is shifted to the ready state, and its own IP address is transmitted. According to this configuration, the PC 100 can acquire the IP address of the multi-function device 10 from the multi-function device 10 in a situation where the IP address of the multi-function device 10 cannot be acquired from the DNS server 220.

(多機能機10が名前解決を実行する場合の多機能機10の処理)
図8に示すように、多機能機10は、登録済フラグが「0」に設定されている場合、即ち、PC100のIPアドレスがDNSサーバ220に登録されていないと判断される場合、多機能機10は、PC100のIPアドレスを、DNSサーバ220とPC100との両者に問い合わせる(即ち、動的な名前解決及び静的な名前解決を実行する)。多機能機10は、PC100からPC100のIPアドレスを取得することができる。一方、多機能機10は、DNSサーバ220からPC100のIPアドレスを取得することができない。
(Processing of the multi-function device 10 when the multi-function device 10 executes name resolution)
As shown in FIG. 8, when the registered flag is set to “0”, that is, when it is determined that the IP address of the PC 100 is not registered in the DNS server 220, the multi-function device 10 The machine 10 inquires of both the DNS server 220 and the PC 100 about the IP address of the PC 100 (that is, performs dynamic name resolution and static name resolution). The multi-function device 10 can acquire the IP address of the PC 100 from the PC 100. On the other hand, the multi-function device 10 cannot acquire the IP address of the PC 100 from the DNS server 220.

多機能機10は、登録済フラグが「1」に設定されている場合、即ち、PC100のIPアドレスがDNSサーバに登録されている場合、多機能機10は、PC100のIPアドレスを、DNSサーバ220に問い合わせる(静的な名前解決を実行する)が、PC100のIPアドレスを、PC100に問い合わせない(動的な名前解決を実行しない)。静的な名前解決を実行することによって、多機能機10は、DNSサーバ220からPC100のIPアドレスを取得することができるからである。この構成によれば、多機能機10は、無駄に動的な名前解決を実行せずに済む。   When the registered flag is set to “1”, that is, when the IP address of the PC 100 is registered in the DNS server, the multi-function device 10 sets the IP address of the PC 100 to the DNS server. 220 is inquired (static name resolution is executed), but the IP address of the PC 100 is not inquired of the PC 100 (dynamic name resolution is not executed). This is because the multi-function device 10 can acquire the IP address of the PC 100 from the DNS server 220 by executing the static name resolution. According to this configuration, the multi-function device 10 does not needlessly perform dynamic name resolution.

(本実施例の効果)
本実施例について詳しく説明した。多機能機10は、メインCPU20がスリープ状態である間に、名前解決パケットを受信した場合であって、多機能機10のIPアドレスがDNSサーバ220に登録されていると判断される場合(即ち名前解決不要フラグ=「1」)、名前解決パケットの応答として、多機能機10のIPアドレスを送信しない。
(Effect of this embodiment)
This example has been described in detail. The multi-function device 10 receives the name resolution packet while the main CPU 20 is in the sleep state and determines that the IP address of the multi-function device 10 is registered in the DNS server 220 (ie, Name resolution unnecessary flag = “1”), the IP address of the multi-function device 10 is not transmitted as a response to the name resolution packet.

サブCPU40が非スリープ状態である場合のサブCPU40の消費電力をできるだけ低減させることが望ましい。多機能機10のスリープ状態での消費電力を低減するためである。仮に、メインCPU20がスリープ状態である間に、サブCPU40が名前解決パケットに対する応答を実行する構成を採用すると、サブCPU40の処理能力を高くしなければならず、サブCPU40の非スリープ状態での消費電力が高くなってしまう。従って、多機能機10のスリープ状態での消費電力を低減するためには、メインCPU20が名前解決パケットに対する応答を実行することが望ましい。   It is desirable to reduce the power consumption of the sub CPU 40 when the sub CPU 40 is in the non-sleep state. This is to reduce power consumption in the sleep state of the multi-function device 10. If the sub CPU 40 executes a response to the name resolution packet while the main CPU 20 is in the sleep state, the processing capacity of the sub CPU 40 must be increased, and the sub CPU 40 is consumed in the non-sleep state. The power becomes high. Therefore, in order to reduce the power consumption in the sleep state of the multi-function device 10, it is desirable that the main CPU 20 executes a response to the name resolution packet.

LAN4等のネットワークに接続されるデバイス(例えばPC100)は、定期的にネットワーク内の他のデバイスに対して、名前解決パケットを送信して、名前解決を実行している。このため、ネットワークに多数個のデバイスが接続されている場合、多数個のデバイスのそれぞれから受信される名前解決パケットに対して応答を実行していると、多機能機10がスリープ状態に移行したとしても、すぐにレディ状態に移行しなければならない。この結果、多機能機10の消費電力を低減することができない。本実施例の多機能機10によれば、上記の問題を解決することができる。   A device (for example, PC 100) connected to a network such as LAN 4 periodically performs name resolution by transmitting a name resolution packet to other devices in the network. Therefore, when a large number of devices are connected to the network, the multi-function device 10 shifts to the sleep state when a response is executed to the name resolution packet received from each of the large number of devices. Even so, it must immediately transition to the ready state. As a result, the power consumption of the multi-function device 10 cannot be reduced. According to the multi-function device 10 of the present embodiment, the above problem can be solved.

(対応関係)
上記の多機能機10が「通信装置」の一例である。DNSサーバ220が「登録サーバ」の一例である。第1の信号送信部30が「第1の信号送信部」、第2の信号送信部32が第2の信号送信部、信号判断部50が「信号判断部」の一例である。名前解決不要フラグ=「1」が「所定の情報」の一例であり、登録完了情報が「特定の信号」の一例である。メインCPU20とサブCPU40とが、「プロセッサ」の一例である。メインCPU20とサブCPU40とがともに非スリープ状態である状態が「高消費状態」の一例であり、メインCPU20がスリープ状態であり、サブCPU40が非スリープ状態である状態が「低消費状態」の一例である。
(Correspondence)
The multi-function device 10 is an example of a “communication device”. The DNS server 220 is an example of a “registration server”. The first signal transmission unit 30 is an example of a “first signal transmission unit”, the second signal transmission unit 32 is an example of a second signal transmission unit, and the signal determination unit 50 is an example of a “signal determination unit”. Name resolution unnecessary flag = “1” is an example of “predetermined information”, and registration completion information is an example of “specific signal”. The main CPU 20 and the sub CPU 40 are examples of the “processor”. A state where both the main CPU 20 and the sub CPU 40 are in the non-sleep state is an example of “high consumption state”, and a state where the main CPU 20 is in the sleep state and the sub CPU 40 is in the non-sleep state is an example of “low consumption state”. It is.

以上、本発明の実施形態について詳細に説明したが、これらは例示に過ぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には、以上に例示した具体例を様々に変形、変更したものが含まれる。   As mentioned above, although embodiment of this invention was described in detail, these are only illustrations and do not limit a claim. The technology described in the claims includes various modifications and changes of the specific examples illustrated above.

(変形例)
(1)上記の実施例では、多機能機10は、2個のCPU20,40を備えるが、これに代えて、多機能機10は、メインCPU20のみを備えていてもよい。この場合、メインCPU20に供給されるクロック信号の周波数が低い状態と高い状態とに移行してもよい。クロック信号の周波数が高い状態では、メインCPU20の消費電力が比較的に高く、クロック信号の周波数が低い状態では、メインCPU20の消費電力が比較的に低い。この変形例では、メインCPU20が「プロセッサ」の一例であり、メインCPU20に供給されるクロック信号の周波数が高い状態が「高消費状態」の一例であり、メインCPU20に供給されるクロック信号の周波数が低い状態が「低消費状態」の一例である。
(Modification)
(1) In the above embodiment, the multi-function device 10 includes the two CPUs 20 and 40. However, the multi-function device 10 may include only the main CPU 20 instead. In this case, the frequency of the clock signal supplied to the main CPU 20 may be shifted between a low state and a high state. When the frequency of the clock signal is high, the power consumption of the main CPU 20 is relatively high, and when the frequency of the clock signal is low, the power consumption of the main CPU 20 is relatively low. In this modification, the main CPU 20 is an example of a “processor”, and a state in which the frequency of the clock signal supplied to the main CPU 20 is high is an example of a “high consumption state”. The frequency of the clock signal supplied to the main CPU 20 A low state is an example of a “low consumption state”.

(2)上記の実施例では、多機能機10は、2個のRAM60,90を備えるが、これに代えて、多機能機10は、1個のRAMのみを備えていてもよい。この場合、1個のRAMは、多機能機10が電源ONの間では、常に通常動作モードであってもよい。この変形例では、1個のRAMが「メモリ部」の一例である。 (2) In the above embodiment, the multi-function device 10 includes the two RAMs 60 and 90. Alternatively, the multi-function device 10 may include only one RAM. In this case, one RAM may always be in the normal operation mode while the multi-function device 10 is powered on. In this modified example, one RAM is an example of a “memory unit”.

(3)上記の実施例では、DHCPサーバ210が、多機能機10にIPアドレスを割り当てる。しかしながら、IPアドレスを多機能機10に割り当てる割当サーバは、DHCPサーバの他に、BOOTP(BOOTstrap Protocol)サーバ、RARP(Reverse Address Resolution Protocol)サーバ等であってもよい。なお、RARPサーバが用いられる場合、ユーザは、RARPサーバを操作して、多機能機10に設定されるべきIPアドレスと、多機能機10に設定されるべきサブネットマスクと、多機能機10のノード名又はMACアドレスと、が対応付けられている情報を、RARPサーバに登録してもよい。 (3) In the above embodiment, the DHCP server 210 assigns an IP address to the multi-function device 10. However, the allocation server for assigning the IP address to the multi-function device 10 may be a BOOTP (BOOTstrap Protocol) server, a RARP (Reverse Address Resolution Protocol) server, or the like in addition to the DHCP server. When the RARP server is used, the user operates the RARP server to set the IP address to be set in the multi-function device 10, the subnet mask to be set in the multi-function device 10, and the Information in which the node name or the MAC address is associated may be registered in the RARP server.

(4)多機能機10は、名前解決不要フラグが「1」である場合に、動的な名前解決(名前解決パケットのブロードキャスト又はマルチキャスト)を実行しなくてもよい。名前解決不要フラグが「1」である場合には、LAN4に接続されている他のデバイス(例えばPC300)のIPアドレスは、多機能機10と同様に、DNSサーバ220に登録されている可能性が高いからである。 (4) When the name resolution unnecessary flag is “1”, the multi-function device 10 does not have to execute dynamic name resolution (broadcast or multicast of name resolution packets). When the name resolution unnecessary flag is “1”, the IP address of another device (for example, the PC 300) connected to the LAN 4 may be registered in the DNS server 220 as in the multi-function device 10. Because it is expensive.

(5)多機能機10は、スリープ状態であって、かつ、名前解決不要フラグが「1」である場合に、名前解決パケットに対する応答処理を実行するのか否かを、ユーザが選択することを許容してもよい。ユーザによって応答処理を実行することが選択される場合、多機能機10は、スリープ状態であって、かつ、名前解決不要フラグが「1」であっても、名前解決パケットの送信元デバイスに、多機能機10のIPアドレスを送信してもよい。 (5) When the multi-function device 10 is in the sleep state and the name resolution unnecessary flag is “1”, the user selects whether or not to execute a response process for the name resolution packet. It may be acceptable. When the user selects to execute the response process, the multi-function device 10 is in the sleep state and the name resolution unnecessary flag is “1”. The IP address of the multi-function device 10 may be transmitted.

(6)多機能機10は、登録済フラグが「0」に設定されている場合、特定のデバイスのIPアドレスの問合パケットを、DNSサーバ220に送信しなくてもよい。即ち、多機能機10は、特定のデバイスのIPアドレスの問合パケットを、ブロードキャスト又はマルチキャストで送信するのみでもよい。登録済フラグが「0」に設定されている場合は、上記の特定のデバイスのIPアドレスが、DNSサーバ220に記録されていない可能性があるからである。 (6) When the registered flag is set to “0”, the multi-function device 10 does not have to send the inquiry packet of the IP address of a specific device to the DNS server 220. That is, the multi-function device 10 may only transmit the inquiry packet of the IP address of a specific device by broadcast or multicast. This is because when the registered flag is set to “0”, the IP address of the specific device may not be recorded in the DNS server 220.

(7)上記の実施例では、メインCPU20がプログラム82に従って処理を実行することによって、各部22〜34が実現されるが、各部22〜34の少なくとも1個は、論理回路等のハードウェアで実現されてもよい。また、サブCPU40がプログラムに従って処理を実行することによって、各部44〜58が実現されるが、各部44〜58の少なくとも1個は、論理回路等のハードウェアで実現されてもよい。 (7) In the above embodiment, the main CPU 20 executes the processing according to the program 82, thereby realizing the units 22 to 34. At least one of the units 22 to 34 is realized by hardware such as a logic circuit. May be. In addition, each unit 44 to 58 is realized by the sub CPU 40 executing a process according to a program, but at least one of each unit 44 to 58 may be realized by hardware such as a logic circuit.

(8)「通信装置」は、多機能機でなくてもよく、PC、プリンタ、サーバ、PDA等の通信装置であってもよい。 (8) The “communication device” may not be a multi-function device, and may be a communication device such as a PC, a printer, a server, or a PDA.

また、本明細書または図面に説明した技術要素は、単独であるいは各種の組合せによって技術的有用性を発揮するものであり、出願時請求項記載の組合せに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成するものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。   The technical elements described in this specification or the drawings exhibit technical usefulness alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the technology illustrated in the present specification or the drawings achieves a plurality of objects at the same time, and has technical utility by achieving one of the objects.

10:多機能機、20:メインCPU、22:IPアドレス送信部、24:記憶制御部、26:問合部、28:確認部、30:信号送信部、32:信号送信部、34:登録判断部、40:サブCPU、44:登録判断部、46:記憶制御部、48:登録判断部、50:信号判断部、52:移行制御部、54:信号送信部、56:信号送信部、200:サーバ、210:DHCPサーバ、220:DNSサーバ
10: Multi-function device, 20: Main CPU, 22: IP address transmission unit, 24: Storage control unit, 26: Query unit, 28: Confirmation unit, 30: Signal transmission unit, 32: Signal transmission unit, 34: Registration Determination unit, 40: sub CPU, 44: registration determination unit, 46: storage control unit, 48: registration determination unit, 50: signal determination unit, 52: transition control unit, 54: signal transmission unit, 56: signal transmission unit, 200: Server, 210: DHCP server, 220: DNS server

Claims (10)

ネットワークに接続されているデバイスのIPアドレスが登録される登録サーバに、前記ネットワークを介して接続される通信装置であって、
前記通信装置のIPアドレスが、前記登録サーバに登録されているか否かを判断する第1の登録判断部と、
前記ネットワークに接続されている送信元デバイスから前記通信装置のIPアドレスを問い合わせるためのIPアドレス問合信号が受信され、かつ、前記通信装置の前記IPアドレスが前記登録サーバに登録されていると判断される場合に、前記IPアドレス問合信号の送信元デバイスに向けて、前記通信装置の前記IPアドレスを送信せず、前記IPアドレス問合信号が受信され、かつ、前記通信装置の前記IPアドレスが前記登録サーバに登録されていないと判断される場合に、前記IPアドレス問合信号の送信元デバイスに向けて、前記通信装置の前記IPアドレスを送信する、IPアドレス送信部と、
を備える通信装置。
A communication device connected via a network to a registration server in which an IP address of a device connected to the network is registered;
A first registration determination unit that determines whether or not an IP address of the communication device is registered in the registration server;
An IP address inquiry signal for inquiring about the IP address of the communication device is received from a transmission source device connected to the network, and it is determined that the IP address of the communication device is registered in the registration server The IP address inquiry signal is received without transmitting the IP address of the communication apparatus to the transmission source device of the IP address inquiry signal, and the IP address of the communication apparatus An IP address transmission unit that transmits the IP address of the communication device to a transmission source device of the IP address inquiry signal when it is determined that the IP address inquiry signal is not registered in the registration server;
A communication device comprising:
前記通信装置の前記IPアドレスが前記登録サーバに登録されているのか否かに関する所定の情報をメモリに記憶させる記憶制御部をさらに備え、
前記第1の登録判断部は、
前記メモリ内の前記所定の情報を用いて、前記通信装置の前記IPアドレスが前記登録サーバに登録されているのか否かを判断する、請求項1に記載の通信装置。
A storage control unit for storing predetermined information on whether or not the IP address of the communication device is registered in the registration server;
The first registration determination unit includes:
The communication apparatus according to claim 1, wherein it is determined whether or not the IP address of the communication apparatus is registered in the registration server using the predetermined information in the memory.
前記記憶制御部は、前記登録サーバのIPアドレスがユーザによって指定される場合に、前記通信装置の前記IPアドレスが前記登録サーバに登録されていることを示す前記所定の情報を、前記メモリに記憶させる、請求項2に記載の通信装置。   The storage control unit stores, in the memory, the predetermined information indicating that the IP address of the communication device is registered in the registration server when the IP address of the registration server is designated by a user. The communication device according to claim 2. 前記記憶制御部は、前記通信装置の前記IPアドレスが前記登録サーバに登録される際に、前記登録サーバから送信される特定の信号を受信する場合に、前記通信装置の前記IPアドレスが前記登録サーバに登録されていることを示す前記所定の情報を、前記メモリに記憶させる、請求項2又は3に記載の通信装置。   The storage control unit receives the specific signal transmitted from the registration server when the IP address of the communication apparatus is registered in the registration server, and the IP address of the communication apparatus is registered in the registration server. The communication apparatus according to claim 2, wherein the predetermined information indicating that the information is registered in a server is stored in the memory. 前記通信装置の前記IPアドレスが前記登録サーバに登録されたのか否かを、前記登録サーバに問い合わせる問合部をさらに備え、
前記記憶制御部は、前記問い合わせに応じて、前記登録サーバから送信される前記特定の信号を受信する場合に、前記通信装置の前記IPアドレスが前記登録サーバに登録されていることを示す前記所定の情報を、前記メモリに記憶させる、請求項4に記載の通信装置。
An inquiry unit that inquires of the registration server whether or not the IP address of the communication device is registered in the registration server;
The storage control unit indicates that the IP address of the communication device is registered in the registration server when the specific signal transmitted from the registration server is received in response to the inquiry. The communication apparatus according to claim 4, wherein the information is stored in the memory.
前記通信装置の前記IPアドレスが前記登録サーバに登録されていることを示す前記所定の情報が前記メモリに記憶された後に、前記登録サーバと通信可能であるのか否かを確認する確認部をさらに備え、
前記記憶制御部は、前記登録サーバと通信可能でないことが確認される場合に、前記通信装置の前記IPアドレスが前記登録サーバに登録されていることを示す前記所定の情報を、前記メモリから削除する、請求項3から5のいずれか一項に記載の通信装置。
A confirmation unit for confirming whether or not communication with the registration server is possible after the predetermined information indicating that the IP address of the communication device is registered in the registration server is stored in the memory; Prepared,
The storage control unit deletes, from the memory, the predetermined information indicating that the IP address of the communication device is registered in the registration server when it is confirmed that communication with the registration server is not possible. The communication device according to any one of claims 3 to 5.
前記ネットワークから受信されるパケットが示すプロトコルの種類に基づいて、当該パケットが前記IPアドレス問合信号であるのか否かを判断する信号判断部をさらに備える、請求項1から6のいずれか一項に記載の通信装置。   The signal determination unit according to claim 1, further comprising: a signal determination unit configured to determine whether the packet is the IP address inquiry signal based on a protocol type indicated by the packet received from the network. The communication apparatus as described in. 消費電力が比較的に高い高消費状態と、消費電力が比較的に低い低消費状態と、の間で移行可能であるプロセッサを備え、
前記プロセッサは、前記第1の登録判断部と、前記IPアドレス送信部と、を備え、
前記プロセッサは、前記プロセッサを前記高消費状態と低消費状態との間で移行させる移行制御部を、さらに備え、
前記プロセッサが前記高消費状態である間に、前記IPアドレス問合信号が受信される場合に、前記IPアドレス送信部は、前記通信装置の前記IPアドレスが前記登録サーバに登録されているのか否かに関わらず、前記IPアドレス問合信号の送信元デバイスに向けて、前記通信装置の前記IPアドレスを送信し、
前記プロセッサが前記低消費状態である間に、前記IPアドレス問合信号が受信され、かつ、前記通信装置の前記IPアドレスが前記登録サーバに登録されていないと判断される場合に、
前記移行制御部は、前記プロセッサを前記低消費状態から前記高消費状態に移行させ、
前記IPアドレス送信部は、前記IPアドレス問合信号の送信元デバイスに向けて、前記通信装置の前記IPアドレスを送信し、
前記プロセッサが前記低消費状態である間に、前記IPアドレス問合信号が受信され、かつ、前記通信装置の前記IPアドレスが前記登録サーバに登録されていると判断される場合に、
前記移行制御部は、前記プロセッサを前記低消費状態から前記高消費状態に移行させず、
前記IPアドレス送信部は、前記IPアドレス問合信号の送信元デバイスに向けて、前記通信装置の前記IPアドレスを送信しない、請求項1から7のいずれか一項に記載の通信装置。
With a processor that can be transitioned between a high power consumption state with relatively high power consumption and a low power consumption state with relatively low power consumption,
The processor includes the first registration determination unit and the IP address transmission unit.
The processor further includes a transition control unit that shifts the processor between the high consumption state and the low consumption state,
When the IP address inquiry signal is received while the processor is in the high consumption state, the IP address transmission unit determines whether the IP address of the communication device is registered in the registration server. Regardless of whether the IP address of the communication device is transmitted to the source device of the IP address inquiry signal,
When it is determined that the IP address inquiry signal is received and the IP address of the communication device is not registered in the registration server while the processor is in the low consumption state,
The transition control unit shifts the processor from the low consumption state to the high consumption state,
The IP address transmission unit transmits the IP address of the communication device to a transmission source device of the IP address inquiry signal,
When it is determined that the IP address inquiry signal is received and the IP address of the communication device is registered in the registration server while the processor is in the low consumption state,
The transition control unit does not shift the processor from the low consumption state to the high consumption state,
The communication apparatus according to claim 1, wherein the IP address transmission unit does not transmit the IP address of the communication apparatus toward a transmission source device of the IP address inquiry signal.
前記ネットワークに接続されている特定のデバイスのIPアドレスを、前記登録サーバから取得するための第1の取得信号を、前記登録サーバに送信する第1の信号送信部と、
前記特定のデバイスの前記IPアドレスを、前記特定のデバイスから取得するための第2の取得信号を、ブロードキャスト及びマルチキャストの少なくとも一方で送信する第2の信号送信部と、
前記特定のデバイスの前記IPアドレスが取得されるべき際に、前記特定のデバイスの前記IPアドレスが、前記登録サーバに登録されているのか否かを判断する第2の登録判断部と、をさらに備え、
前記特定のデバイスの前記IPアドレスが前記登録サーバに登録されていないと判断される場合に、
前記第2の信号送信部は、前記第2の取得信号をブロードキャスト及びマルチキャストの少なくとも一方で送信し、
を実行し、
前記特定のデバイスの前記IPアドレスが前記登録サーバに登録されていると判断される場合に、
前記第1の信号送信部は、前記第1の取得信号を前記登録サーバに送信し、
前記第2の信号送信部は、前記第2の取得信号を送信しない、請求項1から8のいずれか一項に記載の通信装置。
A first signal transmission unit for transmitting, to the registration server, a first acquisition signal for acquiring an IP address of a specific device connected to the network from the registration server;
A second signal transmitter for transmitting a second acquisition signal for acquiring the IP address of the specific device from the specific device by at least one of broadcast and multicast;
A second registration determination unit that determines whether the IP address of the specific device is registered in the registration server when the IP address of the specific device is to be acquired; Prepared,
When it is determined that the IP address of the specific device is not registered in the registration server,
The second signal transmission unit transmits the second acquisition signal by at least one of broadcast and multicast,
Run
When it is determined that the IP address of the specific device is registered in the registration server,
The first signal transmission unit transmits the first acquisition signal to the registration server,
The communication device according to claim 1, wherein the second signal transmission unit does not transmit the second acquisition signal.
ネットワークに接続されているデバイスのIPアドレスが登録される登録サーバに、前記ネットワークを介して接続される通信装置のためのコンピュータプログラムであって、
前記通信装置に搭載されたコンピュータに、
前記通信装置のIPアドレスが、前記登録サーバに登録されているか否かを判断する判断処理と、
前記ネットワークに接続されている送信元デバイスから前記通信装置のIPアドレスを問い合わせるためのIPアドレス問合信号が受信され、かつ、前記通信装置の前記IPアドレスが前記登録サーバに登録されていると判断される場合に、前記IPアドレス問合信号の送信元デバイスに向けて、前記通信装置の前記IPアドレスを送信せず、前記IPアドレス送信処理では、前記IPアドレス問合信号が受信され、かつ、前記通信装置の前記IPアドレスが前記登録サーバに登録されていないと判断される場合に、前記IPアドレス問合信号の送信元デバイスに向けて、前記通信装置の前記IPアドレスを送信するIPアドレス送信処理と、
を実行させる、コンピュータプログラム。
A computer program for a communication device connected via a network to a registration server in which an IP address of a device connected to the network is registered,
In a computer mounted on the communication device,
A determination process for determining whether an IP address of the communication device is registered in the registration server;
An IP address inquiry signal for inquiring about the IP address of the communication device is received from a transmission source device connected to the network, and it is determined that the IP address of the communication device is registered in the registration server The IP address inquiry signal is not transmitted to the source device of the IP address inquiry signal, the IP address inquiry signal is received in the IP address transmission process, and IP address transmission for transmitting the IP address of the communication apparatus to the transmission source device of the IP address inquiry signal when it is determined that the IP address of the communication apparatus is not registered in the registration server Processing,
A computer program that executes
JP2011043282A 2011-02-28 2011-02-28 Communication device Active JP5533735B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011043282A JP5533735B2 (en) 2011-02-28 2011-02-28 Communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011043282A JP5533735B2 (en) 2011-02-28 2011-02-28 Communication device

Publications (2)

Publication Number Publication Date
JP2012182599A true JP2012182599A (en) 2012-09-20
JP5533735B2 JP5533735B2 (en) 2014-06-25

Family

ID=47013433

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011043282A Active JP5533735B2 (en) 2011-02-28 2011-02-28 Communication device

Country Status (1)

Country Link
JP (1) JP5533735B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004334793A (en) * 2003-05-12 2004-11-25 Canon Inc Peripheral device, server system, client device, network device system, device searching method, storing medium for storing computer-readable program, and program
JP2006235941A (en) * 2005-02-24 2006-09-07 Canon Inc Image formation system
JP2010160550A (en) * 2009-01-06 2010-07-22 Ricoh Co Ltd Proxy processor, network system, proxy processing method, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004334793A (en) * 2003-05-12 2004-11-25 Canon Inc Peripheral device, server system, client device, network device system, device searching method, storing medium for storing computer-readable program, and program
JP2006235941A (en) * 2005-02-24 2006-09-07 Canon Inc Image formation system
JP2010160550A (en) * 2009-01-06 2010-07-22 Ricoh Co Ltd Proxy processor, network system, proxy processing method, and program

Also Published As

Publication number Publication date
JP5533735B2 (en) 2014-06-25

Similar Documents

Publication Publication Date Title
JP5218462B2 (en) Communication device
JP4546040B2 (en) Network service system, service agent processing method, computer-readable storage medium storing program, and program
US20060215216A1 (en) Image forming system, image forming method and information terminal device
JP5741022B2 (en) Communication device
JP5093277B2 (en) Communication apparatus and computer program
JP2010176424A (en) System, apparatus and program for forming image
JP2009289255A (en) Power saving support apparatus
JP6253751B1 (en) Printing apparatus and printing apparatus control method
JP5717398B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, AND CONTROL PROGRAM
US9086880B2 (en) Communication device management apparatus, user device, and service device
US9473658B2 (en) Electronic device that processes data received from an external apparatus
JP5343724B2 (en) Image forming system, power saving control method for image forming system, and power saving control program
JP2012156910A (en) Communication apparatus
JP6088959B2 (en) Electronics
JP5533735B2 (en) Communication device
JP5263027B2 (en) Management device and computer program
JP2004126959A (en) Communication management device, information processing device, and program
JP2015049838A (en) Communication system, communication control device, communication control method and program
JP2006197051A (en) Network communication control unit and method
JP2010093609A (en) Digital composite machine
JP2018200646A (en) Information processing apparatus and image formation apparatus
JP6460346B2 (en) Electronic equipment and power control program
JP4368776B2 (en) Network device, network device control method, program, and recording medium
JP2017200036A (en) Electronic equipment and power control program
JP2005275684A (en) Address administration device, network device, information processing system, program, and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130325

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131216

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140107

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140310

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

R150 Certificate of patent or registration of utility model

Ref document number: 5533735

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140414