JP2003244157A - Power source control method - Google Patents

Power source control method

Info

Publication number
JP2003244157A
JP2003244157A JP2002036432A JP2002036432A JP2003244157A JP 2003244157 A JP2003244157 A JP 2003244157A JP 2002036432 A JP2002036432 A JP 2002036432A JP 2002036432 A JP2002036432 A JP 2002036432A JP 2003244157 A JP2003244157 A JP 2003244157A
Authority
JP
Japan
Prior art keywords
network
packet
list
network device
power
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.)
Pending
Application number
JP2002036432A
Other languages
Japanese (ja)
Inventor
Akinori Suyama
明昇 須山
Yoshiaki Kakimura
義明 柿村
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.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan 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 Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP2002036432A priority Critical patent/JP2003244157A/en
Publication of JP2003244157A publication Critical patent/JP2003244157A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To reduce power consumption of network devices. <P>SOLUTION: The method comprises a step in which at least a network device has been powered on and has a list of network devices connected on the network, and a new network device is connected and powered on, a step in which an announce packet is transmitted from the new device, a step in which at least a network device receives the announce packet to check for the new device in the list, and if the new device is not found in the list, a new device is added to the list to create the updated list, a step in which at least a network device transmits a packet for powering on a plurality of devices connected on the network and transmits an announce packet, and a step of a plurality of network devices receive the packet to be powered on and receive the announce packet. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】 【0001】 【発明の属する技術分野】家庭内におけるネットワー
ク、いわゆるホームネットワークにおいてネットワーク
に接続された各機器の電源コントロール方法に関し、特
に電源起動パケットを使用することにより各機器の電源
コントロールを管理し、サーバとしての機能を削減する
ことなく各機器の待機電力を低減するための電源コント
ロール方法に関する。 【0002】 【従来の技術】家庭内におけるネットワーク、いわゆる
ホームネットワークにおいて、ネットワークに接続され
る機器は、その機器の性格からできるだけ複雑な設定作
業を避けるようにしなければならない。ネットワークと
してTCP/IPプロトコルを使用した場合、ネットワ
ーク上で必要となる設定項目は、各機器毎に設定される
IPアドレスが必要である。 【0003】また、ネットワーク上に存在する他の機器
の制御を行う際には、制御対象機器のIPアドレス情報
の取得と設定が必要となる。これらのうち、制御対象機
器のIPアドレスやサービス情報の取得を自動的に行う
サービスディスカバリープロトコルは以前から存在して
いた。一方、従来から存在しているネットワーク機器
は、それらのネットワーク機器を使用するために常時電
源を通電している必要があった。特にネットワークサー
バーは、いつアクセスがあるかわからないため、常時通
電している必要があった。 【0004】 【発明が解決しようとする課題】しかしながら、ホーム
ネットワークに使用されるネットワーク機器は、その条
件の一つとして待機電力の低減が望まれており、使用し
ていないネットワーク機器への常時通電は避けなければ
ならなかった。 【0005】そこで、本発明は、待機電力を極力抑える
ために電源がオフの状態のときにはネットワークデバイ
スのみ通電を行い、電源起動パケットを使用して家庭用
ネットワーク機器の電源コントロールを行うことを目的
とするものである。 【0006】 【課題を解決するための手段】上述した課題を解決する
ために、ネットワーク上に接続されている複数のネット
ワーク機器のうち少なくとも一つのネットワーク機器
は、電源がオンであると共に、それ以外にネットワーク
上に接続されているネットワーク機器のリストを持って
おり、前記ネットワーク上に新しいネットワーク機器を
接続して前記新しいネットワーク機器の電源をオンにす
るステップと、前記新しいネットワーク機器から自らの
情報を示すアナウンスパケットを送出するステップと、
前記少なくとも一つのネットワーク機器が、前記アナウ
ンスパケットを受信して前記リストに前記新しい機器が
あるかを調べ、新しい機器が存在しない場合に前記リス
トに前記新しい機器を追加して更新されたリストを作成
するステップと、前記少なくとも一つのネットワーク機
器が、前記ネットワーク上に接続されている複数の機器
のうち前記新しいネットワーク機器以外のネットワーク
機器に対して電源をオンとするパケットを送出すると共
に、前記新しいネットワーク機器を含む前記ネットワー
ク上に接続されている複数の機器に対して前記アナウン
スパケットを送出するステップと、前記ネットワーク上
に接続された複数のネットワーク機器が、前記電源をオ
ンとするパケットを受信して電源をオンとするステップ
と、前記新しいネットワーク機器を含む前記ネットワー
ク上に接続された複数のネットワーク機器が、前記アナ
ウンスパケットを受信するステップとからなる電源コン
トロール方法。を提供する。 【0007】 【発明の実施の形態】本発明に係る電源コントロール方
法について図面を参照して説明する。図1は本発明に係
る電源コントロール方法を適用したホームネットワーク
の要部を示すブロック図であり、図2は本発明に係る電
源コントロール方法の一実施例を示すフローチャートで
ある。 【0008】図1に示すようにホームネットワーク上に
は第1のネットワーク機器1、第2のネットワーク機器
2及び第3のネットワーク機器3が接続されており、後
に新しいネットワーク機器4が接続されるものである。 【0009】次に、図2に示すフローチャートを参照し
て本発明に係る電源コントロール方法の概要を説明す
る。 【0010】(STEP1)同一のホームネットワーク
上に接続されたネットワーク機器1,2,3が存在して
いる。ここで、第1のネットワーク機器1は電源がオン
であり、第2のネットワーク機器2及び第3のネットワ
ーク機器3は電源がオフの状態である。また、それぞれ
のネットワーク機器1、2,3は既にリストが構築され
ている状態であるとする。 【0011】(STEP2)ホームネットワーク上に新
しいネットワーク機器4を追加接続し、そのネットワー
ク機器4の電源をオンにする。このとき、新しいネット
ワーク機器4はサービス情報のアナウンスパケットを送
出する。 【0012】(STEP3)第1のネットワーク機器1
は、新しいネットワーク機器4から送出されたアナウン
スパケットを受信する。 【0013】(STEP4)第1のネットワーク機器1
は、受信したアナウンスパケットと第1のネットワーク
機器1自身に蓄積されたリストとを比較して新しいネッ
トワーク機器4が接続されたことを認識する。 【0014】(STEP5)第1のネットワーク機器1
は、新しいネットワーク機器4が接続されたことを認識
したため、アナウンスパケットを送出する。 【0015】(STEP6)第1のネットワーク機器1
は自身に蓄積されたリスト上にある第2のネットワーク
機器2及び第3のネットワーク機器3に対して電源起動
パケットを送出する。 1−1 次に、本発明に係る電源コントロール方法について更に
詳しく説明する。家庭内におけるネットワーク機器は、
その機器の性質上、できるだけ複雑な設定作業を避ける
ようにしなければならない。TCP/IPプロトコルを
用いたネットワーク上で必要となる設定項目としては、
各ネットワーク機器毎にIPアドレスの設定が必要であ
り、またネットワーク上の他の機器の制御を行う際に
は、制御対象となるネットワーク機器のIPアドレス情
報の取得と設定が必要となる。これらのうち、Home
Network Service Discover
yProtocol(HNSDP)である。 1−1−1.パケットサイズ なお、本実施例におけるプロトコルは基本的に家庭内に
おけるネットワーク接続のためのプロトコルであり、E
thernet(登録商標)、802.11無線LAN
で使用されることを想定しており、また、UDPを使用
するため、できるだけフラグメントを避ける必要性か
ら、パケットサイズとしては1472byteを上限と
している。 1−1−2.マルチキャストパケット また、IPアドレスが不明のネットワーク機器にもサー
ビス情報を提供するために、本実施例におけるプロトコ
ルではマルチキャストパケットを使用してパケットの送
信を行っている。ただし、例外として既知となっている
ネットワーク機器に対して、サービスのリクエストを行
うときに限り、マルチキャストだけではなく、ユニキャ
ストによる通信も可能とする。 1−1−3.アナウンス 更に、家庭用のネットワーク機器では推奨されていない
使い方をされる場合も考えられる。例えば、電源をオン
にしたままEtherケーブルの抜き差しを行ったり、
電源をオフにせずにいきなり電源プラグを抜いたり等、
通常の使用では起こらないようなことが起きてしまう場
合がある。この場合、ネットワークから切断或いはネッ
トワークに接続されたネットワーク機器は、切断又は接
続されたという情報を送ることができず、新たにネット
ワーク機器の検索を行うまでそのネットワーク機器の状
況は不明のままとなってしまう。これを回避するには一
定期間毎に接続状態の確認を行えば良いが、そのための
手法としては二つの方法が考えられる。一つは、ある一
定の間隔で全てのネットワーク機器に対してサービス情
報のパケットをアナウンスする方法であり、もう一つ
は、ある一定間隔で全てのネットワーク機器に対してリ
クエストを行う方法である。なお、本実施例におけるプ
ロトコルでは、一定間隔でアナウンスする手法を採用し
た。これは、リクエストする方法であるとリクエストの
パケットに対して戻りのパケットがあるため、一定期間
毎にアナウンスする方法に比べて、パケットの行き来が
倍になるためである。 1−1−4.パケット送出回数 また、本実施例におけるプロトコルでは、マルチキャス
トによるグループへの一斉アナウンスを行うため、UD
Pによるパケットを使用している。UDPパケットはT
CPによるパケット通信と異なり、パケットの伝達信頼
性が低いものとなっており、パケットの喪失が起こる可
能性がある。それゆえ、パケットの伝達信頼性を上げる
ため、複数回のパケット送出を行っている。 1−1−5.パケット内容 更に、パケットのフォーマットとしては、ASCIIコ
ードを使用している。基本的なヘッダー構造は、最大2
56文字の一行で表され、 「ヘッダー」+「:」+「内容」+「CRLF」 としている。また、ヘッダーの順序については、「拡張
ヘッダー」を除いて問わないものとする。また、パケッ
トの先頭行には、以下に示すプロトコル名を表記する。 「HNSDP」+「CRLF」 そして、ヘッダーの種類とその内容を図3に示す。CM
Dはコマンドヘッダーを示し、送出されるパケットの動
作を示すものである。また、VERはバージョン情報ヘ
ッダーであり、HNSDPのバージョンを示すものであ
る。更に、IPはIPアドレスヘッダーを示し、パケッ
ト送出機器のIPアドレスを示すものである。PTはポ
ート番号ヘッダーであり、パケット送出機器のサービス
を参照するための入り口であるポート番号を示してい
る。 【0016】MACはMACアドレスヘッダーであり、
パケット送出機器におけるMACアドレスを示すもので
ある。また、UDはユーザー設定機器名ヘッダーであ
り、パケット送出機器のユーザー設定による機器名、例
えば「VTR1」や「3F Video」や「Livi
ng room TV」にような、ユーザーが自由に設
定できる機器名を示している。 【0017】DTは機器種類ヘッダーであり、パケット
送出機器の種類、例えばVCR、TV、STBのような
実装者の区分する種類を示している。また、MNは機種
名ヘッダーであり、パケット送出機器の機種名(型番)
を示している。更に、SNはシリアルナンバーヘッダー
であり、パケット送出機器のシリアルナンバーを示して
いる。 【0018】STはサービスタイプヘッダーであり、パ
ケット送出機器におけるサービスの種類を示している。
また、DSは状態ヘッダーであり、パケット機器の状態
を示すものである。更に、PIはパケット送出間隔ヘッ
ダーであり、パケット送出機器におけるパケット送出の
間隔を示している。また、PWRはマジックパケット対
応状況ヘッダーであり、パケット送出機器においてマジ
ックパケットが使用可能かどうかを示す。更に、EXT
は拡張ヘッダーであり実装者によってヘッダー拡張する
ために使用するものである。 1−1−6.リスト また、本実施例におけるリストとは、ネットワーク上に
接続された各機器から送出されたアナウンスパケットの
内容(IPアドレス、MACアドレス、機種名等々)の
一覧を保存したものであり、電源オフ時でも内容を保持
するものとする。このリストは、後に示すNPCMにお
いても使用される。 1−1−7.動作規則 次に、本実施例における動作規制について説明する。ま
ず、パケット送出のタイミングであるが、アナウンスパ
ケット(コマンドヘッダー(CMD)にannounc
eが記述されているパケット)の送出は以下の状況のと
きに送出されなければならない。 1.状態移行時(電源オン、電源オフ、スタンバイ状
態) 2.他のネットワーク機器の状態移行検出時 3.リクエストパケット(コマンドヘッダー(CMD)
にrequestが記述されているパケット)受信時 4.アプリケーションによる要求時(例えば、ブラウズ
時等) 5.前回のパケット送出からパケット送出間隔ヘッダー
で設定されている時間以内 6.リストに無い新しいネットワーク機器を発見したと
き また、パケットを受信したときの処理は、コマンドヘッ
ダー(CMD)の内容により異なる。以下にそれぞれの
コマンド受信時の動作について示す。 1.リクエストパケット受信時 リクエストパケット(CMD:request)を受信
した場合は、すぐにアナウンスパケット(CMD:an
nounce)を送出しなければならない。 2.アナウンスパケット受信時 アナウンスパケット(CMD:announce)を受
信した場合、MACアドレスヘッダーとシリアルナンバ
ーヘッダーをもとにリスト上のネットワーク機器と照合
し、既存の機器のときには情報の更新(IPアドレス、
ポート番号等)のみを行う。また、照合の結果、新しい
ネットワーク機器が発見されたときにはパケット送出タ
イミングで示したように、パケットを送出してそのとき
にリストに新しいネットワーク機器を追加する。 【0019】次に、リストの操作について説明する。リ
ストの操作は前述したパケット受信時の処理以外に、以
下のような状況においても発生する。 1.パケット送出間隔以外の反応 リスト上のネットワーク機器が、電源オン又はスタンバ
イ状態にある場合に、パケット送出間隔ヘッダーで示さ
れた時間以内にパケットの受信が認められなかったとき
には、(パケット送出間隔×複数回 時間)待った後リ
スト上より削除する。 【0020】その他の運用上の仕様として以下の条件が
必要である。 1.電源オフ状態に移行する際には、電源オフ状態を示
すパケット(ST:paweroff)を送出後に電源
オフ状態に移行する。 2.リストは電源オフ時でも保持される必要がある。 3.新しいネットワーク機器をネットワーク上で認識さ
せるためには、ネットワーク上で既接続となっているネ
ットワーク機器のうち、最低限1台の電源をオンとする
必要がある。 1−2 従来のネットワーク機器は、使用するためには常時電源
を通電しているものしか存在していなかった。特にサー
バーは、いつアクセスがあるかわからないため、常時通
電している必要がある。しかし、家庭用機器は条件の一
つとして待機電力の低減が求められており、使用してい
ないにもかかわらず常時通電している状態は避けなけれ
ばならない。そこで、待機電力を極力抑えるため電源オ
フ状態のときには、ネットワークデバイスのみ通電を行
い、マジックパケットを使用してHNSDPの機能を拡
張する機構がNetwork Power Contr
ol Mechanism(NPCM)である。 1−2−1.マジックパケット 次に、マジックパケットについて説明する。マジックパ
ケットはAMD社が開発した技術であり、自分のネット
ワークデバイスのMACアドレスと一致したパケットを
受信したときに、システムの電源をオンにすることがで
きる機能を持っている。この機能はネットワークデバイ
スのみの通電で動作することができるため、CPUやそ
の他の周辺部品の電源をオフにすることができ、待機電
力を極力抑えることが可能となる。NPCMでは、ブロ
ードキャストのUDPパケット上にマジックパケットを
乗せネットワーク機器の電源の投入制御を行っている。 1−2−2.動作規則 NPCMはHNSDPと共に動作し、HNSDPのリス
トを使用して機能を実現している。以下にNPCMの動
作規制を示す。 ・マジックパケット送出タイミング マジックパケットの送出は、以下の状況のときに、保持
しているリストで管理されているネットワーク機器に対
して、送出されなければならない。 1.電源オン状態へ移行時 2.リストにない新しいネットワーク機器を発見したと
き 3.アプリケーションによる要求時 ・リストの操作 リストの操作は前述したHNSDPプロトコルの処理以
外に、以下のような状況においても発生する。 1.マジックパケット送出による反応 リスト上のネットワーク機器に対してマジックパケット
を送出後、電源オフ状態のネットワーク機器により一定
時間以内に反応のない場合は、リスト上より削除する。 2−1 次に、MNCMの動作例を図4に示す。このときの条件
としては既接続となっている3台のネットワーク機器
(うち電源オンは1台のみ)に、新しいネットワーク機
器を接続したものである。(図1 Step1対応)
(図5 接続前対応) 同図において、(1)では「New Device」
(新しいネットワーク機器)の接続又は電源オンによ
り、HNSDPパケットと自分のリストにあるネットワ
ーク機器に対してマジックパケットを送出する。(図1
Step2対応) (2)「New Device」(新しいネットワーク
機器)より受信し(図1Step3対応)、受信したパ
ケットを自分のリストと比較し、新しいデバイスを発見
したことを認識し(図1 Step4対応)、そのため
HNSDPパケット(図1 Step5対応)と自分の
リストにあるネットワーク機器に対してマジックパケッ
トを送出する。(図1 Step6対応) (3)「DeviceA」(第1のネットワーク機器)
より受信したパケットを自分のリストと比較し、新しい
デバイスを発見したことを認識し、そのためHNSDP
パケットと自分のリストにあるネットワーク機器に対し
てマジックパケットを送出する。 (4)「DeviceA」(第1のネットワーク機器)
より受信したマジックパケットにより、システムを起動
してスタンバイ状態へ移行する。 (5)「DeviceA」(第1のネットワーク機器)
より受信したマジックパケットにより、システムを起動
してスタンバイ状態へ移行する。 (6)スタンバイ状態となり、スタンバイ状態を示すH
NSDPパケットを送出。 (7)「DeviceC」(第3のネットワーク機器)
より受信したパケットを自分のリストと比較し、新しい
デバイスを発見したことを認識し、そのためHNSDP
パケットと自分のリストにあるネットワーク機器に対し
てマジックパケットを送出する。 (8)「New Device」(新しいネットワーク
機器)より受信したパケットを自分のリストと比較し、
新しいデバイスを発見したことを認識し、そのためHN
SDPパケットと自分のリストにあるネットワーク機器
に対してマジックパケットを送出する。 (9)スタンバイ状態となり、スタンバイ状態を示すH
NSDPパケットを送出する。 (10)「DeviceB」(第2のネットワーク機
器)より受信したパケットを自分のリストと比較し、新
しいデバイスを発見したことを認識し、そのためHNS
DPパケットと自分のリストにあるネットワーク機器に
対してマジックパケットを送出する。 (11)「New Device」(新しいネットワー
ク機器)より受信したパケットを自分のリストと比較
し、新しいデバイスを発見したことを認識し、そのため
HNSDPパケットと自分のリストにあるネットワーク
機器に対してマジックパケットを送出する。 (12)スタンバイ状態になってから一定時間経過後電
源オフ状態へ移行する。 (13)スタンバイ状態になってから一定時間経過後電
源オフ状態へ移行する。 (14)リスト上のネットワーク機器に対してマジック
パケットを送出後、一定時間応答がないデバイスをリス
トより削除する。(図5 接続後対応) (15)電源オフ状態を示すHNSDPパケットを送出
後、システムの電源をオフにする。 (16)電源オフ状態を示すHNSDPパケットを送出
後、システムの電源をオフにする。 【0021】 【発明の効果】以上、詳述したように本発明に係る電源
コントロール方法によれば、少なくとも一つの機器を通
常の電源オン状態として、新しく追加した機器からのア
ナウンスパケットを受信できる状態とし、前述した少な
くとも一つの機器から電源オフ(待機状態)の機器に対
して電源起動パケットを送信することでネットワーク機
器の電源コントロールが可能となり、ホームネットワー
クに接続される機器を省電力の待機状態としたままで新
しい機器を追加することができ、消費電力を極力抑える
ことが可能となるという効果を奏する。
Description: BACKGROUND OF THE INVENTION [0001] 1. Field of the Invention [0002] The present invention relates to a power control method for each device connected to a network in a home network, that is, a so-called home network. The present invention relates to a power supply control method for managing power supply control of each device and reducing standby power of each device without reducing a function as a server. 2. Description of the Related Art In a home network, that is, a so-called home network, equipment connected to the network must avoid setting work as complicated as possible due to the nature of the equipment. When the TCP / IP protocol is used as a network, the setting items required on the network require an IP address set for each device. When controlling other devices existing on a network, it is necessary to obtain and set IP address information of a device to be controlled. Among these, a service discovery protocol that automatically obtains the IP address and service information of a device to be controlled has existed before. On the other hand, conventionally existing network devices need to be energized at all times to use those network devices. In particular, the network server had to be energized at all times because it was not possible to know when the access would occur. [0004] However, for network equipment used for home networks, it is desired to reduce standby power as one of the conditions, and network equipment that is not used is always energized. Had to avoid. SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to supply power only to a network device when the power is off to minimize standby power, and to control power supply to home network equipment using a power supply start packet. To do. [0006] In order to solve the above-mentioned problems, at least one of a plurality of network devices connected to a network is turned on and other network devices are turned on. Having a list of network devices connected to the network, connecting a new network device on the network and turning on the new network device, and transmitting own information from the new network device. Sending an announcement packet indicating
The at least one network device receives the announcement packet, checks whether the new device is in the list, and adds the new device to the list if no new device exists, and creates an updated list. And transmitting at least one network device sends a power-on packet to a network device other than the new network device among the plurality of devices connected on the network, and Sending the announcement packet to a plurality of devices connected to the network including the device, and a plurality of network devices connected to the network receiving the power-on packet Turning on the power supply; A plurality of network devices connected to the network including a network device, a power supply control method comprising the step of receiving the announcement packet. I will provide a. [0007] A power control method according to the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a main part of a home network to which a power control method according to the present invention is applied, and FIG. 2 is a flowchart showing one embodiment of a power control method according to the present invention. As shown in FIG. 1, a first network device 1, a second network device 2, and a third network device 3 are connected on a home network, and a new network device 4 is connected later. It is. Next, an outline of a power supply control method according to the present invention will be described with reference to a flowchart shown in FIG. (STEP 1) There are network devices 1, 2, 3 connected on the same home network. Here, the power of the first network device 1 is on, and the power of the second network device 2 and the third network device 3 is off. It is also assumed that each of the network devices 1, 2, and 3 has a list already constructed. (STEP 2) A new network device 4 is additionally connected to the home network, and the power of the network device 4 is turned on. At this time, the new network device 4 sends out an announcement packet of service information. (STEP 3) First Network Device 1
Receives the announcement packet transmitted from the new network device 4. (STEP 4) First Network Device 1
Compares the received announcement packet with the list stored in the first network device 1 itself, and recognizes that a new network device 4 has been connected. (STEP 5) First Network Device 1
Transmits an announcement packet because it has recognized that a new network device 4 has been connected. (STEP 6) First Network Device 1
Sends a power-on packet to the second network device 2 and the third network device 3 on the list stored therein. 1-1 Next, the power supply control method according to the present invention will be described in more detail. Network equipment at home
Due to the nature of the device, it is necessary to avoid as complicated a setting operation as possible. The setting items required on the network using the TCP / IP protocol include:
It is necessary to set an IP address for each network device, and when controlling other devices on the network, it is necessary to obtain and set the IP address information of the network device to be controlled. Of these, Home
Network Service Discover
yProtocol (HNSDP). 1-1-1. Packet size The protocol in the present embodiment is basically a protocol for network connection in a home,
Ethernet (registered trademark), 802.11 wireless LAN
The packet size is set to 1472 bytes as an upper limit because it is necessary to avoid fragments as much as possible because UDP is used. 1-1-2. Multicast Packet In order to provide service information to a network device whose IP address is unknown, the protocol in the present embodiment uses a multicast packet to transmit a packet. However, only when making a service request to a known network device as an exception, not only multicast but also unicast communication is possible. 1-1-3. Announcement In addition, there are cases where usage is not recommended for home network equipment. For example, disconnecting and connecting the Ether cable while the power is on,
Without unplugging the power plug without turning off the power,
In some cases, things that do not occur in normal use may occur. In this case, the network device disconnected from or connected to the network cannot send information indicating that the device has been disconnected or connected, and the status of the network device remains unknown until a new network device is searched. Would. To avoid this, the connection state may be checked at regular intervals, but two methods are conceivable as methods for that. One is a method of announcing a packet of service information to all the network devices at a certain interval, and the other is a method of making a request to all the network devices at a certain interval. In the protocol of the present embodiment, a method of making announcements at regular intervals was adopted. This is because, in the requesting method, there is a return packet with respect to the request packet, so that the number of times the packet travels is doubled as compared with the method in which the packet is announced at regular intervals. 1-1-4. The number of packet transmissions In the protocol of this embodiment, since simultaneous announcement to a group by multicast is performed, UD
The packet by P is used. UDP packet is T
Unlike the packet communication by the CP, the packet transmission reliability is low, and the packet may be lost. Therefore, packet transmission is performed a plurality of times in order to improve packet transmission reliability. 1-1-5. Packet Content Further, the format of the packet uses an ASCII code. Basic header structure up to 2
It is represented by one line of 56 characters, and is “header” + “:” + “contents” + “CRLF”. The order of the headers is not limited except for the “extension header”. In the first line of the packet, the following protocol name is described. “HNSDP” + “CRLF” The types and contents of the header are shown in FIG. CM
D indicates a command header and indicates the operation of the packet to be transmitted. VER is a version information header, which indicates the version of HNSDP. Further, IP indicates an IP address header, and indicates the IP address of the packet transmission device. PT is a port number header, and indicates a port number which is an entrance for referring to a service of the packet transmission device. MAC is a MAC address header,
It shows the MAC address in the packet sending device. UD is a user-set device name header, which is a device name according to the user setting of the packet transmission device, for example, “VTR1”, “3F Video”, or “Live”.
ng room TV ", which is a device name that can be freely set by the user. DT is a device type header, which indicates the type of the packet transmission device, for example, the type that the implementer classifies, such as VCR, TV, or STB. MN is a model name header, and the model name (model number) of the packet transmission device.
Is shown. Further, SN is a serial number header, which indicates the serial number of the packet transmission device. ST is a service type header, which indicates the type of service in the packet transmitting device.
DS is a status header, which indicates the status of the packet device. Further, PI is a packet sending interval header, which indicates a packet sending interval in the packet sending device. PWR is a magic packet correspondence status header, and indicates whether or not a magic packet can be used in a packet transmitting device. Furthermore, EXT
Is an extension header, which is used by the implementer to extend the header. 1-1-6. List The list in the present embodiment is a list in which a list of announcement packets (IP address, MAC address, model name, etc.) transmitted from each device connected on the network is stored, and is used when the power is turned off. However, the content shall be retained. This list is also used in the NPCM shown below. 1-1-7. Operation Rules Next, operation restrictions in the present embodiment will be described. First, regarding the packet transmission timing, the announcement packet (announced in the command header (CMD))
The transmission of the packet in which e is described) must be transmitted in the following situations. 1. 1. When transitioning to a state (power on, power off, standby state) 2. When the state transition of another network device is detected Request packet (command header (CMD)
At the time of reception). 4. When requested by the application (for example, when browsing) 5. Within the time set in the packet transmission interval header since the previous packet transmission Processing when a new network device not found in the list is found or when a packet is received differs depending on the contents of the command header (CMD). The operation at the time of receiving each command will be described below. 1. When a request packet (CMD: request) is received, the announcement packet (CMD: an
Nonce) must be sent. 2. When an announcement packet is received When an announcement packet (CMD: announcement) is received, it is compared with the network devices on the list based on the MAC address header and the serial number header, and information is updated (IP address,
Port number). When a new network device is found as a result of the comparison, the packet is transmitted, and the new network device is added to the list at that time, as indicated by the packet transmission timing. Next, the operation of the list will be described. The operation of the list occurs in the following situations in addition to the above-described processing at the time of packet reception. 1. If a network device on the reaction list other than the packet transmission interval is in the power-on or standby state and packet reception is not recognized within the time indicated by the packet transmission interval header, (packet transmission interval x multiple packets) Times) wait and then delete from the list. The following conditions are required as other operational specifications. 1. When shifting to the power-off state, a packet indicating the power-off state (ST: poweroff) is transmitted, and then the state shifts to the power-off state. 2. The list needs to be retained even when the power is turned off. 3. In order for a new network device to be recognized on the network, it is necessary to turn on at least one of the network devices already connected on the network. 1-2 In the past, there were only conventional network devices in which power was constantly supplied to use. In particular, the server needs to be constantly powered because it is not known when it will be accessed. However, home appliances are required to reduce standby power as one of the conditions, and it is necessary to avoid a state in which power is always supplied even when not in use. Therefore, in order to minimize standby power, when the power is off, only the network device is energized, and a mechanism for expanding the function of the HNSDP by using a magic packet is a network power controller.
ol Mechanism (NPCM). 1-2-1. Next, the magic packet will be described. Magic Packet is a technology developed by AMD and has a function of turning on the power of the system when a packet matching the MAC address of its own network device is received. Since this function can be operated by energizing only the network device, the power of the CPU and other peripheral components can be turned off, and the standby power can be minimized. In the NPCM, a magic packet is put on a broadcast UDP packet to control power-on of a network device. 1-2-2. Rules of Operation NPCM works with HNSDP and implements functions using a list of HNSDP. The following describes the NPCM operation restrictions. Magic packet transmission timing Magic packets must be transmitted to network devices managed in the held list in the following situations. 1. 1. When transitioning to the power-on state 2. When a new network device not found in the list is found. The operation of the list at the time of request by the application and the operation of the list also occur in the following situations in addition to the processing of the HNSDP protocol described above. 1. After sending a magic packet to a network device on the reaction list by sending a magic packet, if there is no response within a certain period of time by the power-off network device, the device is deleted from the list. 2-1 Next, an operation example of the MNCM is shown in FIG. The condition at this time is that a new network device is connected to three already connected network devices (of which only one is turned on). (Fig. 1 Step1 compatible)
(FIG. 5 correspondence before connection) In FIG. 5, (1) indicates “New Device”.
By connecting (powering on) a new network device or turning on the power, a HNSDP packet and a magic packet are transmitted to the network devices on its own list. (Figure 1
(Compatible with Step 2) (2) Receiving from "New Device" (new network equipment) (corresponding to Step 3 in FIG. 1), comparing the received packet with its own list, and recognizing that a new device has been discovered (corresponding to Step 4 in FIG. 1). Therefore, it sends an HNSDP packet (corresponding to Step 5 in FIG. 1) and a magic packet to a network device in its own list. (Fig. 1 Compatible with Step 6) (3) "DeviceA" (first network device)
Compares the received packet with its own list, recognizes that it has found a new device, and therefore HNSDP
Sends a magic packet to the packet and network devices in its own list. (4) "DeviceA" (first network device)
In response to the received magic packet, the system is activated and shifts to the standby state. (5) "DeviceA" (first network device)
In response to the received magic packet, the system is activated and shifts to the standby state. (6) Standby state, H indicating standby state
Send NSDP packet. (7) "DeviceC" (third network device)
Compares the received packet with its own list, recognizes that it has found a new device, and therefore HNSDP
Sends a magic packet to the packet and network devices in its own list. (8) Compare the packet received from “New Device” (new network device) with its own list,
Recognizing that it has discovered a new device,
The magic packet is transmitted to the SDP packet and the network devices in the own list. (9) Standby state, H indicating standby state
Send an NSDP packet. (10) Compare the packet received from “DeviceB” (second network device) with its own list, recognize that a new device has been found, and therefore HNS
The magic packet is transmitted to the DP packet and the network devices in the list. (11) Compare the packet received from "New Device" (new network device) with its own list, recognize that a new device has been found, and therefore, magic packet for the HNSDP packet and the network device in its own list. Is sent. (12) After a lapse of a predetermined time from the standby state, the state shifts to the power-off state. (13) After a certain period of time has elapsed since the standby state, the power supply is turned off. (14) After transmitting the magic packet to the network devices on the list, devices that have not responded for a certain period of time are deleted from the list. (FIG. 5 correspondence after connection) (15) After transmitting the HNSDP packet indicating the power-off state, the power of the system is turned off. (16) After transmitting the HNSDP packet indicating the power-off state, the power of the system is turned off. As described in detail above, according to the power control method of the present invention, at least one device is set to a normal power-on state, and an announcement packet from a newly added device can be received. By transmitting a power-on packet from at least one device to a power-off (standby) device, power control of a network device becomes possible, and a device connected to the home network is placed in a power-saving standby state. It is possible to add a new device while keeping the power consumption as it is, and it is possible to suppress power consumption as much as possible.

【図面の簡単な説明】 【図1】本発明に係る電源コントロール方法に使用され
るネットワークシステムの構成を示すブロック図であ
る。 【図2】本発明に係る電源コントロール方法の一実施例
を示すフローチャートである。 【図3】本発明に係る電源コントロール方法に使用され
るパケットのヘッダーを示す図である。 【図4】本発明に係る電源コントロール方法におけるM
NCMの動作を示す図である。 【図5】本発明に係る電源コントロール方法におけるリ
ストの状態を示す図である。 【符号の説明】 1 第1のネットワーク機器 2 第2のネットワーク機器 3 第3のネットワーク機器 4 新しいネットワーク機器
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing a configuration of a network system used for a power supply control method according to the present invention. FIG. 2 is a flowchart illustrating an embodiment of a power supply control method according to the present invention. FIG. 3 is a diagram illustrating a header of a packet used in the power control method according to the present invention; FIG. 4 illustrates a power control method according to the present invention.
It is a figure showing operation of NCM. FIG. 5 is a diagram showing a state of a list in the power supply control method according to the present invention. [Description of Signs] 1 First network device 2 Second network device 3 Third network device 4 New network device

Claims (1)

【特許請求の範囲】 【請求項1】ネットワーク上に接続されている複数のネ
ットワーク機器のうち少なくとも一つのネットワーク機
器は、電源がオンであると共に、それ以外にネットワー
ク上に接続されているネットワーク機器のリストを持っ
ており、前記ネットワーク上に新しいネットワーク機器
を接続して前記新しいネットワーク機器の電源をオンに
するステップと、 前記新しいネットワーク機器から自らの情報を示すアナ
ウンスパケットを送出するステップと、 前記少なくとも一つのネットワーク機器が、前記アナウ
ンスパケットを受信して前記リストに前記新しい機器が
あるかを調べ、新しい機器が存在しない場合に前記リス
トに前記新しい機器を追加して更新されたリストを作成
するステップと、 前記少なくとも一つのネットワーク機器が、前記ネット
ワーク上に接続されている複数の機器のうち前記新しい
ネットワーク機器以外のネットワーク機器に対して電源
をオンとするパケットを送出すると共に、前記新しいネ
ットワーク機器を含む前記ネットワーク上に接続されて
いる複数の機器に対して前記アナウンスパケットを送出
するステップと、 前記ネットワーク上に接続された複数のネットワーク機
器が、前記電源をオンとするパケットを受信して電源を
オンとするステップと、 前記新しいネットワーク機器を含む前記ネットワーク上
に接続された複数のネットワーク機器が、前記アナウン
スパケットを受信するステップと、 からなる電源コントロール方法。
Claims: 1. A power supply of at least one of a plurality of network devices connected to a network is turned on, and the other network devices are connected to the network. Connecting a new network device on the network and turning on the new network device; transmitting an announcement packet indicating its own information from the new network device; At least one network device receives the announcement packet, checks if the new device is in the list, and if the new device does not exist, adds the new device to the list to create an updated list Steps, the at least one network Network device transmits a packet for turning on power to network devices other than the new network device among the plurality of devices connected on the network, and transmits the packet to the network including the new network device. Sending the announcement packet to a plurality of connected devices; and a plurality of network devices connected to the network receiving the power-on packet and turning on the power. A plurality of network devices connected to the network including the new network device receiving the announcement packet.
JP2002036432A 2002-02-14 2002-02-14 Power source control method Pending JP2003244157A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002036432A JP2003244157A (en) 2002-02-14 2002-02-14 Power source control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002036432A JP2003244157A (en) 2002-02-14 2002-02-14 Power source control method

Publications (1)

Publication Number Publication Date
JP2003244157A true JP2003244157A (en) 2003-08-29

Family

ID=27778319

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002036432A Pending JP2003244157A (en) 2002-02-14 2002-02-14 Power source control method

Country Status (1)

Country Link
JP (1) JP2003244157A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005287044A (en) * 2004-03-30 2005-10-13 Thomson Licensing Method for discovery of device connected to ip network and device to carry out the method
US8024593B2 (en) 2004-10-22 2011-09-20 Panasonic Corporation Communication device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005287044A (en) * 2004-03-30 2005-10-13 Thomson Licensing Method for discovery of device connected to ip network and device to carry out the method
JP4700989B2 (en) * 2004-03-30 2011-06-15 トムソン ライセンシング Method for discovering a device connected to an IP network and device for executing this method
KR101100565B1 (en) 2004-03-30 2011-12-29 톰슨 라이센싱 Method for the discovery of devices connected to an ip network and device to carry out said method
US8024593B2 (en) 2004-10-22 2011-09-20 Panasonic Corporation Communication device

Similar Documents

Publication Publication Date Title
JP3979306B2 (en) Wireless terminal device and wireless communication system
EP2748975B1 (en) Electrical lighting system power control
US7516187B2 (en) Remote control system for home appliance network and method for operating the same
RU2584478C2 (en) Device for supply of electric power to consumer through information connection
JP6588446B2 (en) Low complexity and low power distribution system
JP4642020B2 (en) Communication device
JP2005184804A (en) Method for waking up sleeping device, related network element, related waking device and related sleeping device
WO2001057631A1 (en) Network control system, device for network, repeater, and connector
WO2016169231A1 (en) Method and system for building steady piconet based on bluetooth
CN111010324A (en) Household appliance ad hoc network method and system based on BLE MESH network protocol
US9015464B2 (en) Electronic device and start-up method thereof
KR20050098926A (en) Method and system for reacting to a change of a upnp device
JP2010166412A (en) Relay device, and remote startup system
JP5734788B2 (en) Communication apparatus and program
JP3838130B2 (en) Power control method
US7568024B2 (en) Method for deciding network manager in home network
JP4207059B2 (en) Wireless terminal device and wireless communication system
EP2471216B1 (en) Network apparatus and method
US20120079296A1 (en) Communication device management apparatus, user device, and service device
JP2003244157A (en) Power source control method
JP2015119389A (en) Communication adapter
JP4880128B2 (en) Duality of link integrity for network devices in cold power condition
JP2004355171A (en) Home network system and its control method
JP4207058B2 (en) Wireless terminal device and wireless communication system
JP5940566B2 (en) Network system, constant connection method, server, electronic device, program