JP6914661B2 - Communication device and control method of communication device - Google Patents

Communication device and control method of communication device Download PDF

Info

Publication number
JP6914661B2
JP6914661B2 JP2017012852A JP2017012852A JP6914661B2 JP 6914661 B2 JP6914661 B2 JP 6914661B2 JP 2017012852 A JP2017012852 A JP 2017012852A JP 2017012852 A JP2017012852 A JP 2017012852A JP 6914661 B2 JP6914661 B2 JP 6914661B2
Authority
JP
Japan
Prior art keywords
multicast
communication device
state
multicast receiver
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2017012852A
Other languages
Japanese (ja)
Other versions
JP2018121272A (en
Inventor
邦洋 河田
邦洋 河田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2017012852A priority Critical patent/JP6914661B2/en
Priority to US15/878,180 priority patent/US10587428B2/en
Publication of JP2018121272A publication Critical patent/JP2018121272A/en
Application granted granted Critical
Publication of JP6914661B2 publication Critical patent/JP6914661B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1863Arrangements for providing special services to substations for broadcast or conference, e.g. multicast comprising mechanisms for improved reliability, e.g. status reports
    • H04L12/1877Measures taken prior to transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0212Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave
    • H04W52/0219Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave where the power saving management affects multiple terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0229Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0274Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
    • H04W52/028Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof switching on or off only a part of the equipment circuit blocks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)
  • Databases & Information Systems (AREA)

Description

本発明は、通信装置および通信装置の制御方法に関する。 The present invention relates to a communication device and a method for controlling the communication device.

近年、省電力化に対する要求は高まっている。そのため、装置を使用しないときには使用電力量を低く抑えた省電力モードに移行し、必要な仕事が発生したときに通常の使用電力量の動作状態である通常モードに移行させる仕組みを持つ機器が一般的になっている。また、装置を遠隔から通常モードへ移行させる手段として、これまで赤外線通信機能などを使った専用のリモートコントローラが一般的であった。近年では、有線LANや無線LANといったネットワーク通信機能を備えた装置においては、ネットワーク通信機能を利用して遠隔から通常モードに移行させることができるものが出てきている。 In recent years, the demand for power saving has been increasing. Therefore, in general, devices have a mechanism to shift to a power saving mode in which the amount of power used is kept low when the device is not used, and to a normal mode in which the amount of power used is normal when necessary work is performed. It has become a target. Further, as a means for shifting the device from the remote to the normal mode, a dedicated remote controller using an infrared communication function or the like has been generally used. In recent years, some devices having a network communication function such as a wired LAN and a wireless LAN can be remotely shifted to a normal mode by using the network communication function.

省電力モードには、装置が持つ全機能が動作可能であるがクロックを低速にするなどして性能を落とすことで省電力状態とするものがある。また、省電力モードには、ネットワーク通信機能部以外には電力やクロックの供給が停止され、メモリも一部しか使用できなくすることでより一層の省電力化を実現するものがある。そのような場合、省電力モードで使用するプログラムサイズも小さく実装しなければならず、省電力モードではネットワーク通信機能の一部しか持つことができない。 In the power saving mode, all the functions of the device can be operated, but there is a power saving state by lowering the performance by slowing down the clock. Further, in the power saving mode, there is one that realizes further power saving by stopping the supply of power and clock other than the network communication function unit and making only a part of the memory available. In such a case, the program size used in the power saving mode must be small, and the power saving mode can have only a part of the network communication function.

IPv6(Internet Protocol Version 6)ではアドレス自動構成の過程で重複アドレス検出を実施する。重複アドレス検出ではマルチキャストアドレスの一つである、要請ノードマルチキャストアドレス(solicited−node multicast address)を使用する。受信側の通信装置がマルチキャストアドレスを使用するためには、マルチキャストグループ管理プロトコルであるMLDを使う。MLDは、Multicast Listener Discovery(マルチキャスト受信者探索)の略である。受信側の通信装置は、MLDを使って、ルータやMLDスヌープスイッチに対して、マルチキャストアドレスを受信する意思を伝えなければならない。MLDにはマルチキャストグループへの参加、維持、離脱の機能がある。さらに、MLDv2(Multicast Listener Discovery Version 2)では、マルチキャストパケットの送信元アドレス管理の機能が追加されている。
省電力モード中の動作制御に関する技術が特許文献1に開示されている。特許文献1では、省電力モード中に無線送受信機能を所定の周期でオン/オフしている。省電力モード中にマルチキャストパケットを受信する場合、特許文献1の装置は、無線送受信機能がオンになった際にMLDの参加パケットを送信している。
In IPv6 (Internet Protocol Version 6), duplicate address detection is performed in the process of automatic address configuration. In duplicate address detection, a solicited-node multicast address (solicited-node multicast address), which is one of the multicast addresses, is used. In order for the receiving communication device to use the multicast address, MLD, which is a multicast group management protocol, is used. MLD is an abbreviation for Multicast Listener Discovery (Multicast Listener Discovery). The receiving communication device must use MLD to inform the router or MLD snoop switch of its intention to receive the multicast address. MLD has the functions of joining, maintaining, and leaving a multicast group. Further, in MLDv2 (Multicast Listener Discovery Version 2), a function of managing the source address of a multicast packet has been added.
Patent Document 1 discloses a technique relating to operation control in a power saving mode. In Patent Document 1, the wireless transmission / reception function is turned on / off at a predetermined cycle during the power saving mode. When receiving the multicast packet in the power saving mode, the device of Patent Document 1 transmits the participation packet of the MLD when the wireless transmission / reception function is turned on.

特開2010−124331号公報JP-A-2010-124331

しかしながら、特許文献1の装置は、無線送受信機能がオフの間、MLDの参加パケットをルータに送信しない。すなわち、特許文献1の装置では、ルータに対して参加パケットを送信した後に無線送受信機能がオフになると、ルータが定期的に送信するマルチキャストグループ維持のためのパケットに対して、応答できない場合がある。マルチキャストグループ維持のためのパケットに応答しないと、受信するノード(装置)が無いと判断され、装置とルータとの間にあるMLDスヌープスイッチの実装によっては、マルチキャストパケットが遮断される(送信されてこない)場合がある。つまり、特許文献1の装置では、マルチキャストグループを維持できない場合が生ずる。
省電力モード中にマルチキャストパケットが遮断されると、重複アドレス検出が動作しない場合がある。また、重複アドレス検出が動作しない場合、同一IPv6アドレスを持つ機器がネットワーク内に複数存在する状況が生じ、IPv6で正しく通信できなくなる。
However, the device of Patent Document 1 does not transmit the MLD participation packet to the router while the wireless transmission / reception function is off. That is, in the device of Patent Document 1, if the wireless transmission / reception function is turned off after transmitting the participation packet to the router, the router may not be able to respond to the packet for maintaining the multicast group that is periodically transmitted. .. If it does not respond to the packet for maintaining the multicast group, it is determined that there is no node (device) to receive, and the multicast packet is blocked (transmitted) depending on the implementation of the MLD snoop switch between the device and the router. It may not come). That is, the apparatus of Patent Document 1 may not be able to maintain the multicast group.
Duplicate address detection may not work if multicast packets are blocked during power saving mode. Further, when the duplicate address detection does not operate, a situation occurs in which a plurality of devices having the same IPv6 address exist in the network, and it becomes impossible to communicate correctly with IPv6.

また、MLDには機能やパラメータが多いので、マルチキャストグループを維持するために、省電力モード中に全ての機能を保持するには多くのリソースが必要となる。
上記した課題に鑑み、本発明は、省電力モード(省電力状態)中において効率的にマルチキャストグループを維持することができる通信装置を提供することを目的とする。
In addition, since MLD has many functions and parameters, many resources are required to maintain all the functions in the power saving mode in order to maintain the multicast group.
In view of the above problems, an object of the present invention is to provide a communication device capable of efficiently maintaining a multicast group in a power saving mode (power saving state).

