JP2010181995A - Diagnostic system, network device, and diagnostic program - Google Patents

Diagnostic system, network device, and diagnostic program Download PDF

Info

Publication number
JP2010181995A
JP2010181995A JP2009023325A JP2009023325A JP2010181995A JP 2010181995 A JP2010181995 A JP 2010181995A JP 2009023325 A JP2009023325 A JP 2009023325A JP 2009023325 A JP2009023325 A JP 2009023325A JP 2010181995 A JP2010181995 A JP 2010181995A
Authority
JP
Japan
Prior art keywords
network
network device
diagnostic
information
diagnostic program
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.)
Withdrawn
Application number
JP2009023325A
Other languages
Japanese (ja)
Inventor
Susumu Takemura
進 竹村
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.)
Onkyo Corp
Original Assignee
Onkyo Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Onkyo Corp filed Critical Onkyo Corp
Priority to JP2009023325A priority Critical patent/JP2010181995A/en
Publication of JP2010181995A publication Critical patent/JP2010181995A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a diagnostic system which easily diagnoses a connection failure between devices on a network. <P>SOLUTION: An AV device 20 uses a generation program 231 to generate network device information having its own IP and network addresses and other device information including the MAC (Media Access Control) addresses of other devices belonging to the same sub-network, and then writes the network device information and a diagnostic program 232 to a USB memory device 30. A user mounts the USB memory device 30 on a personal computer (PC), in which a connection failure to the AV device 20 occurs, and installs the diagnostic program to the PC. The diagnostic program diagnoses the connection condition between the PC and the AV device 20 by using the network device information, the information on the location of the PC and the identification information on the PC, and then reports the result of the diagnosis. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、診断システムに関し、さらに詳しくは、ネットワークに接続可能なコンピュータ機器と、ネットワークに接続可能なAV機器等の家電機器に代表されるネットワーク機器とを備えた診断システムに関する。   The present invention relates to a diagnostic system, and more particularly to a diagnostic system including a computer device connectable to a network and a network device typified by home appliances such as AV devices connectable to the network.

家庭内LAN(Local Area Network)等のネットワークでは、ネットワークの自動構築が可能なプロトコルを実装する機器同士が、ユーザがIPアドレスの設定等をすることなく自動的に相互接続できるようになっている。このようなネットワークの自動構築が可能なプロトコルの代表としてUPnP(Universal Plug and Play)プロトコルがある。UPnPプロトコルは、パーソナルコンピュータ(Personal Computer:以下、PCという)だけでなく、AV機器等の家電機器にも実装されており、PCと家電機器とをネットワーク接続できる。   In a network such as a home local area network (LAN), devices that implement a protocol that can automatically construct a network can be automatically connected to each other without the user setting an IP address. . As a representative protocol that can automatically construct such a network, there is a UPnP (Universal Plug and Play) protocol. The UPnP protocol is implemented not only in personal computers (hereinafter referred to as PCs) but also in home appliances such as AV equipment, and can connect a PC and home appliances over a network.

UPnPプロトコルを実装する機器(以下、UPnP機器という)がネットワークに接続されたとき、UPnP機器は、同じサブネット上の他の機器に、自身のIP(Internet Protocol)アドレス等の識別情報をマルチキャストして自分がネットワークに接続した旨を告知する(アドバタイズメント)。他のUPnP機器は、マルチキャストされた識別情報を受け、新たに接続されたUPnP機器を認識する。新たに接続されたUPnP機器はさらに、UPnPプロトコルに基づく探索処理(M-Search)を実行することで、他のUPnP機器のIPアドレスやMAC(Media Access Control)アドレス識別情報を取得して他のUPnP機器を認識する。   When a device that implements the UPnP protocol (hereinafter referred to as a UPnP device) is connected to the network, the UPnP device multicasts identification information such as its own IP (Internet Protocol) address to other devices on the same subnet. Announce that you are connected to the network (advertisement). The other UPnP device receives the multicast identification information and recognizes the newly connected UPnP device. The newly connected UPnP device further executes a search process (M-Search) based on the UPnP protocol to acquire the IP address and MAC (Media Access Control) address identification information of other UPnP devices and Recognize UPnP devices.

このように、UPnP機器は、ユーザがIPアドレスの設定等をすることなくホームネットワークに自動接続でき、ネットワーク上のUPnP機器は、同一サブネット上の他のUPnP機器を互いに認識できる。そのため、ユーザは何ら設定することなく、PC等のUPnP機器を用いて、ネットワーク上の他のUPnP機器を制御することができる。   In this way, UPnP devices can automatically connect to a home network without the user setting an IP address, and UPnP devices on the network can recognize other UPnP devices on the same subnet. Therefore, the user can control other UPnP devices on the network using a UPnP device such as a PC without setting anything.

しかしながら、なんらかの障害により、ネットワーク上で既に起動しているUPnP機器が他の特定のUPnP機器を認識しない場合がある。このような場合に、その障害の要因を容易に解析できる方が好ましい。   However, a UPnP device already activated on the network may not recognize another specific UPnP device due to some failure. In such a case, it is preferable that the cause of the failure can be easily analyzed.

特開2005−354342号公報では、ネットワーク障害の原因解析を行う技術が開示されている。この文献では、ネットワーク障害が発生したときに、ネットワーク経由でブロードバンドルータが保持する障害情報を取得してTV装置に表示するとしている。しかしながら、この文献には、ホームネットワーク上の特定の機器同士の接続状態に関する障害の解析を行う方法は開示されていない。   Japanese Patent Laid-Open No. 2005-354342 discloses a technique for analyzing the cause of a network failure. In this document, when a network failure occurs, failure information held by the broadband router is acquired via the network and displayed on the TV apparatus. However, this document does not disclose a method for analyzing a failure related to a connection state between specific devices on a home network.

特開2005−354342号公報JP 2005-354342 A