上記目的を達成するために、本発明の1つの態様による通信装置は、第1の状態から前記第1の状態より消費電力が小さい第2の状態へ移行する第1の移行手段と、前記第1の移行手段により前記第1の状態から前記第2の状態へ移行する際に、前記第1の状態における前記通信装置のインタフェースアドレスの下位32ビットから所定のアドレス情報を生成する生成手段と、前記第2の状態において外部から信号を受信する受信手段と、受信した前記信号がマルチキャスト受信者照会信号であるか否かを判定する第1の判定手段と、受信した前記信号が前記マルチキャスト受信者照会信号であると判定された場合、前記マルチキャスト受信者照会信号のマルチキャストアドレスが、前記通信装置が参加しているマルチキャストグループのアドレスに一致するか否かを前記生成手段により生成された前記所定のアドレス情報に基づいて判定する第2の判定手段と、前記マルチキャスト受信者照会信号のマルチキャストアドレスが前記通信装置が参加しているアドレスに一致すると判定された場合、マルチキャスト受信者報告を、前記第2の状態で前記マルチキャスト受信者照会信号の発信元に送信する送信手段と、を備える。

To achieve the above object, the communication apparatus according to one aspect of the present invention includes a first transition means a transition from the first state to the first power than state is smaller second state, said first A generation means for generating predetermined address information from the lower 32 bits of the interface address of the communication device in the first state when shifting from the first state to the second state by the transition means 1. A receiving means for receiving a signal from the outside in the second state, a first determining means for determining whether or not the received signal is a multicast receiver inquiry signal, and the received signal being the multicast receiver. If it is determined that the inquiry signal, the predetermined multicast address of the multicast receiver inquiry signal, the communication device is generated by the generation unit whether matching address of the multicast group participating of a second determination means for determining based on the address information, the multicast address of the multicast receiver query signal, when the communication device is determined to match the address that is participating, the multicast receiver reports, the A transmission means for transmitting the multicast receiver inquiry signal to the source of the multicast receiver inquiry signal in the second state is provided.

本発明によれば、省電力モード中において効率的にマルチキャストアドレスの維持を行うことが可能となる。 According to the present invention, it is possible to efficiently maintain a multicast address in the power saving mode.

第1実施形態に係る通信装置の構成を示した図。The figure which showed the structure of the communication apparatus which concerns on 1st Embodiment. 第1実施形態に係る通信装置の消費電力状態の遷移を示した図。The figure which showed the transition of the power consumption state of the communication apparatus which concerns on 1st Embodiment. 第1実施形態に係るネットワーク構成を示した図。The figure which showed the network configuration which concerns on 1st Embodiment. 通常電力状態におけるインタフェースアドレス設定処理フローを示した図。The figure which showed the interface address setting processing flow in a normal power state. 通常電力状態におけるインタフェースアドレス削除処理フローを示した図。The figure which showed the interface address deletion processing flow in a normal power state. 第1実施形態の省電力モードにおける処理フローを示した図。The figure which showed the processing flow in the power saving mode of 1st Embodiment. 第1実施形態の省電力モードにおける送信タイマ処理フローを示した図。The figure which showed the transmission timer processing flow in the power saving mode of 1st Embodiment.

以下、添付図面を参照して、本発明の実施形態を詳細に説明する。なお、実施形態において示す構成は一例に過ぎず、本発明は図示された構成に限定されるものではない。また、本発明の技術的範囲は、特許請求の範囲によって確定されるのであって、実施形態によって限定されない。実施形態の構成は、本発明が適用される装置の仕様や各種条件(使用条件、使用環境等)によって適宜修正又は変更され得る。 Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. The configuration shown in the embodiment is only an example, and the present invention is not limited to the illustrated configuration. Further, the technical scope of the present invention is determined by the scope of claims, and is not limited by the embodiments. The configuration of the embodiment may be appropriately modified or changed depending on the specifications of the apparatus to which the present invention is applied and various conditions (use conditions, use environment, etc.).

第1実施形態
(通信装置の構成)
第1実施形態に係る通信装置100の構成の一例について図1を用いて説明する。
通信装置100は、ネットワーク通信部101と、アプリケーションシステム部102と、省電力モード制御部103とを有している。
ネットワーク通信部101は、通信制御部104、バスブリッジ回路105、ローカルRAM106およびプロトコル処理部107を有する。ネットワーク通信部101の各構成部は、ローカルバス108により相互接続されている。通信装置100は、通信制御部104を介してネットワークスイッチ109に接続する。
First Embodiment (configuration of communication device)
An example of the configuration of the communication device 100 according to the first embodiment will be described with reference to FIG.
The communication device 100 includes a network communication unit 101, an application system unit 102, and a power saving mode control unit 103.
The network communication unit 101 includes a communication control unit 104, a bus bridge circuit 105, a local RAM 106, and a protocol processing unit 107. Each component of the network communication unit 101 is interconnected by a local bus 108. The communication device 100 is connected to the network switch 109 via the communication control unit 104.

省電力モード制御部103は、ネットワーク通信部101およびアプリケーションシステム部102の電力供給を独立的に制御する電源制御部である。省電力モード制御部103は、ネットワーク通信部101およびアプリケーションシステム部102に対して、電源投入の制御およびハードウェアリセット制御を行う。また、省電力モード制御部103は、通信装置100全体が安全に起動・停止するためのシーケンス制御を行う。省電力モード制御部103は、制御信号線115および116でネットワーク通信部101およびアプリケーションシステム部102と接続されており、通常モード(通常電力状態)および省電力モード(省電力状態)のモード移行動作制御を行う。省電力モード制御部103には、外部スイッチ117が接続されている。外部スイッチ117はユーザにより操作される。 The power saving mode control unit 103 is a power supply control unit that independently controls the power supply of the network communication unit 101 and the application system unit 102. The power saving mode control unit 103 performs power-on control and hardware reset control for the network communication unit 101 and the application system unit 102. Further, the power saving mode control unit 103 performs sequence control for safely starting and stopping the entire communication device 100. The power saving mode control unit 103 is connected to the network communication unit 101 and the application system unit 102 by the control signal lines 115 and 116, and the mode transition operation of the normal mode (normal power state) and the power saving mode (power saving state). Take control. An external switch 117 is connected to the power saving mode control unit 103. The external switch 117 is operated by the user.

通信制御部104は、ネットワークスイッチ109に接続して、ネットワークスイッチ109に対して伝送フレームの送受信を行う。例えば、通信制御部104は、イーサネット(登録商標)のMAC処理(伝送メディア制御処理)や伝送フレームの送受信を行う。
バスブリッジ回路105は、ネットワーク通信部101のローカルバス108と、アプリケーションシステム部102のシステムバス114とに接続され、ローカルバス108とシステムバス114との間のデータ転送を可能とする。即ち、ネットワーク通信部101と、アプリケーションシステム部102とは、それぞれのバス108と114が相互に接続されており、通信データの入出力においてバス間転送が行われる。
The communication control unit 104 connects to the network switch 109 and transmits / receives a transmission frame to / from the network switch 109. For example, the communication control unit 104 performs MAC processing (transmission media control processing) of Ethernet (registered trademark) and transmission / reception of transmission frames.
The bus bridge circuit 105 is connected to the local bus 108 of the network communication unit 101 and the system bus 114 of the application system unit 102, and enables data transfer between the local bus 108 and the system bus 114. That is, the network communication unit 101 and the application system unit 102 are connected to each other by buses 108 and 114, respectively, and transfer between buses is performed in the input / output of communication data.

ローカルRAM106は、ネットワーク通信部101内の処理における一時記憶装置である。より詳しくは、ローカルRAM106は、通信制御部104やプロトコル処理部107におけるデータの一時記憶領域として使用される。プロトコル処理部107をマイクロプロセッサで構成する場合は、ローカルRAM106を、動作時のプログラムの格納領域として用いてもよい。また、ローカルRAM106は複数のメモリバンクで構成され、メモリバンクごとに電源を制御可能な構成とする。なお、ローカルRAM106はメモリサイズの異なる複数のメモリチップで構成され、必要となるサイズに応じて切り替える構成であってもよい。 The local RAM 106 is a temporary storage device for processing in the network communication unit 101. More specifically, the local RAM 106 is used as a temporary storage area for data in the communication control unit 104 and the protocol processing unit 107. When the protocol processing unit 107 is configured by a microprocessor, the local RAM 106 may be used as a storage area for a program during operation. Further, the local RAM 106 is composed of a plurality of memory banks, and the power supply can be controlled for each memory bank. The local RAM 106 may be composed of a plurality of memory chips having different memory sizes, and may be switched according to the required size.