本発明の目的は、ネットワーク上の機器同士の間で発生した接続障害を容易に診断できる診断システムを提供することである。   An object of the present invention is to provide a diagnostic system that can easily diagnose a connection failure that occurs between devices on a network.

課題を解決するための手段及び発明の効果Means for Solving the Problems and Effects of the Invention

本発明による診断システムは、ネットワークに接続されたネットワーク機器及びコンピュータ機器を備える。ネットワーク機器は、書込手段を備える。書込手段は、ネットワーク機器の所在情報を、ネットワーク機器及びコンピュータ機器に着脱可能な記憶媒体に書き込む。コンピュータ機器は、読出手段と、制御手段とを備える。読出手段は、コンピュータ機器に装着された記憶媒体から情報を読み出す。制御手段は、診断プログラムを実行する。診断プログラムは、記憶媒体から読み出されたネットワーク機器の所在情報に基づいて、コンピュータ機器とネットワーク機器との接続状態を診断する診断ステップと、診断した結果を通知する通知ステップとを制御手段に実行させる。   A diagnostic system according to the present invention includes network equipment and computer equipment connected to a network. The network device includes a writing unit. The writing means writes the location information of the network device in a storage medium that can be attached to and detached from the network device and the computer device. The computer device includes a reading unit and a control unit. The reading means reads information from a storage medium attached to the computer device. The control means executes a diagnostic program. The diagnostic program executes, on the control means, a diagnostic step for diagnosing the connection state between the computer device and the network device and a notification step for notifying the diagnosis result based on the location information of the network device read from the storage medium Let

この場合、コンピュータ機器は、記憶媒体を介してネットワーク機器の所定情報を取得でき、診断プログラムを用いてコンピュータ機器とネットワーク機器との接続状態について容易に診断できる。   In this case, the computer device can acquire predetermined information of the network device via the storage medium, and can easily diagnose the connection state between the computer device and the network device using the diagnostic program.

好ましくは、書込手段はさらに、ネットワーク機器と同じサブネットに属する1又は複数の他の機器の識別情報を含む他機情報を記憶媒体に書き込む。診断ステップは、コンピュータ機器の識別情報が他機情報に含まれるか否かを判断する。   Preferably, the writing means further writes other device information including identification information of one or more other devices belonging to the same subnet as the network device to the storage medium. In the diagnosis step, it is determined whether the identification information of the computer device is included in the other device information.

この場合、コンピュータ機器は、ネットワーク機器がコンピュータ機器を認識しているか否かを判断できる。   In this case, the computer device can determine whether or not the network device recognizes the computer device.

好ましくは、ネットワーク機器はさらに、記憶手段を備える。記憶手段は、診断プログラムを記憶する。書込手段はさらに、診断プログラムを記憶媒体に書き込む。制御手段は、読出手段により読み出された診断プログラムを実行する。   Preferably, the network device further includes storage means. The storage means stores a diagnostic program. The writing means further writes the diagnostic program to the storage medium. The control means executes the diagnostic program read by the reading means.

この場合、コンピュータ機器に診断プログラムがなくても、ネットワーク機器内に格納された診断プログラムを記憶媒体を介してコンピュータ機器に読み取ることで、コンピュータ機器とネットワーク機器との接続状態を容易に診断できる。   In this case, even if the computer device does not have a diagnostic program, the connection state between the computer device and the network device can be easily diagnosed by reading the diagnostic program stored in the network device into the computer device via the storage medium.

本発明によるネットワーク機器及び診断プログラムは、上述の診断システムに利用される。   The network device and the diagnostic program according to the present invention are used in the above-described diagnostic system.

本発明の実施の形態による診断システムを構成するパーソナルコンピュータの構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the personal computer which comprises the diagnostic system by embodiment of this invention. 本発明の実施の形態による診断システムを構成するAV機器の構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of AV apparatus which comprises the diagnostic system by embodiment of this invention. 図1及び図2に示すパーソナルコンピュータ及びAV機器のネットワーク上での接続関係の一例を示す図である。It is a figure which shows an example of the connection relation on the network of the personal computer and AV apparatus shown in FIG.1 and FIG.2. 図2に示したAV機器の動作の詳細を示すフロー図である。FIG. 3 is a flowchart showing details of the operation of the AV device shown in FIG. 2. 図4の動作により作成されるネットワーク機器情報のデータ構造の一例を示す図である。FIG. 5 is a diagram illustrating an example of a data structure of network device information created by the operation of FIG. 4. 図1に示したパーソナルコンピュータの動作の詳細を示すフロー図である。It is a flowchart which shows the detail of operation | movement of the personal computer shown in FIG. 図6の動作でパーソナルコンピュータのディスプレイに表示される表示画面の一例を示す図である。It is a figure which shows an example of the display screen displayed on the display of a personal computer by the operation | movement of FIG.

以下、図面を参照し、本発明の実施の形態を詳しく説明する。図中同一又は相当部分には同一符号を付してその説明は繰り返さない。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals and description thereof will not be repeated.

[全体構成]
図1及び図2を参照して、コンピュータ機器及びネットワーク機器は、ネットワークを介して互いに接続可能な機器であり、たとえば、UPnPプロトコルが実装されたUPnP機器である。UPnP機器は、たとえば、コンピュータやAV機器、家電機器等である。以降、コンピュータ機器をパーソナルコンピュータ(PC)とし、ネットワーク機器をAV機器として説明するが、コンピュータ機器及びパーソナル機器は互いにネットワーク接続できるものであればよい。
[overall structure]
1 and 2, the computer device and the network device are devices that can be connected to each other via a network, for example, a UPnP device in which the UPnP protocol is implemented. The UPnP device is, for example, a computer, an AV device, a home appliance, or the like. Hereinafter, the computer device is assumed to be a personal computer (PC) and the network device is assumed to be an AV device. However, the computer device and the personal device only need to be network-connected to each other.

図1及び図2にPC10及びAV機器20の機能ブロック図を示す。PC10及びAV機器20はともにUPnPプロトコルを備え、メディアサーバやメディアレンダラ、コントロールポイントとして機能する。   1 and 2 show functional block diagrams of the PC 10 and the AV device 20. Both the PC 10 and the AV device 20 have a UPnP protocol and function as a media server, a media renderer, and a control point.

図1を参照して、PC10は、汎用のコンピュータであり、制御部であるCPU(Central Processing Unit)110と、メモリ120と、ハードディスクドライブ(HDD:Hard Disk Drive)130と、ネットワークを介して他の機器と通信するための通信部140と、ディスプレイ150とを備える。PC10はさらに、コネクタ160を備える。コネクタ160は、PC10に着脱可能な記憶媒体であるUSB(Universal Serial Bus)メモリ装置30が差し込まれる。HDD130には、UPnPプロトコルが格納されている。通信部140は、1つのネットワークインタフェースを含んでいてもよいし、複数のネットワークインタフェース、たとえば、有線及び無線のネットワークインタフェースを含んでいてもよい。   Referring to FIG. 1, a PC 10 is a general-purpose computer, and includes a central processing unit (CPU) 110, a memory 120, a hard disk drive (HDD) 130, and others via a network. A communication unit 140 for communicating with the other device and a display 150. The PC 10 further includes a connector 160. The connector 160 is inserted with a USB (Universal Serial Bus) memory device 30 which is a storage medium detachable from the PC 10. The HDD 130 stores the UPnP protocol. The communication unit 140 may include a single network interface, or may include a plurality of network interfaces, for example, wired and wireless network interfaces.

図2を参照して、AV機器20は、CPU210と、メモリ220と、HDD230と、通信部240とを備える。AV機器20はさらに、USBメモリ装置30を差し込むコネクタ260を備える。HDD230には、PC10と同様に、UPnPプロトコルが格納されている。HDD220にはさらに、ネットワーク機器情報作成プログラム(以下、単に作成プログラムという)231と、診断プログラム232とが格納されている。診断プログラム232はたとえば、VBScript(Visual Basic Script:商標)やJava(商標)Scriptといったスクリプト言語で記述されたスクリプトであってもよいし、Flash(商標)ファイル等であってもよい。   With reference to FIG. 2, the AV device 20 includes a CPU 210, a memory 220, an HDD 230, and a communication unit 240. The AV device 20 further includes a connector 260 into which the USB memory device 30 is inserted. Similar to the PC 10, the HDD 230 stores the UPnP protocol. The HDD 220 further stores a network device information creation program (hereinafter simply referred to as a creation program) 231 and a diagnostic program 232. The diagnostic program 232 may be a script written in a script language such as VBScript (Visual Basic Script: trademark) or Java (trademark) Script, or may be a Flash (trademark) file, for example.

[動作概要]
PC10やAV機器20等のUPnP機器は、家庭内LAN等の同じサブネットに接続されたとき、UPnPプロトコル内のSSDP(Simple Service Discovery Protocol)に基づくディスカバリ(Discovery)処理により、同じサブネット上の他のUPnP機器の所在情報であるIPアドレス及びネットワークアドレスや、識別情報であるMACアドレスを取得する。これらの情報により、UPnP機器であるPC10は、同じサブネット上の他のUPnP機器であるAV機器を認識できる。
[Operation overview]
When a UPnP device such as the PC 10 or the AV device 20 is connected to the same subnet such as a home LAN, other processing on the same subnet is performed by a discovery process based on SSDP (Simple Service Discovery Protocol) in the UPnP protocol. An IP address and network address that are location information of the UPnP device and a MAC address that is identification information are acquired. With these pieces of information, the PC 10 that is a UPnP device can recognize an AV device that is another UPnP device on the same subnet.

しかしながら、PC10がネットワークに接続されたAV機器20を認識できない場合がある。このような接続障害が生じる原因のいくつかの例を以下に述べる。   However, the PC 10 may not recognize the AV device 20 connected to the network. Some examples of the cause of such a connection failure are described below.

PC10とAV機器20との接続障害の原因の1つとして、PC10とAV機器20とが通信不能であることが考えられる(原因1)。たとえば、PC10とAV機器20との間に介した機器(スイッチやルータ等)に何らかの原因がある場合、通信不能が発生する。   One possible cause of a connection failure between the PC 10 and the AV device 20 is that the PC 10 and the AV device 20 cannot communicate (cause 1). For example, when there is some cause in a device (such as a switch or a router) interposed between the PC 10 and the AV device 20, communication is disabled.

また、接続障害の原因の他の例として、PC10とAV機器20とが異なるサブネットに属していることが考えられる(原因2)。たとえば、図3に示すように、スイッチ60にPC10と、UPnP機器70と、有線ルータ50と、無線ルータ80とが接続されているサブネット90を想定する。有線ルータ50はインターネット等の外部ネットワーク40と接続されている。   As another example of the cause of the connection failure, it is conceivable that the PC 10 and the AV device 20 belong to different subnets (Cause 2). For example, as shown in FIG. 3, a subnet 90 in which a PC 10, a UPnP device 70, a wired router 50, and a wireless router 80 are connected to the switch 60 is assumed. The wired router 50 is connected to an external network 40 such as the Internet.

ここで、無線ルータ80にAV機器20が接続された場合、AV機器20はサブネット90と異なるサブネット100に属することになる。UPnPプロトコルのディスカバリ処理は原則として同じサブネット上の他のUPnP機器に対して告知及び探索を行うものであるため、AV機器20が告知を行ってもPC10には届かない。したがって、AV機器20がPC10と異なるサブネットに属する場合、PC10はAV機器20を認識できない場合がある。   Here, when the AV device 20 is connected to the wireless router 80, the AV device 20 belongs to a subnet 100 different from the subnet 90. Since the UPnP protocol discovery process is to notify and search for other UPnP devices on the same subnet in principle, it does not reach the PC 10 even if the AV device 20 makes a notification. Therefore, when the AV device 20 belongs to a different subnet from the PC 10, the PC 10 may not recognize the AV device 20.