プロトコル処理部107は、通信プロトコル処理専用のハードウェア回路装置、あるいは通信プロトコル処理用に設計されたマイクロプロセッサである。プロトコル処理部107は、汎用的なTCP/IP通信処理を実行する。より具体的には、プロトコル処理部107は、IPv4、IPv6、IPsec、ICMP、UDP、TCPの各通信プロトコル処理、送信フロー制御、輻輳制御、通信エラー制御等を行う。プロトコル処理部107は1つの機能ブロックとして構成してもよいし、複数の機能のそれぞれを複数のマイクロプロセッサにより実行するマルチプロセッサとして構成してもよい。また、プロトコル処理部107は、マイクロプロセッサにより処理を行うと共に、一部の機能をハードウェアにより実現する(ハードウェアアクセラレーション)構成としてもよい。マイクロプロセッサとハードウェアは、それぞれ独立に電源制御可能な構成とすることが望ましい。TCPは、Transmission Control Protocolの略である。IPはInternet Protocolの略である。ICMPは、Internet Control Message Protocolの略である。UDPはUser Datagram Protocolの略である。 The protocol processing unit 107 is a hardware circuit device dedicated to communication protocol processing, or a microprocessor designed for communication protocol processing. The protocol processing unit 107 executes general-purpose TCP / IP communication processing. More specifically, the protocol processing unit 107 performs each communication protocol processing of IPv4, IPv6, IPsec, ICMP, UDP, TCP, transmission flow control, congestion control, communication error control, and the like. The protocol processing unit 107 may be configured as one functional block, or may be configured as a multiprocessor in which each of the plurality of functions is executed by a plurality of microprocessors. Further, the protocol processing unit 107 may have a configuration in which processing is performed by a microprocessor and some functions are realized by hardware (hardware acceleration). It is desirable that the microprocessor and hardware have a configuration in which the power supply can be controlled independently. TCP is an abbreviation for Transmission Control Protocol. IP is an abbreviation for Internet Protocol. ICMP is an abbreviation for Internet Control Message Protocol. UDP is an abbreviation for User Datagram Protocol.

通信装置100を操作するリモートコントローラ118は、ネットワークスイッチ109を介してTCP/IPプロトコルを用いた通信を行えるものとする。
アプリケーションシステム部102は、CPU110、ROM111、RAM112、およびアプリケーション機能部113を有する。アプリケーションシステム部102の各構成部は、システムバス114により相互に接続されている。
ROM111は、システムプログラムを格納している。
RAM112は、システムソフトウェアやアプリケーションソフトウェアの実行時に使用される一時記憶装置である。RAM112には、例えば、インタフェースアドレスが記憶される。ROM111からRAM112にソフトウェアプログラムが読み込まれ、CPU110によって実行される。
It is assumed that the remote controller 118 that operates the communication device 100 can perform communication using the TCP / IP protocol via the network switch 109.
The application system unit 102 includes a CPU 110, a ROM 111, a RAM 112, and an application function unit 113. Each component of the application system unit 102 is connected to each other by the system bus 114.
The ROM 111 stores the system program.
The RAM 112 is a temporary storage device used when executing system software or application software. For example, the interface address is stored in the RAM 112. A software program is read from the ROM 111 into the RAM 112 and executed by the CPU 110.

アプリケーション機能部113は、通信装置100が備えるアプリケーション機能を実現するために使用するハードウェア処理部である。
通信装置100の主要機能(アプリケーションプログラムの実行により実現される機能等)は、アプリケーションシステム部102で実現される。また、CPU110で実行されるアプリケーションプログラムは、ネットワーク通信を行うことが可能である。アプリケーションプログラムによるネットワーク通信は、TCP/IPプロトコルをベースとした通信である。TCP/IPプロトコル処理は、ネットワーク通信部101において実行される。
The application function unit 113 is a hardware processing unit used to realize the application function included in the communication device 100.
The main functions of the communication device 100 (functions realized by executing the application program, etc.) are realized by the application system unit 102. Further, the application program executed by the CPU 110 can perform network communication. Network communication by an application program is communication based on the TCP / IP protocol. The TCP / IP protocol processing is executed in the network communication unit 101.

なお、図示していないが、通信装置100は、重複アドレス検出タイマ、起床タイマおよび送信タイマを備えている。通信装置100は、少なくとも図1に示す構成を備えていればよく、その他の構成を備えていてもよい。また、通信装置100は、プロジェクタ、PC、タブレット端末、スマートフォン、デジタルカメラ、プリンタ等、どのような装置であってもよい。 Although not shown, the communication device 100 includes a duplicate address detection timer, a wake-up timer, and a transmission timer. The communication device 100 may have at least the configuration shown in FIG. 1, and may have other configurations. Further, the communication device 100 may be any device such as a projector, a PC, a tablet terminal, a smartphone, a digital camera, and a printer.

(省電力モードへの移行)
上記した構成を有する通信装置100は、主要機能が非動作であるアイドル状態において、省電力モードに移行することができる。省電力モードへの移行について、図2を用いて説明する。本実施形態の省電力モードでは、アプリケーションシステム部102は電源オフの状態となる。
図2は、通信装置100の消費電力状態の遷移図(概念図)である。符号201は通常電力状態(通常モード)を示し、符号202は省電力状態(省電力モード)を示す。通信装置100の主要機能が動作中である間は通常電力状態201を維持する(符号203)。通常電力状態201では、アプリケーションシステム部102を含む通信装置100全体に電力が供給される。通常電力状態201において主要機能が実行されていないアイドル状態になると、通常電力状態201から省電力状態202へ移行する(符号204)。
(Transition to power saving mode)
The communication device 100 having the above configuration can shift to the power saving mode in the idle state in which the main function is non-operating. The transition to the power saving mode will be described with reference to FIG. In the power saving mode of this embodiment, the application system unit 102 is in a power-off state.
FIG. 2 is a transition diagram (conceptual diagram) of the power consumption state of the communication device 100. Reference numeral 201 indicates a normal power state (normal mode), and reference numeral 202 indicates a power saving state (power saving mode). The normal power state 201 is maintained while the main function of the communication device 100 is operating (reference numeral 203). In the normal power state 201, power is supplied to the entire communication device 100 including the application system unit 102. When the normal power state 201 becomes an idle state in which the main function is not executed, the normal power state 201 shifts to the power saving state 202 (reference numeral 204).

通常電力状態201で通信装置100が参加しているマルチキャストグループに関する情報(例えば、インタフェースアドレス)は、例えば、RAM112に記憶される。通常電力状態201から省電力状態202へ移行すると、RAM112に記憶されているマルチキャストグループに関する情報は、ローカルRAM106にも記憶される。つまり、マルチキャストグループに関する情報は、通常電力状態201から省電力状態202への移行に伴い、アプリケーションシステム部102からネットワーク通信部101へ引き継がれる。この引継は、例えば、ネットワーク通信部101の通信制御部104が行う。 Information (for example, an interface address) about a multicast group in which the communication device 100 participates in the normal power state 201 is stored in, for example, the RAM 112. When the normal power state 201 is changed to the power saving state 202, the information about the multicast group stored in the RAM 112 is also stored in the local RAM 106. That is, the information about the multicast group is inherited from the application system unit 102 to the network communication unit 101 with the transition from the normal power state 201 to the power saving state 202. This takeover is performed, for example, by the communication control unit 104 of the network communication unit 101.

省電力状態202では、ネットワーク通信部101と省電力モード制御部103だけに電力が供給される。さらにネットワーク通信部101は動作モードに応じて、必要となるハードウェア資源にのみ電力が供給されるように、省電力モード制御部103によって細かく制御される。省電力状態202ではアプリケーションシステム部102は電源オフの状態であるため、システムバス114、CPU110、ROM111およびRAM112は停止していることになる。省電力状態202ではネットワーク通信部101に電力が供給されているので、常時、外部からの信号(例えば、パケット)を受信できる状態になっている。
省電力状態202から通常電力状態201への移行は、例えば、通信装置100がネットワークスイッチ109からシステムの起動要求を受信した場合(符号205)に行われる。なお、省電力モード制御部103に接続された外部スイッチ117の押下によっても、省電力状態202から通常電力状態201への移行を行うことができる。
In the power saving state 202, power is supplied only to the network communication unit 101 and the power saving mode control unit 103. Further, the network communication unit 101 is finely controlled by the power saving mode control unit 103 so that power is supplied only to the necessary hardware resources according to the operation mode. Since the application system unit 102 is in the power-off state in the power saving state 202, the system bus 114, the CPU 110, the ROM 111, and the RAM 112 are stopped. In the power saving state 202, since power is supplied to the network communication unit 101, it is in a state where it can always receive a signal (for example, a packet) from the outside.
The transition from the power saving state 202 to the normal power state 201 is performed, for example, when the communication device 100 receives a system start request from the network switch 109 (reference numeral 205). The transition from the power saving state 202 to the normal power state 201 can also be performed by pressing the external switch 117 connected to the power saving mode control unit 103.