接続障害の原因のさらに他の例として、AV機器20はPC10を認識しているにもかかわらず、PC10がAV機器20を認識していない場合もある(原因3)。この場合、PC10の設定に何らかの問題があると推定できる。   As yet another example of the cause of the connection failure, the PC 10 may not recognize the AV device 20 even though the AV device 20 recognizes the PC 10 (cause 3). In this case, it can be estimated that there is some problem in the setting of the PC 10.

本実施の形態による診断システムでは、AV機器20がネットワークに接続されたとき、AV機器20は、作成プログラム231を実行して、自身がディスカバリ処理で認識した他のUPnP機器の所在情報及び識別情報を含むネットワーク機器情報を作成する。ここでいう所在情報は、UPnP機器のIPアドレスとUPnP機器が属するサブネットのネットワークアドレスを含む。また、識別情報はUPnP機器のMACアドレスである。AV機器20は、ネットワーク機器情報を、診断プログラム232とともに、USBメモリ装置30に書き込んでおく。   In the diagnostic system according to the present embodiment, when the AV device 20 is connected to the network, the AV device 20 executes the creation program 231 to locate the location information and identification information of other UPnP devices recognized by the discovery process. Create network device information including. The location information here includes the IP address of the UPnP device and the network address of the subnet to which the UPnP device belongs. The identification information is the MAC address of the UPnP device. The AV device 20 writes the network device information in the USB memory device 30 together with the diagnostic program 232.

PC10がネットワークに接続したはずのAV機器20を認識できないとき、ユーザは、AV機器20のコネクタ260からUSBメモリ装置30を取り外す。そして、取り外したUSBメモリ装置30をコネクタ160を介してPC10に装着する。このとき、USBメモリ装置30内の診断プログラム232がPC10のメモリ120にロード(読み出し)され、制御部であるCPU110で実行される。診断プログラム232が起動したPC10は、ネットワーク機器情報と、自身の接続状態に関する情報とを用いて、ネットワーク機器情報との間で発生した接続障害の原因が上述の原因1〜3に該当するか否かを判断する。   When the PC 10 cannot recognize the AV device 20 that should have been connected to the network, the user removes the USB memory device 30 from the connector 260 of the AV device 20. Then, the removed USB memory device 30 is attached to the PC 10 via the connector 160. At this time, the diagnostic program 232 in the USB memory device 30 is loaded (read) into the memory 120 of the PC 10 and is executed by the CPU 110 which is a control unit. The PC 10 in which the diagnostic program 232 is activated uses the network device information and the information related to the connection status of the PC 10 to determine whether the cause of the connection failure occurring between the network device information corresponds to the above causes 1 to 3. Determine whether.

以下、AV機器20及びPC10の動作の詳細を説明する。   Details of the operations of the AV device 20 and the PC 10 will be described below.

[AV機器20の動作]
ネットワーク上に新たに接続されたAV機器20は、図4に示す起動処理を実行する。AV機器20は初めに、UPnPプロトコルに基づいて、アドレッシング(Addressing)処理を実行して自身のIPアドレスと、自身が接続されたサブネットのネットワークアドレスとを取得する(S1)。ステップS1では、AV機器20は初めに、図示しないDHCP(Dynamic Host Configuration Protocol)サーバにDHCPメッセージを送信する。DHCPサーバは、DHCPメッセージに応答して、AV機器20に割り当てるIPアドレスをAV機器20に通知する。このとき、DHCPサーバは、ネットワークアドレスもAV機器20に通知する。AV機器20は、通知を受けた後、通知されたIPアドレスの使用をDHCPサーバに通知する。以上の方法により、AV機器20は、自身のIPアドレスと、ネットワークアドレスとを取得する。なお、本例では、AV機器20は、DHCPサーバを利用してIPアドレスを取得したが、AV機器20がAutoIP機能を備え、AutoIP機能に基づいてIPアドレスを決定してもよい。
[Operation of AV Device 20]
The AV device 20 newly connected to the network executes a startup process shown in FIG. The AV device 20 first executes an addressing process based on the UPnP protocol to acquire its own IP address and the network address of the subnet to which it is connected (S1). In step S1, the AV device 20 first transmits a DHCP message to a DHCP (Dynamic Host Configuration Protocol) server (not shown). In response to the DHCP message, the DHCP server notifies the AV device 20 of the IP address assigned to the AV device 20. At this time, the DHCP server also notifies the AV device 20 of the network address. After receiving the notification, the AV device 20 notifies the DHCP server of the use of the notified IP address. By the above method, the AV device 20 acquires its own IP address and network address. In this example, the AV device 20 acquires an IP address using a DHCP server. However, the AV device 20 may have an AutoIP function and determine an IP address based on the AutoIP function.

続いて、AV機器20は、UPnPプロトコルに基づいて、ディスカバリ処理を実行し、同じサブネットに属する他のUPnP機器のIPアドレス及びMACアドレスを取得する(S2)。ステップS2では、AV機器20は初めに、SSDPに基づいて、同一サブネット上に既に起動している他のUPnP機器を探索する。具体的には、AV機器20はSSDPに準拠した探索要求(M-Search)をマルチキャストする。同一サブネット上で既に起動している他のUPnP機器は、マルチキャストされた探索要求に応答して、自身のIPアドレス及びMACアドレスを特定するための情報をAV機器20に送信する。AV機器20は、他のUPnP機器からの応答に基づいて他のUPnP機器のIPアドレス及びMACアドレスを取得する。   Subsequently, the AV device 20 executes a discovery process based on the UPnP protocol, and acquires the IP address and MAC address of another UPnP device belonging to the same subnet (S2). In step S2, the AV device 20 first searches for another UPnP device already activated on the same subnet based on SSDP. Specifically, the AV device 20 multicasts a search request (M-Search) compliant with SSDP. In response to the multicast search request, another UPnP device that has already been activated on the same subnet transmits information for specifying its own IP address and MAC address to the AV device 20. The AV device 20 acquires the IP address and MAC address of the other UPnP device based on the response from the other UPnP device.

UPnPプロトコルに基づくアドレッシング処理及びディスカバリ処理を実行した後、AV機器20は作成プログラムを実行して図5に示すネットワーク機器情報を作成する(S3)。ネットワーク機器情報は、所在情報として、AV機器20自身のIPアドレスと、AV機器20が属するサブネットのネットワークアドレスを含む。ネットワーク機器情報はさらに、他機情報を含む。他機情報には、ディスカバリ処理により取得した同一サブネット上の他のUPnP機器の識別情報(MACアドレス)が含まれる。ディスカバリにより他のUPnP機器のMACアドレスを複数取得した場合は、取得した複数のMACアドレスが他機情報に含まれる。なお、他の情報、たとえば、AV機器20自身のMACアドレスや他のUPnPのIPアドレスがネットワーク機器情報に含まれていてもよい。   After executing the addressing process and discovery process based on the UPnP protocol, the AV device 20 executes the creation program to create the network device information shown in FIG. 5 (S3). The network device information includes, as location information, the IP address of the AV device 20 itself and the network address of the subnet to which the AV device 20 belongs. The network device information further includes other device information. The other device information includes identification information (MAC address) of other UPnP devices on the same subnet acquired by the discovery process. When a plurality of MAC addresses of other UPnP devices are acquired by discovery, the acquired plurality of MAC addresses are included in the other device information. Note that other information, for example, the MAC address of the AV device 20 itself or another UPnP IP address may be included in the network device information.

ネットワーク機器情報を作成後、AV機器20は作成プログラムに基づいて、ネットワーク機器情報と診断プログラム232とをUSBメモリ装置30に書き込む(S4)。   After creating the network device information, the AV device 20 writes the network device information and the diagnostic program 232 in the USB memory device 30 based on the creation program (S4).

[PC10の動作]
PC10もAV機器20と同様に、ディスカバリ処理により同一サブネット上の他のUPnP機器を認識する。PC10がディスカバリ処理によりAV機器20を正常に認識していれば、たとえば、ディスプレイ150上にAV機器20を示すアイコン等が表示される。しかしながら、何らかの原因により、PC10がAV機器20を認識せず、ディスプレイ150上にAV機器20に関する情報が表示されない場合がある。
[Operation of PC10]
Similarly to the AV device 20, the PC 10 also recognizes other UPnP devices on the same subnet by the discovery process. If the PC 10 normally recognizes the AV device 20 by the discovery process, for example, an icon indicating the AV device 20 is displayed on the display 150. However, for some reason, the PC 10 may not recognize the AV device 20 and information about the AV device 20 may not be displayed on the display 150.

このような接続障害が生じた場合、ユーザは、AV機器20のコネクタ260からUSBメモリ装置30を外し、PC10のUSBコネクタ160に取り付ける。図6を参照して、PC10はUSBメモリ装置30の装着を検知したとき(S11でYES)、USBメモリ装置30内の診断プログラム232を読み出してメモリ120に格納する(S12)。そして、診断プログラム232をCPU110で実行する。この動作により、PC10は接続障害の診断装置として機能し、診断処理(S13〜S17)を実行する。診断処理では、接続障害の原因が上述の原因1〜3に該当するか否かを判断する。   When such a connection failure occurs, the user removes the USB memory device 30 from the connector 260 of the AV device 20 and attaches it to the USB connector 160 of the PC 10. Referring to FIG. 6, when the PC 10 detects the installation of the USB memory device 30 (YES in S11), the PC 10 reads the diagnostic program 232 in the USB memory device 30 and stores it in the memory 120 (S12). Then, the diagnostic program 232 is executed by the CPU 110. By this operation, the PC 10 functions as a connection failure diagnosis device and executes diagnosis processing (S13 to S17). In the diagnosis process, it is determined whether or not the cause of the connection failure corresponds to the above-described causes 1 to 3.

初めに、PC10は、接続障害の原因が、上述の原因1に該当するか否かを判断する。PC10はUSBメモリ装置30内のネットワーク機器情報を読み出す(S13)。そして、HDD130及び230に予め格納されているpingプログラムを用いて、PC10がAV機器20に通信できるか否かを診断する(S14)。具体的には、PC10は、USBメモリ装置30内のネットワーク機器情報内のAV機器20のIPアドレスを利用して、AV機器20宛にICMP(Internet Control Message Protocol)エコー要求を送信する。PC10は所定時間内にICMPエコー応答を受信したか否かを判断する。PC10がICMPエコー応答を受けた場合は、原因1は接続障害の原因ではないと推定される。一方、PC10がICMPエコー応答を受けなかった場合、原因1は接続障害の原因の1つに推定され得る。PC10は判断結果(ICMPエコーを受けたか否か)をメモリ120に格納する。   First, the PC 10 determines whether or not the cause of the connection failure corresponds to the cause 1 described above. The PC 10 reads the network device information in the USB memory device 30 (S13). Then, it is diagnosed whether the PC 10 can communicate with the AV device 20 using a ping program stored in advance in the HDDs 130 and 230 (S14). Specifically, the PC 10 transmits an ICMP (Internet Control Message Protocol) echo request to the AV device 20 using the IP address of the AV device 20 in the network device information in the USB memory device 30. The PC 10 determines whether an ICMP echo response has been received within a predetermined time. When the PC 10 receives the ICMP echo response, it is estimated that the cause 1 is not the cause of the connection failure. On the other hand, when the PC 10 does not receive the ICMP echo response, the cause 1 can be estimated as one of the causes of the connection failure. The PC 10 stores the determination result (whether or not it has received an ICMP echo) in the memory 120.