通信装置100のマルチキャスト受信終了によるマルチキャスト受信者報告の送信は、通常電力状態201で行われる。また、通信装置100が参加しているマルチキャストグループの変更によるマルチキャスト受信者報告の送信も、通常電力状態201で行われる。尚、通常電力状態201、省電力状態202とは、それぞれ通信装置の第1の状態、第2の状態の一例である。但し、第1の状態が第2の状態よりも消費電力が大きい状態であれば、第1の状態、第2の状態はそれぞれ通常電力状態と省電力状態に限らない。 The transmission of the multicast receiver report by the termination of the multicast reception of the communication device 100 is performed in the normal power state 201. Further, the transmission of the multicast receiver report by changing the multicast group in which the communication device 100 participates is also performed in the normal power state 201. The normal power state 201 and the power saving state 202 are examples of the first state and the second state of the communication device, respectively. However, if the first state consumes more power than the second state, the first state and the second state are not limited to the normal power state and the power saving state, respectively.

(ネットワーク構成)
次に、本実施形態におけるネットワーク構成を、図3に基づいて説明する。このネットワークは、通信装置100と、ネットワークスイッチ109と、PC301と、ルータ装置302と、インターネット303により構成されている。PCはPersonal Computerの略である。
通信装置100は通信制御部104を介してネットワークスイッチ109に接続されている。ネットワークスイッチ109はMLDスヌーピングに対応している。PC301もネットワークスイッチ109に接続されている。ルータ装置302もネットワークスイッチ109に接続されている。ルータ装置302はインターネット303にも接続されている。本実施形態では、ルータ装置302がマルチキャストルータとして使用される。通信装置100およびPC301はそれぞれIPv6に対応しており、通信装置100をネットワークスイッチ109に接続すると、通信装置100のCPU110はIPv6インタフェースアドレスを設定する。PC301は、通信装置100と共にマルチキャストグループを構成する機器の一例である。
(Network configuration)
Next, the network configuration in this embodiment will be described with reference to FIG. This network is composed of a communication device 100, a network switch 109, a PC 301, a router device 302, and an Internet 303. PC is an abbreviation for Personal Computer.
The communication device 100 is connected to the network switch 109 via the communication control unit 104. Network switch 109 supports MLD snooping. The PC 301 is also connected to the network switch 109. The router device 302 is also connected to the network switch 109. The router device 302 is also connected to the Internet 303. In this embodiment, the router device 302 is used as a multicast router. The communication device 100 and the PC 301 each support IPv6, and when the communication device 100 is connected to the network switch 109, the CPU 110 of the communication device 100 sets an IPv6 interface address. The PC 301 is an example of a device that constitutes a multicast group together with the communication device 100.

(MLDスヌープスイッチの動作)
次にMLDスヌープスイッチの動作を説明する。
ネットワークスイッチ109は、MLDスヌーピングに対応しており、MLDスヌープスイッチとして機能する。ネットワークスイッチ109は、マルチキャストグループ管理プロトコルであるMLDのパケット(信号)のやりとりを監視する。図3のネットワーク構成では、ルータ装置302は、マルチキャスト受信者照会パケットを定期的に通信装置100とPC301に送信している。ネットワークスイッチ109に接続している機器(通信装置100とPC301)は、マルチキャスト受信者照会パケットを受信すると、マルチキャストグループに参加しているならば、マルチキャスト受信者報告をルータ装置302宛に送信する。ネットワークスイッチ109は、マルチキャスト受信者報告が送信されたことを検出すると、マルチキャスト受信者報告に付属しているマルチキャストアドレス情報とポート番号を記憶する。そして、ネットワークスイッチ109は、マルチキャストアドレス宛のパケットが特定のポート番号に送信されるように制御を行う。なお、マルチキャスト受信者照会パケットは、マルチキャスト受信者照会をするための信号の一例である。
(Operation of MLD snoop switch)
Next, the operation of the MLD snoop switch will be described.
The network switch 109 supports MLD snooping and functions as an MLD snooping switch. The network switch 109 monitors the exchange of packets (signals) of MLD, which is a multicast group management protocol. In the network configuration of FIG. 3, the router device 302 periodically transmits the multicast receiver inquiry packet to the communication device 100 and the PC 301. When the devices (communication device 100 and PC301) connected to the network switch 109 receive the multicast receiver inquiry packet, if they are participating in the multicast group, they send a multicast receiver report to the router device 302. When the network switch 109 detects that the multicast receiver report has been transmitted, the network switch 109 stores the multicast address information and the port number attached to the multicast receiver report. Then, the network switch 109 controls so that the packet addressed to the multicast address is transmitted to the specific port number. The multicast receiver inquiry packet is an example of a signal for performing a multicast receiver inquiry.

MLDスヌープスイッチの実装に関する明確な仕様は規定されていない。従って、ネットワークスイッチ109の実装によっては、マルチキャスト受信者報告を返さないポート(機器)に対しては、全ノードマルチキャストアドレス宛のマルチキャストパケットのみを送信する場合がある。そのため、通信装置100が、省電力状態中にマルチキャスト受信者照会パケットに応答しない場合は、重複アドレス検出が動作せずに、IPv6による通信が正しく行えない可能性がある。 No clear specifications have been specified for the implementation of the MLD snoop switch. Therefore, depending on the implementation of the network switch 109, only the multicast packet addressed to the all-nodes multicast address may be transmitted to the port (device) that does not return the multicast receiver report. Therefore, if the communication device 100 does not respond to the multicast receiver inquiry packet during the power saving state, the duplicate address detection may not operate and the communication by IPv6 may not be performed correctly.

(通常モードにおけるアドレス設定処理)
ここで通常モード(通常電力状態)におけるアドレス設定処理について図4を用いて説明する。
S401において、通信装置100は、リンクローカルアドレスをインタフェースアドレスとして、アプリケーションシステム部102に登録する。登録されたインタフェースアドレスは、例えば、RAM112に記憶される。なお、この時点では重複アドレス検出を実施していないため、登録したインタフェースアドレスは通信に使用することはできない。
(Address setting process in normal mode)
Here, the address setting process in the normal mode (normal power state) will be described with reference to FIG.
In S401, the communication device 100 registers the link local address as the interface address in the application system unit 102. The registered interface address is stored in, for example, the RAM 112. Since duplicate address detection has not been performed at this point, the registered interface address cannot be used for communication.

S402において、通信装置100は、S401で登録したインタフェースアドレスから要請ノードマルチキャストアドレスを生成する。要請ノードマルチキャストアドレスは、104ビットのマルチキャストプレフィクス(ff02:0:0:0:0:1:ff00::1/104)とS401で登録したインタフェースアドレスの下位24ビットとを結合することにより生成される。この時点で通信装置100は、前記要請ノードマルチキャストアドレス宛のパケットの受信が可能となる。
S403において、通信装置100は、S402で生成した要請ノードマルチキャストアドレスについてのマルチキャスト受信者報告(参加)をルータ装置302宛てに送信する。通信装置100が接続しているネットワークスイッチ109はMLDスヌーピングに対応しているので、マルチキャスト受信者報告を送信することにより、所望のマルチキャストパケットが通信装置100の接続されているポートに配信される。
In S402, the communication device 100 generates a solicited node multicast address from the interface address registered in S401. The solicited node multicast address is generated by combining the 104-bit multicast prefix (ff02: 0: 0: 0: 0: 1: ff00 :: 1/104) with the lower 24 bits of the interface address registered in S401. Will be done. At this point, the communication device 100 can receive the packet addressed to the solicited node multicast address.
In S403, the communication device 100 transmits a multicast receiver report (participation) regarding the solicited node multicast address generated in S402 to the router device 302. Since the network switch 109 to which the communication device 100 is connected supports MLD snooping, a desired multicast packet is delivered to the connected port of the communication device 100 by transmitting the multicast receiver report.