なお、PC10が複数のネットワークインタフェースを有する場合、たとえば、PC10が有線及び無線のネットワークインタフェースを有する場合、各ネットワークインタフェースごとにIPアドレスを有する。この場合、各ネットワークインタフェースのIPアドレスに対してICMPエコー要求を送信する。そして、いずれかのIPアドレスからICMPエコー応答を受けたとき、原因1は接続障害の原因ではないと判断し、いずれのIPアドレスからもエコー応答を受けなかったとき、原因1は接続障害の原因の1つに推定される。   When the PC 10 has a plurality of network interfaces, for example, when the PC 10 has wired and wireless network interfaces, each network interface has an IP address. In this case, an ICMP echo request is transmitted to the IP address of each network interface. When an ICMP echo response is received from any IP address, it is determined that cause 1 is not the cause of the connection failure. When no echo response is received from any IP address, cause 1 is the cause of the connection failure. It is estimated to one of these.

続いて、PC10は、接続障害の原因が、上述の原因2に該当するか否かを判断する(S15)。PC10は、自身が起動するときにDHCPサーバから受信しメモリ120に格納している自身の所在情報のうち、自身が属するサブネットのネットワークアドレスを読み出す。そして、ネットワーク機器情報内のネットワークアドレスと比較する。両者が一致する場合は、PC10とAV機器20とが同一サブネットに属するため、原因2は該当しない。一方、両者が異なる場合、原因2が接続障害の原因の1つとして推定され得る。   Subsequently, the PC 10 determines whether or not the cause of the connection failure corresponds to the above-described cause 2 (S15). The PC 10 reads the network address of the subnet to which the PC 10 belongs from the location information received from the DHCP server and stored in the memory 120 when the PC 10 starts up. Then, it is compared with the network address in the network device information. If the two match, the cause 10 is not applicable because the PC 10 and the AV device 20 belong to the same subnet. On the other hand, if the two are different, cause 2 can be estimated as one of the causes of the connection failure.

PC10が複数のネットワークインタフェースを有する場合、各ネットワークインタフェースのネットワークアドレスに対してステップS15の処理を実行する。そして、いずれかのネットワークアドレスがネットワーク機器情報内のネットワークアドレスと一致するとき、接続障害の原因として原因2は該当しないと判断し、いずれのネットワークアドレスもネットワーク機器情報内のネットワークアドレスと一致しないとき、原因2が接続障害の原因の1つと推定する。   When the PC 10 has a plurality of network interfaces, the process of step S15 is executed for the network address of each network interface. When any network address matches the network address in the network device information, it is determined that cause 2 does not correspond as a cause of the connection failure, and any network address does not match the network address in the network device information. The cause 2 is estimated as one of the causes of the connection failure.

続いて、PC10は、接続障害の原因が、上述の原因3に該当するか否かを判断する(S16)。PC10は、HDD130又はメモリ120に記憶された自身の識別情報であるMACアドレスを読み出す。そして、ネットワーク機器情報内の他機情報を読み出し、他機情報が自身のMACアドレスと一致するMACアドレスを含んでいるか否かを判断する。他機情報が自身のMACアドレスを含む場合、AV機器20がディスカバリ処理によりPC10を認識しているため、原因3が接続障害の原因として推定され得る。PC10は判断結果をメモリ120に格納する。   Subsequently, the PC 10 determines whether or not the cause of the connection failure corresponds to the above-described cause 3 (S16). The PC 10 reads the MAC address that is its own identification information stored in the HDD 130 or the memory 120. Then, the other device information in the network device information is read, and it is determined whether or not the other device information includes a MAC address that matches the own MAC address. When the other device information includes its own MAC address, since the AV device 20 recognizes the PC 10 through the discovery process, the cause 3 can be estimated as the cause of the connection failure. The PC 10 stores the determination result in the memory 120.

PC10が複数のネットワークインタフェースを有する場合、PC10は、各ネットワークインタフェースごとにMACアドレスを有する。この場合、PC10はステップS16において、他機情報が、自身が持つ複数のMACアドレスのいずれかを含んでいるか否かを判断する。いずれかを含んでいれば、原因3が接続障害の原因として推定される。   When the PC 10 has a plurality of network interfaces, the PC 10 has a MAC address for each network interface. In this case, in step S16, the PC 10 determines whether or not the other device information includes any of the plurality of MAC addresses that the PC 10 has. If any of them is included, the cause 3 is estimated as the cause of the connection failure.

PC10は、ステップS14〜S16の診断を実行した後、各ステップの診断結果を通知する(S17)。具体的には、PC10は、判断結果を図7に示すようにディスプレイ150に表示する(S17)。図7では、ステップS14でICMPエコー応答があったと判断され、ステップS15でネットワークアドレスが一致したと判断され、ステップS16でネットワーク機器情報がPC10のMACアドレスを含んでいたと判断された場合の診断結果である。この診断結果の場合、AV機器20はPC10と通信可能であり、同じサブネットに属し、PC10を認識しているため、PC10に何らかの原因がある、つまり、上述の原因3が接続障害の原因と推定できる。   After executing the diagnosis of steps S14 to S16, the PC 10 notifies the diagnosis result of each step (S17). Specifically, the PC 10 displays the determination result on the display 150 as shown in FIG. 7 (S17). In FIG. 7, it is determined in step S14 that there is an ICMP echo response, in step S15 it is determined that the network addresses match, and in step S16 it is determined that the network device information includes the MAC address of the PC 10. It is a result. In the case of this diagnosis result, since the AV device 20 can communicate with the PC 10, belongs to the same subnet, and recognizes the PC 10, there is some cause in the PC 10, that is, the above-mentioned cause 3 is estimated as the cause of the connection failure. it can.

このように、本実施の形態による診断システムでは、特定のUPnP機器の間で接続障害が生じた場合、たとえば、上述のとおりPC10とAV機器20との間で接続障害が生じた場合、ネットワーク機器情報をAV機器20で作成し、ネットワーク機器情報を診断プログラム232とともにUSBメモリ装置30を介してPC10に読み込ませることで、PC10とAV機器20との接続状態を容易に診断でき、接続障害の原因をある程度絞り込んで推定することができる。   Thus, in the diagnostic system according to the present embodiment, when a connection failure occurs between specific UPnP devices, for example, when a connection failure occurs between the PC 10 and the AV device 20 as described above, the network device The information is created by the AV device 20 and the network device information is read together with the diagnostic program 232 by the PC 10 via the USB memory device 30 so that the connection state between the PC 10 and the AV device 20 can be easily diagnosed and the cause of the connection failure Can be estimated by narrowing down to some extent.

なお、上述の実施の形態では、ステップS14〜S16で原因1〜原因3について全て判断したが、いずれか1つの原因を判断してもよい。また、ステップS14でICMPエコー応答を受けた場合のみステップS15に進み、ステップS15でネットワークアドレスが一致した場合のみステップS16に進んでもよい。   In the above-described embodiment, all the causes 1 to 3 are determined in steps S14 to S16, but any one of the causes may be determined. Alternatively, the process may proceed to step S15 only when an ICMP echo response is received in step S14, and may proceed to step S16 only when the network addresses match in step S15.

上述の実施の形態では診断プログラムはAV機器20に格納されており、ネットワーク機器情報とともにUSBメモリ装置30を用いてPC10に書き込むとしたが、診断プログラム232がPC10に予め格納されていてもよいし、インターネット上の図示しないサーバから診断プログラムをダウンロードしてもよい。ただし、AV機器20に予め診断プログラム232が格納されていれば、上述のとおり、USBメモリ装置30をPC10に装着すれば、診断プログラムをPC10に書き込むことができる。そのため、サーバから診断プログラムをダウンロードする等の煩雑な作業を回避できる。   In the above-described embodiment, the diagnosis program is stored in the AV device 20 and written to the PC 10 using the USB memory device 30 together with the network device information. However, the diagnosis program 232 may be stored in the PC 10 in advance. The diagnostic program may be downloaded from a server (not shown) on the Internet. However, if the diagnostic program 232 is stored in the AV device 20 in advance, the diagnostic program can be written in the PC 10 by attaching the USB memory device 30 to the PC 10 as described above. Therefore, complicated work such as downloading a diagnostic program from the server can be avoided.

また、上述の実施の形態では、PC10及びAV機器20と着脱可能な記憶媒体をUSBメモリ装置30としたが、USBメモリ装置30の代わりに、たとえば、CD−ROMやDVD、フラッシュメモリ等の他の記憶媒体を用いてもよい。   In the above-described embodiment, the USB memory device 30 is used as the storage medium that can be attached to and detached from the PC 10 and the AV device 20, but instead of the USB memory device 30, for example, a CD-ROM, DVD, flash memory, or the like. You may use the storage medium of.

上述の実施の形態では、診断結果をディスプレイ150に表示したが、診断結果を他の方法により通知してもよい。たとえば、音声や警告音等で通知してもよい。   In the above-described embodiment, the diagnosis result is displayed on the display 150, but the diagnosis result may be notified by another method. For example, notification may be made by voice or warning sound.

上述の実施の形態では、ネットワーク機器をAV機器とし、コンピュータ機器をPCとして接続したが、コンピュータ機器はAV機器やUPnPプロトコルを実行した家電機器であってもよいし、ネットワーク機器がPCであってもよい。要するに、ネットワーク機器及びコンピュータ機器は、互いにネットワーク接続可能な機器であればよい。   In the above-described embodiment, the network device is an AV device and the computer device is connected as a PC. However, the computer device may be an AV device or a home appliance that executes the UPnP protocol, and the network device is a PC. Also good. In short, the network device and the computer device may be devices that can be connected to each other via a network.

以上、本発明の実施の形態を説明したが、上述した実施の形態は本発明を実施するための例示に過ぎない。よって、本発明は上述した実施の形態に限定されることなく、その趣旨を逸脱しない範囲内で上述した実施の形態を適宜変形して実施することが可能である。   While the embodiments of the present invention have been described above, the above-described embodiments are merely examples for carrying out the present invention. Therefore, the present invention is not limited to the above-described embodiment, and can be implemented by appropriately modifying the above-described embodiment without departing from the spirit thereof.

10 パーソナルコンピュータ
20 AV機器
30 USBメモリ装置
110,210 制御部(CPU)
120,220 メモリ
130,230 ハードディスクドライブ
140,240 通信部
150 ディスプレイ
160,260 コネクタ
231 ネットワーク機器情報作成プログラム
232 診断プログラム
DESCRIPTION OF SYMBOLS 10 Personal computer 20 AV apparatus 30 USB memory device 110,210 Control part (CPU)
120, 220 Memory 130, 230 Hard disk drive 140, 240 Communication unit 150 Display 160, 260 Connector 231 Network device information creation program 232 Diagnostic program

Claims (5)