S404において、通信装置100は、近隣探査パケットをマルチキャストアドレス宛てに送信する。この近隣探査パケットは、S401で登録したインタフェースアドレスに対する近隣探査となる。
S405において、通信装置100は、重複アドレス検出タイマを起動する。つまり、重複アドレス検出タイムを設定する。これは、S404で送信した近隣探査パケットに対して近隣広告パケットを受信するために一定時間待機する必要があるためである。
S406において、通信装置100は、S404で送信した近隣探査パケットに対する近隣広告パケットを受信したかどうかを確認する。該当する近隣広告パケットを受信した場合は、S401で登録したインタフェースアドレスが他の通信装置のアドレスと重複しており通信には使えないので、S409に進む。
In S404, the communication device 100 transmits a neighborhood search packet to the multicast address. This neighborhood search packet is a neighborhood search for the interface address registered in S401.
In S405, the communication device 100 activates the duplicate address detection timer. That is, the duplicate address detection time is set. This is because it is necessary to wait for a certain period of time in order to receive the neighborhood advertisement packet with respect to the neighborhood search packet transmitted in S404.
In S406, the communication device 100 confirms whether or not the neighborhood advertisement packet for the neighborhood search packet transmitted in S404 has been received. When the corresponding neighboring advertisement packet is received, the interface address registered in S401 is duplicated with the address of another communication device and cannot be used for communication, so the process proceeds to S409.

S409において、通信装置100は、登録したインタフェースアドレスを無効化して処理を終了する。
S406において、該当する近隣広告パケットを受信しない場合は、S407へ進む。
S407において、通信装置100は、S405で起動した重複アドレス検出タイマ(設定された重複アドレス検出タイム)がタイムアウトしたかを判定する。タイムアウトしていない場合は、S406に戻る。タイムアウトしている場合はS401で登録したインタフェースアドレスと重複するアドレスを有する他の通信装置が存在しないと判断できるため、S408へ進む。
S408において、通信装置100は、S401で登録したインタフェースアドレスを有効化して処理を終了する。なお、本実施形態ではリンクローカルアドレス登録時のフローを示したが、グローバルアドレスの登録であってもよい。
In S409, the communication device 100 invalidates the registered interface address and ends the process.
If the corresponding neighboring advertisement packet is not received in S406, the process proceeds to S407.
In S407, the communication device 100 determines whether the duplicate address detection timer (set duplicate address detection time) started in S405 has timed out. If it has not timed out, it returns to S406. If the time-out occurs, it can be determined that there is no other communication device having an address that overlaps with the interface address registered in S401, so the process proceeds to S408.
In S408, the communication device 100 activates the interface address registered in S401 and ends the process. In this embodiment, the flow at the time of link local address registration is shown, but the global address may be registered.

(通常モードにおけるインタフェースアドレス削除処理)
次に通常モードにおけるインタフェースアドレス削除処理について図5を用いて説明する。
インタフェースアドレスが削除されるのは、ユーザ操作による場合や自動設定されたアドレスの有効期限が切れた場合などである。そのような要因によってインタフェースアドレスの削除が行われる際に、図5のフローは開始される。
S501において、通信装置100は、登録されているインタフェースアドレスを削除する。削除が完了すると、S502に進み、通信装置100はS501で削除したインタフェースアドレスと対応する要請ノードマルチキャストアドレスを削除する。
(Interface address deletion process in normal mode)
Next, the interface address deletion process in the normal mode will be described with reference to FIG.
The interface address is deleted by user operation or when the automatically set address has expired. When the interface address is deleted due to such a factor, the flow of FIG. 5 is started.
In S501, the communication device 100 deletes the registered interface address. When the deletion is completed, the process proceeds to S502, and the communication device 100 deletes the solicited node multicast address corresponding to the interface address deleted in S501.

S503において、通信装置100は、S502で削除した要請ノードマルチキャストアドレスについてのマルチキャスト受信者報告をルータ装置302宛てに送信する。ここで送信されるマルチキャスト受信者報告は、当該マルチキャストグループからの離脱を示す報告である。通信装置100が接続しているネットワークスイッチ109はMLDスヌーピングに対応しているので、ルータ装置302は、通信装置100が接続しているポートに対して、削除した要請ノードマルチキャストアドレス宛のパケットを配信しなくなる。 In S503, the communication device 100 transmits a multicast receiver report for the solicited node multicast address deleted in S502 to the router device 302. The multicast receiver report transmitted here is a report indicating withdrawal from the multicast group. Since the network switch 109 to which the communication device 100 is connected supports MLD snooping, the router device 302 delivers the packet addressed to the deleted request node multicast address to the port to which the communication device 100 is connected. Will not be.

(省電力モードにおける処理)
次に、省電力モードにおける処理フローについて図6を用いて説明する。通信装置100が省電力モードに移行すると、起床タイマが設定され(起動し)、その後、S601のステップに進む。
S601において、通信装置100は、通常モードのインタフェースアドレスの下位32ビットから短縮した要請ノードマルチキャストアドレスを生成し、保持する。なお、短縮時の下位ビット数は32ビット以外であってもよい。
S602において、通信装置100は、起床タイマがタイムアウトしたかどうかを確認する。タイムアウトしている場合は通常電力状態(通常モード)へ移行する。タイムアウトしていない場合は、S603へ進む。
(Processing in power saving mode)
Next, the processing flow in the power saving mode will be described with reference to FIG. When the communication device 100 shifts to the power saving mode, the wake-up timer is set (started), and then the process proceeds to step S601.
In S601, the communication device 100 generates and holds the solicited node multicast address shortened from the lower 32 bits of the interface address in the normal mode. The number of lower bits at the time of shortening may be other than 32 bits.
In S602, the communication device 100 confirms whether or not the wake-up timer has timed out. If it has timed out, it shifts to the normal power state (normal mode). If it has not timed out, the process proceeds to S603.

S603において、通信装置100は、パケットを受信したかどうかを判定する。パケットを受信していない場合は、S602へ戻り起床タイマのタイムアウトの判定を継続する。パケット受信している場合は、S604へ進む。
S604において、通信装置100は、受信したパケット(以下、「受信パケット」と称する。)がマルチキャスト受信者照会のパケットであるかどうかを判定する。受信パケットがマルチキャスト受信者照会のパケットでないと判定されると、当該判定結果に基づいて、S605に進む。受信パケットがマルチキャスト受信者照会のパケットであると判定されると、当該判定結果に基づいて、S607へ進む。
In S603, the communication device 100 determines whether or not the packet has been received. If the packet has not been received, the process returns to S602 and the determination of the timeout of the wake-up timer is continued. If the packet is being received, the process proceeds to S604.
In S604, the communication device 100 determines whether or not the received packet (hereinafter, referred to as “received packet”) is a packet for multicast receiver inquiry. If it is determined that the received packet is not a multicast receiver inquiry packet, the process proceeds to S605 based on the determination result. If it is determined that the received packet is a multicast receiver inquiry packet, the process proceeds to S607 based on the determination result.

S605において、通信装置100は、受信パケットが、通信装置100を起床させて通常電力状態に移行させる必要があるパケットであるかどうかを判定する。受信パケットが起床の必要がないパケットであればS606へ進む。受信パケットが起床の必要があるパケットならば、通常電力状態へ移行する。つまり、S605では、受信パケットの内容に基づいて、消費電力状態から通常電力状態へ移行させるかを判定している。
S606において、通信装置100は、パケット受信処理を行う。S606の後、S602へ戻る。
In S605, the communication device 100 determines whether the received packet is a packet that needs to wake up the communication device 100 and shift to the normal power state. If the received packet is a packet that does not need to wake up, the process proceeds to S606. If the received packet is a packet that needs to wake up, it shifts to the normal power state. That is, in S605, it is determined whether to shift from the power consumption state to the normal power state based on the content of the received packet.
In S606, the communication device 100 performs packet reception processing. After S606, it returns to S602.