ネットワークに接続されたネットワーク機器及びコンピュータ機器を備えた診断システムであって、
前記ネットワーク機器は、
前記ネットワーク機器の所在情報を、前記ネットワーク機器及び前記コンピュータ機器に着脱可能な記憶媒体に書き込む書込手段を備え、
前記コンピュータ機器は、
前記コンピュータ機器に装着された前記記憶媒体から情報を読み出す読出手段と、
診断プログラムを実行する制御手段とを備え、
前記診断プログラムは、
前記記憶媒体から読み出された前記ネットワーク機器の所在情報に基づいて、前記コンピュータ機器と前記ネットワーク機器との接続状態を診断する診断ステップと、
前記診断した結果を通知する通知ステップとを前記制御手段に実行させることを特徴とする診断システム。
A diagnostic system comprising network equipment and computer equipment connected to a network,
The network device is:
Writing means for writing location information of the network device to a storage medium removable from the network device and the computer device;
The computer device is:
Reading means for reading information from the storage medium attached to the computer device;
Control means for executing a diagnostic program,
The diagnostic program includes:
A diagnosis step of diagnosing a connection state between the computer device and the network device based on location information of the network device read from the storage medium;
A diagnostic system that causes the control means to execute a notification step of notifying the diagnosis result.
請求項1に記載の診断システムであって、
前記書込手段はさらに、前記ネットワーク機器と同じサブネットに属する1又は複数の他の機器の識別情報を含む他機情報を前記記憶媒体に書き込み、
前記診断ステップは、前記コンピュータ機器の識別情報が前記他機情報に含まれるか否かを判断することを特徴とする診断システム。
The diagnostic system according to claim 1,
The writing means further writes other device information including identification information of one or more other devices belonging to the same subnet as the network device to the storage medium,
The diagnostic system according to claim 1, wherein the diagnostic step determines whether or not the identification information of the computer device is included in the other device information.
請求項1又は請求項2に記載の診断システムであって、
前記ネットワーク機器はさらに、
前記診断プログラムを記憶する記憶手段を備え、
前記書込手段はさらに、前記診断プログラムを前記記憶媒体に書き込み、
前記制御手段は、前記読出手段により読み出された診断プログラムを実行することを特徴とする診断システム。
The diagnostic system according to claim 1 or 2,
The network device further includes:
Storage means for storing the diagnostic program,
The writing means further writes the diagnostic program to the storage medium,
The diagnostic system characterized in that the control means executes a diagnostic program read by the reading means.
ネットワークに接続可能なネットワーク機器であって、
診断プログラムを記憶する記憶手段と、
前記ネットワークに接続されたときの前記ネットワーク機器の所在情報と、前記診断プログラムとを、前記ネットワーク機器及びネットワークに接続可能なコンピュータ機器に着脱可能な記憶媒体に書き込む書込手段を備え、
前記診断プログラムは、
前記ネットワーク機器の所在情報に基づいて、前記コンピュータ機器と前記ネットワーク機器との接続状態を診断する診断ステップと、
前記診断した結果を通知する通知ステップとを前記コンピュータ機器に実行させることを特徴とするネットワーク機器。
A network device connectable to a network,
Storage means for storing a diagnostic program;
Writing means for writing location information of the network device when connected to the network and the diagnostic program to a storage medium removable from the network device and a computer device connectable to the network;
The diagnostic program includes:
A diagnosis step of diagnosing a connection state between the computer device and the network device based on location information of the network device;
A network device that causes the computer device to execute a notification step of notifying the diagnosis result.
ネットワークに接続されたネットワーク機器によって、前記ネットワーク機器及びネットワークに接続可能なコンピュータ機器に着脱可能な記憶媒体に書き込まれた前記ネットワーク機器の所在情報に基づいて、前記コンピュータ機器と前記ネットワーク機器との接続状態を診断する診断ステップと、
前記診断結果を通知する通知ステップとを前記コンピュータ機器に実行させる診断プログラム。
The network device connected to the network connects the computer device and the network device based on the location information of the network device written to the storage device removable from the network device and the computer device connectable to the network. A diagnostic step to diagnose the condition;
A diagnostic program for causing the computer device to execute a notification step of notifying the diagnosis result.
JP2009023325A 2009-02-04 2009-02-04 Diagnostic system, network device, and diagnostic program Withdrawn JP2010181995A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009023325A JP2010181995A (en) 2009-02-04 2009-02-04 Diagnostic system, network device, and diagnostic program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009023325A JP2010181995A (en) 2009-02-04 2009-02-04 Diagnostic system, network device, and diagnostic program

Publications (1)

Publication Number Publication Date
JP2010181995A true JP2010181995A (en) 2010-08-19

Family

ID=42763553

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009023325A Withdrawn JP2010181995A (en) 2009-02-04 2009-02-04 Diagnostic system, network device, and diagnostic program

Country Status (1)

Country Link
JP (1) JP2010181995A (en)

Similar Documents

Publication Publication Date Title
JP2005135414A (en) Simple and dynamic configuration of network device
JP4838500B2 (en) Computer system to support network-enabled devices
JP2012221186A5 (en) Management device, management method, program, and recording medium
JPWO2009044500A1 (en) Network system, control device, terminal device, and connection state determination method
JP2005020739A (en) Configuration method of wireless network client
US20110125897A1 (en) Detection of home network configuration problems
WO2005062188A1 (en) Network device
JP5321021B2 (en) Device management apparatus, device management system, device information acquisition method, device information acquisition program, and recording medium recording the program
JP2011523114A (en) Apparatus and method for sharing files
JP5720835B2 (en) Device management apparatus, device management system, and device management method
JP2007133881A (en) METHOD AND DEVICE FOR EFFICIENTLY TRANSMITTING/RECEIVING INFORMATION ABOUT UPnP EVENT
JP2007257525A (en) Device management apparatus
Gómez et al. Forensic analysis of the Xiaomi Mi smart sensor set
JP5084782B2 (en) Apparatus, method, and program for detecting a repeater
US20110283276A1 (en) System and Method for Automated Information Handling System Network Device Discovery and Support
CN112738295B (en) IP address exception handling method, device, computer system and storage medium
JP2012034353A (en) Network communication apparatus, communication method, and integrated circuit
JP4976098B2 (en) Method and apparatus for efficiently managing UPnP device information
EP3023879B1 (en) Communication system, communication device, communication adapter, communication method, and program
JP2010181995A (en) Diagnostic system, network device, and diagnostic program
JP2006202210A (en) Information processor and service disclosure method and program
JP2008310451A (en) Home network system, information processor, content server, connection setting methods of home network, information processor, and content server and computer program
JP5207803B2 (en) Information processing apparatus, information processing method, and program
JP5702134B2 (en) Device control apparatus, information management apparatus, control method therefor, and device control system
JP2006246161A (en) Communication controller

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20101227

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20110401

A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20120501