S607において、通信装置100は、受信したマルチキャスト受信者照会パケットに付属するマルチキャストアドレスが未指定アドレス(0::0)もしくはS601で生成した要請ノードマルチキャストアドレスと一致するかを判定する。要請ノードマルチキャストアドレスと比較する場合には32ビットの要請ノードマルチキャストアドレスから128ビットの要請ノードマルチキャストアドレスに復元して比較する。前記付属しているマルチキャストアドレスが、未指定アドレスでも無く、要請ノードマルチキャストアドレスでも無い場合は、S602へ戻る。前記付属しているマルチキャストアドレスが、未指定アドレスもしくは要請ノードマルチキャストアドレスと一致する場合は、S608へ進む。 In S607, the communication device 100 determines whether the multicast address attached to the received multicast receiver inquiry packet matches the unspecified address (0 :: 0) or the solicited node multicast address generated in S601. When comparing with the solicited node multicast address, the 32-bit solicited node multicast address is restored to the 128-bit solicited node multicast address for comparison. If the attached multicast address is neither an unspecified address nor a solicited node multicast address, the process returns to S602. If the attached multicast address matches the unspecified address or the solicited node multicast address, the process proceeds to S608.

S608において、通信装置100は、受信したマルチキャスト受信者照会パケットの送信に使用されたプロトコルのバージョンが2であるかを判定する。バージョン1とバージョン2ではパラメータの形式に違いがある。プロトコルバージョンが2である場合は、S609へ進む。プロトコルバージョンが2以外である場合は、S611に進む。
S611において、通信装置100は、マルチキャスト受信者照会パケットに付属している最大応答遅延から最大遅延時間を計算し、0から最大遅延時間までの間の乱数値で、マルチキャスト受信者報告送信時刻を決定(計算)する。S611の後、S612へ進む。
In S608, the communication device 100 determines whether the version of the protocol used to transmit the received multicast receiver inquiry packet is 2. There is a difference in the parameter format between version 1 and version 2. If the protocol version is 2, the process proceeds to S609. If the protocol version is other than 2, the process proceeds to S611.
In S611, the communication device 100 calculates the maximum delay time from the maximum response delay attached to the multicast receiver inquiry packet, and determines the multicast receiver report transmission time with a random number value between 0 and the maximum delay time. (calculate. After S611, proceed to S612.

S609において、通信装置100は、マルチキャスト受信者照会パケットに付属する送信元数が0であるか否かを判定する。送信元数が0以外であれば応答する必要の無いパケットであるため、S602へ戻る。送信元数が0であればS610へ進む。
S610において、通信装置100は、マルチキャスト受信者照会パケットに付属している最大応答コードから最大遅延時間を計算し、0から最大遅延時間までの間の乱数値で、マルチキャスト受信者報告送信時刻を決定(計算)する。S610の後、S612へ進む。
S612において、通信装置100は、S610もしくはS611で決定したマルチキャスト受信者報告送信時刻からマルチキャスト受信者報告(維持)送信タイマを設定し、S602へ戻る。
なお、マルチキャスト受信者照会パケットに付属している最大応答遅延と、マルチキャスト受信者照会パケットに付属している最大応答コードは、マルチキャスト受信者照会パケットの最大応答遅延情報であると言える。
In S609, the communication device 100 determines whether or not the number of sources attached to the multicast receiver inquiry packet is 0. If the number of transmission sources is other than 0, the packet does not need to be responded, so the process returns to S602. If the number of transmission sources is 0, the process proceeds to S610.
In S610, the communication device 100 calculates the maximum delay time from the maximum response code attached to the multicast receiver inquiry packet, and determines the multicast receiver report transmission time with a random number value between 0 and the maximum delay time. (calculate. After S610, the process proceeds to S612.
In S612, the communication device 100 sets the multicast receiver report (maintenance) transmission timer from the multicast receiver report transmission time determined in S610 or S611, and returns to S602.
It can be said that the maximum response delay attached to the multicast receiver inquiry packet and the maximum response code attached to the multicast receiver inquiry packet are the maximum response delay information of the multicast receiver inquiry packet.

(マルチキャスト受信者報告(維持)送信タイマ発火時の処理)
次にマルチキャスト受信者報告(維持)送信タイマ発火時の処理フローについて図7を用いて説明する。図7のフローチャートの各ステップは、ネットワーク通信部101により実行される。
S701において、通信装置100は、S601で生成した下位32ビットの要請ノードマルチキャストアドレスを、128ビットの要請ノードマルチキャストアドレスに復元する。つまり、元の要請ノードマルチキャストアドレスに復元する。
S702において、通信装置100は、S701で復元した要請ノードマルチキャストアドレスからマルチキャスト受信者報告(維持)パケットを作成する。
S703において、通信装置100は、S702で作成したパケットを、ルータ装置302宛てに送信し、終了する。
(Multicast receiver report (maintenance) Processing when transmission timer fires)
Next, the processing flow when the multicast receiver report (maintenance) transmission timer fires will be described with reference to FIG. 7. Each step of the flowchart of FIG. 7 is executed by the network communication unit 101.
In S701, the communication device 100 restores the lower 32-bit solicited node multicast address generated in S601 to the 128-bit solicited node multicast address. That is, it restores to the original solicited node multicast address.
In S702, the communication device 100 creates a multicast receiver report (maintenance) packet from the solicited node multicast address restored in S701.
In S703, the communication device 100 transmits the packet created in S702 to the router device 302, and terminates.

(第1実施形態の効果)
通信装置100は省電力モードにおいてもマルチキャスト受信者照会に対して応答することができる。つまり、通信装置100は省電力モードでマルチキャスト受信者照会パケットを受信した場合、マルチキャスト受信者報告を、マルチキャスト受信者照会パケットの発信元に送信することができる。よって、省電力モードを備える通信装置100においてマルチキャストグループの管理を適切に行うことができる。
(Effect of the first embodiment)
The communication device 100 can respond to the multicast receiver inquiry even in the power saving mode. That is, when the communication device 100 receives the multicast receiver inquiry packet in the power saving mode, the communication device 100 can transmit the multicast receiver report to the source of the multicast receiver inquiry packet. Therefore, the multicast group can be appropriately managed in the communication device 100 provided with the power saving mode.

また、通信装置100は、マルチキャスト受信者照会パケットのマルチキャストアドレスが、通信装置100が参加しているマルチキャストグループの要請ノードマルチキャストアドレスに一致する場合にのみ、マルチキャスト受信者報告(維持)を送信する。
なお、省電力モードは、ユーザが通信装置100を操作していない状態であるので、ユーザによるインタフェースアドレスの追加および削除は発生しない。
このように、本実施形態における通信装置100は、省電力モードにおいて、電力消費リソースを削減しつつ、マルチキャストグループ(マルチキャストアドレス)の維持を実現することが可能となる。よって、本実施形態の通信装置100は、省電力モード中において効率的に且つより確実にマルチキャストアドレスの維持を行うことができる。
Further, the communication device 100 transmits the multicast receiver report (maintenance) only when the multicast address of the multicast receiver inquiry packet matches the request node multicast address of the multicast group in which the communication device 100 participates.
Since the power saving mode is a state in which the user is not operating the communication device 100, the user does not add or delete the interface address.
As described above, the communication device 100 in the present embodiment can maintain the multicast group (multicast address) while reducing the power consumption resources in the power saving mode. Therefore, the communication device 100 of the present embodiment can efficiently and more reliably maintain the multicast address in the power saving mode.

(変形例)
なお、上記した実施形態以外であっても、消費電力が異なる複数のモードで動作することができ、マルチキャスト受信者照会パケットを受信する通信機能を備える装置であれば、本発明を適用することができる。
図6のフローチャートは、図示された順序以外でも実施できる。例えば、S601(要請ノードマルチキャストアドレスの生成)は、S604とS607の間で実行してもよいし、S602(起床タイマアウト判定)はS606の後に実行してもよい。
(Modification example)
In addition to the above-described embodiment, the present invention can be applied to any device that can operate in a plurality of modes having different power consumption and has a communication function for receiving a multicast receiver inquiry packet. can.
The flowchart of FIG. 6 can be performed in an order other than that shown. For example, S601 (solicited node multicast address generation) may be executed between S604 and S607, and S602 (wake-up timer out determination) may be executed after S606.

上記した実施形態では、通信装置100とPC301によってマルチキャストグループが構成されたが、通信装置100とPC301以外の機器がマルチキャストグループを構成する機器として含まれてもよい。
上記した実施形態では、マルチキャスト受信者照会パケットが通信装置100に送信される例を説明したが、マルチキャスト受信者照会をするための信号(マルチキャスト受信者照会信号)であれば、パケットという形式でない信号を用いてもよい。
上記した実施形態では、通信プロトコルとしてIPv6を用いたが、本発明で使用するプロトコルはIPv6に限定されない。また、省電力モードはスリープモードであってよいし、通常電力モードはアウェイク(awake)モードであってよい。
In the above embodiment, the multicast group is composed of the communication device 100 and the PC 301, but devices other than the communication device 100 and the PC 301 may be included as the devices forming the multicast group.
In the above embodiment, an example in which a multicast receiver inquiry packet is transmitted to the communication device 100 has been described, but if it is a signal for performing a multicast receiver inquiry (multicast receiver inquiry signal), it is a signal that is not in the form of a packet. May be used.
In the above embodiment, IPv6 is used as the communication protocol, but the protocol used in the present invention is not limited to IPv6. Further, the power saving mode may be a sleep mode, and the normal power mode may be an awake mode.

図1に示した通信装置100の構成は、その一部が機能ブロックで示されている(例えば、省電力モード制御部103、通信制御部104、プロトコル処理部107)。図1に示した構成は一例であり、複数の機能ブロックが1つの機能ブロックを構成するようにしてもよいし、何れかの機能ブロックが複数の機能を行うブロックに分かれてもよい。また、機能ブロックの少なくとも1つがハードウェアとして実装されてもよい。ハードウェアにより実装する場合、例えば、所定のコンパイラを用いることで、各ステップを実現するためのプログラムからFPGA上に自動的に専用回路を生成すればよい。FPGAとは、Field Programmable Gate Arrayの略である。また、FPGAと同様にしてGate Array回路を形成し、ハードウェアとして実現するようにしてもよい。また、ASIC(Application Specific Integrated Circuit)により実現するようにしてもよい。 A part of the configuration of the communication device 100 shown in FIG. 1 is shown by a functional block (for example, power saving mode control unit 103, communication control unit 104, protocol processing unit 107). The configuration shown in FIG. 1 is an example, and a plurality of functional blocks may constitute one functional block, or any of the functional blocks may be divided into blocks that perform a plurality of functions. Also, at least one of the functional blocks may be implemented as hardware. When implementing by hardware, for example, by using a predetermined compiler, a dedicated circuit may be automatically generated on the FPGA from the program for realizing each step. FPGA is an abbreviation for Field Programmable Gate Array. Further, a Gate Array circuit may be formed in the same manner as the FPGA and realized as hardware. Further, it may be realized by ASIC (Application Specific Integrated Circuit).

(その他の実施形態)
上記した実施形態では、通信装置100を説明したが、本発明はその他の形態でも具現化(実現)することができる。たとえば、上記した実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other embodiments)
Although the communication device 100 has been described in the above-described embodiment, the present invention can be embodied (realized) in other forms as well. For example, a process of supplying a program that realizes one or more functions of the above-described embodiment to a system or device via a network or a storage medium, and reading and executing the program by one or more processors in the computer of the system or device. But it is feasible. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

100…通信装置、101…ネットワーク通信部、102…アプリケーションシステム部、103…省電力モード制御部、109…ネットワークスイッチ 100 ... Communication device, 101 ... Network communication unit, 102 ... Application system unit, 103 ... Power saving mode control unit, 109 ... Network switch

Claims (12)

通信装置であって、
第1の状態から前記第1の状態より消費電力が小さい第2の状態へ移行する第1の移行手段と、
前記第1の移行手段により前記第1の状態から前記第2の状態へ移行する際に、前記第1の状態における前記通信装置のインタフェースアドレスの下位32ビットから所定のアドレス情報を生成する生成手段と、
前記第2の状態において外部から信号を受信する受信手段と、
受信した前記信号がマルチキャスト受信者照会信号であるか否かを判定する第1の判定手段と、
受信した前記信号が前記マルチキャスト受信者照会信号であると判定された場合、前記マルチキャスト受信者照会信号のマルチキャストアドレスが、前記通信装置が参加しているマルチキャストグループのアドレスに一致するか否かを前記生成手段により生成された前記所定のアドレス情報に基づいて判定する第2の判定手段と、
前記マルチキャスト受信者照会信号のマルチキャストアドレスが前記通信装置が参加しているアドレスに一致すると判定された場合、マルチキャスト受信者報告を、前記第2の状態で前記マルチキャスト受信者照会信号の発信元に送信する送信手段と、
を備えることを特徴とする通信装置。
It ’s a communication device,
A first shifting unit to shift to the first power than state is smaller second state from the first state,
Generation means for generating predetermined address information from the lower 32 bits of the interface address of the communication device in the first state when shifting from the first state to the second state by the first transition means. When,
A receiving means for receiving a signal from the outside in the second state, and
A first determination means for determining whether or not the received signal is a multicast receiver inquiry signal, and
If said received signal is determined to the a multicast receiver inquiry signal, the multicast address of the multicast receiver inquiry signal, whether the communication apparatus matches the address of the multicast group participating A second determination means for determination based on the predetermined address information generated by the generation means, and
Multicast address of the multicast receiver query signal, when the communication device is determined to match the address that is participating, the multicast receiver report, the source of said multicast receiver inquiry signal in the second state The means of transmission and
A communication device characterized by comprising.
前記マルチキャスト受信者照会信号の送信に使用されているプロトコルのバージョンを判定する第3の判定手段をさらに備え、
前記送信手段は、前記第2の判定手段の判定結果と前記第3の判定手段の判定結果とに基づいて、前記マルチキャスト受信者報告を前記マルチキャスト受信者照会信号の発信元に送信することを特徴とする請求項1に記載の通信装置。
A third determination means for determining the version of the protocol used to transmit the multicast receiver inquiry signal is further provided.
The transmitting means transmits the multicast receiver report to the source of the multicast receiver inquiry signal based on the determination result of the second determination means and the determination result of the third determination means. The communication device according to claim 1.
前記マルチキャスト受信者照会信号の送信に使用されているプロトコルのバージョンが1の場合、前記マルチキャスト受信者照会信号の最大応答遅延情報に基づき前記マルチキャスト受信者報告の送信時刻を決定する第1の決定手段をさらに備え、
前記送信手段は、前記第1の決定手段により決定された送信時刻に、前記マルチキャスト受信者報告を送信することを特徴とする請求項2に記載の通信装置。
When the version of the protocol used for transmitting the multicast receiver inquiry signal is 1, the first determining means for determining the transmission time of the multicast receiver report based on the maximum response delay information of the multicast receiver inquiry signal. With more
The communication device according to claim 2, wherein the transmission means transmits the multicast receiver report at a transmission time determined by the first determination means.
前記マルチキャスト受信者照会信号の送信に使用されているプロトコルのバージョンが2の場合、前記マルチキャスト受信者照会信号の送信元数が0か否かを判定する第4の判定手段と、
前記マルチキャスト受信者照会信号の送信元数が0と判定された場合、前記マルチキャスト受信者照会信号の最大応答遅延情報に基づき前記マルチキャスト受信者報告の送信時刻を決定する第2の決定手段とをさらに備え、
前記マルチキャスト受信者照会信号の送信元数が0と判定された場合、前記送信手段は、前記第2の決定手段により決定された送信時刻に、前記マルチキャスト受信者報告を送信することを特徴とする請求項2または3に記載の通信装置。
When the version of the protocol used for transmitting the multicast receiver inquiry signal is 2, a fourth determination means for determining whether or not the number of sources of the multicast receiver inquiry signal is 0, and
When the number of sources of the multicast receiver inquiry signal is determined to be 0, a second determination means for determining the transmission time of the multicast receiver report based on the maximum response delay information of the multicast receiver inquiry signal is further added. Prepare,
When the number of sources of the multicast receiver inquiry signal is determined to be 0, the transmitting means transmits the multicast receiver report at a transmission time determined by the second determining means. The communication device according to claim 2 or 3.
前記通信装置のマルチキャスト受信終了によるマルチキャスト受信者報告の送信および参加しているマルチキャストグループの変更によるマルチキャスト受信者報告の送信は、前記第1の状態で行われることを特徴とする請求項1から4のいずれか1項に記載の通信装置。 Claims 1 to 4 are characterized in that the transmission of the multicast receiver report by the termination of the multicast reception of the communication device and the transmission of the multicast receiver report by the change of the participating multicast group are performed in the first state. The communication device according to any one of the above items. 前記第1の状態から前記第2の状態に移行する場合、前記第1の状態で参加している前記マルチキャストグループに関する情報を前記第2の状態においても引き継ぐ引継手段をさらに備えることを特徴とする請求項1から5のいずれか1項に記載の通信装置。 When shifting from the first state to the second state, it is further provided with a takeover means for taking over the information about the multicast group participating in the first state even in the second state. The communication device according to any one of claims 1 to 5. 前記通信装置が参加しているマルチキャストグループのアドレスは、前記通信装置が参加しているマルチキャストグループの要請ノードマルチキャストアドレスであることを特徴とする請求項1から6のいずれか1項に記載の通信装置。 Address of the multicast group to which the communication device is participating in, according to any one of claims 1 to 6, wherein the communication device is characterized in that it is a request-node multicast address of the multicast group participating Communication device. 前記マルチキャストグループに関する情報は、前記第1の状態におけるインタフェースアドレスの下位32ビットであることを特徴とする請求項7に記載の通信装置。 The communication device according to claim 7, wherein the information about the multicast group is the lower 32 bits of the interface address in the first state. 前記第2の状態において受信した信号が前記マルチキャスト受信者照会信号でない場合、当該信号の内容に基づいて、前記第2の状態を前記第1の状態へ移行させる第2の移行手段をさらに備えることを特徴とする請求項1から8のいずれか1項に記載の通信装置。 When the signal received in the second state is not the multicast receiver inquiry signal, a second transition means for shifting the second state to the first state is further provided based on the content of the signal. The communication device according to any one of claims 1 to 8 , wherein the communication device is characterized. 前記送信手段は、前記マルチキャスト受信者照会信号のマルチキャストアドレスが未指定アドレスの場合、マルチキャスト受信者報告を、前記マルチキャスト受信者照会信号の発信元に送信することを特徴とする請求項1から9のいずれか1項に記載の通信装置。 The transmitting means according to claims 1 to 9 , wherein when the multicast address of the multicast receiver inquiry signal is an undesignated address, the transmitting means transmits a multicast receiver report to the source of the multicast receiver inquiry signal. The communication device according to any one item. 第1の状態から前記第1の状態より消費電力が小さい第2の状態へ移行できる通信装置の制御方法であって、
前記通信装置が前記第1の状態から前記第2の状態へ移行する際に、前記第1の状態における前記通信装置のインタフェースアドレスの下位32ビットから所定のアドレス情報を生成するステップと、
前記第2の状態において受信した信号がマルチキャスト受信者照会信号であるか否かを判定するステップと、
受信した前記信号が前記マルチキャスト受信者照会信号であると判定された場合、前記マルチキャスト受信者照会信号のマルチキャストアドレスが、前記通信装置が参加しているマルチキャストグループのアドレスに一致するか否かを前記生成するステップにより生成された前記所定のアドレス情報に基づいて判定するステップと、
前記マルチキャスト受信者照会信号のマルチキャストアドレスが前記通信装置が参加している所定のアドレスに一致すると判定された場合、マルチキャスト受信者報告を、前記第2の状態で前記マルチキャスト受信者照会信号の発信元に送信するステップと、
を有することを特徴とする制御方法。
A control method for a communication apparatus that can be migrated from the first state to the first power than state is smaller second state,
When the communication device shifts from the first state to the second state, a step of generating predetermined address information from the lower 32 bits of the interface address of the communication device in the first state, and
A step of determining whether or not the signal received in the second state is a multicast receiver inquiry signal, and
If said received signal is determined to the a multicast receiver inquiry signal, the multicast address of the multicast receiver inquiry signal, whether the communication apparatus matches the address of the multicast group participating A step of determining based on the predetermined address information generated by the generation step, and a step of determining
The multicast address of the multicast receiver query signal, when the communication device is determined to match the predetermined address that is participating, the multicast receiver report, calling of said multicast receiver inquiry signal in the second state Steps to send to the original and
A control method characterized by having.
コンピュータが読み取り実行することで、前記コンピュータを、請求項1から10のいずれか1項に記載の通信装置の各手段として機能させるためのコンピュータプログラム。 A computer program for causing the computer to function as each means of the communication device according to any one of claims 1 to 10 by reading and executing the computer.
JP2017012852A 2017-01-27 2017-01-27 Communication device and control method of communication device Active JP6914661B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2017012852A JP6914661B2 (en) 2017-01-27 2017-01-27 Communication device and control method of communication device
US15/878,180 US10587428B2 (en) 2017-01-27 2018-01-23 Communication apparatus, method for controlling communication apparatus, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017012852A JP6914661B2 (en) 2017-01-27 2017-01-27 Communication device and control method of communication device

Publications (2)

Publication Number Publication Date
JP2018121272A JP2018121272A (en) 2018-08-02
JP6914661B2 true JP6914661B2 (en) 2021-08-04

Family

ID=62980904

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017012852A Active JP6914661B2 (en) 2017-01-27 2017-01-27 Communication device and control method of communication device

Country Status (2)

Country Link
US (1) US10587428B2 (en)
JP (1) JP6914661B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113691462B (en) * 2021-07-29 2023-09-15 杭州迪普科技股份有限公司 Response method and device of Internet group management protocol
CN114697258B (en) * 2022-04-11 2024-07-02 网易(杭州)网络有限公司 Data communication method, device, electronic equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4347497B2 (en) * 2000-04-03 2009-10-21 株式会社日立製作所 Communication control apparatus and packet conversion method
US8688834B2 (en) * 2004-07-09 2014-04-01 Toshiba America Research, Inc. Dynamic host configuration and network access authentication
JP2010124331A (en) 2008-11-20 2010-06-03 Toshiba Corp Video processor and video processing method of the same
US9768970B2 (en) * 2014-07-21 2017-09-19 Allied Telesis Holdings Kabushiki Kaisha Robust internet group management protocol (IGMP) and multicast listener discovery (MLD)
JP6366524B2 (en) * 2015-02-25 2018-08-01 キヤノン株式会社 Information processing apparatus, control method thereof, and program

Also Published As

Publication number Publication date
US10587428B2 (en) 2020-03-10
US20180219692A1 (en) 2018-08-02
JP2018121272A (en) 2018-08-02

Similar Documents

Publication Publication Date Title
US9104406B2 (en) Network presence offloads to network interface
US8738938B2 (en) Information processing apparatus, method for controlling the same, and storage medium
JP5218462B2 (en) Communication device
US20080301322A1 (en) Network controller, information processing apparatus and wake-up control method
JP6192284B2 (en) COMMUNICATION DEVICE AND ITS CONTROL METHOD
JP6914661B2 (en) Communication device and control method of communication device
CN104038570A (en) Method and device for data processing
JP2018045310A (en) Information processor, control method thereof and computer program
US12052644B2 (en) Method of waking up a mesh node in a wireless mesh network as well as a related mesh node and a computer program product
JP2008181436A (en) Information processor
JP5717398B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, AND CONTROL PROGRAM
JP5341852B2 (en) Communication device management apparatus and communication device management method
JP2011037174A (en) Power saving control apparatus and program
JP2011060028A (en) Information processing apparatus and control method thereof
JP6794202B2 (en) Communication equipment and its control method
JP2015049838A (en) Communication system, communication control device, communication control method and program
JP5537634B2 (en) Service equipment in communication equipment management equipment
JP5994226B2 (en) Network controller, wakeup control method, and information processing apparatus
JP5963562B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP2019066969A (en) Information processing apparatus and information processing program
KR20180080547A (en) Network management method and system for remote wakeup of multiple IT devices
CN115242748A (en) Method for reducing power consumption of computer system and low-power-consumption computer system
US20150156166A1 (en) Communication method and mobile electronic device using the same
JP2021175129A (en) Communication system
JP5533735B2 (en) Communication device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200117

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20201118

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201201

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210128

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210714

R151 Written notification of patent or utility model registration

Ref document number: 6914661

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: R3D03