JP5025694B2 - Network camera system - Google Patents

Network camera system Download PDF

Info

Publication number
JP5025694B2
JP5025694B2 JP2009173418A JP2009173418A JP5025694B2 JP 5025694 B2 JP5025694 B2 JP 5025694B2 JP 2009173418 A JP2009173418 A JP 2009173418A JP 2009173418 A JP2009173418 A JP 2009173418A JP 5025694 B2 JP5025694 B2 JP 5025694B2
Authority
JP
Japan
Prior art keywords
terminal device
imaging device
imaging
network
received
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
JP2009173418A
Other languages
Japanese (ja)
Other versions
JP2010057165A (en
Inventor
隆之 土岐
恵介 堀江
Original Assignee
株式会社デジックス
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 株式会社デジックス filed Critical 株式会社デジックス
Priority to JP2009173418A priority Critical patent/JP5025694B2/en
Publication of JP2010057165A publication Critical patent/JP2010057165A/en
Application granted granted Critical
Publication of JP5025694B2 publication Critical patent/JP5025694B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、ネットワークカメラシステムに関し、特に、ローカルエリアネットワーク内に配置された撮像装置に好適なネットワークカメラシステムに関する。   The present invention relates to a network camera system, and more particularly to a network camera system suitable for an imaging apparatus arranged in a local area network.

近年、撮像装置として、ネットワーク接続機能を備えたビデオカメラや、撮像機能を備えたパーソナルコンピュータ等の端末装置が提供されている。このような撮像装置で撮像した画像は、インターネット等を利用して離れた場所に位置するパソコンや携帯電話機から閲覧することが可能である。このようなネットワークカメラに関連する技術の一例が、特許文献1に記載されている。   In recent years, terminal devices such as video cameras having a network connection function and personal computers having an image capturing function have been provided as image capturing apparatuses. An image captured by such an imaging apparatus can be viewed from a personal computer or a mobile phone located at a remote location using the Internet or the like. An example of a technique related to such a network camera is described in Patent Document 1.

また、撮像装置等には、有線または無線のローカルエリアネットワーク(LAN)接続機能を備えるものがある。   Some imaging devices and the like have a wired or wireless local area network (LAN) connection function.

特許第4095395号公報Japanese Patent No. 4095395

ところで、上述したような撮像装置等が住宅等に設置され、パソコン等の他の装置とともにLANを構成する場合、撮像装置等にはグローバルIPアドレスではなくプライベートIPアドレス(ローカルIPアドレス)が付与される場合が多いため、いわゆるNAT(Network Address Translation)越え問題が発生する。すなわち、利用者は、外部ネットワークに属する携帯端末等からローカルネットワーク内の撮像装置等へアクセスすることができず、せっかく撮像された撮像画像を外部から閲覧・取得することが困難であるという問題がある。また、利用者の間には、撮像装置等が撮像した画像を、自分が所望する機器や通信形態を用いて閲覧したいというニーズがある。   By the way, when an imaging device or the like as described above is installed in a house or the like and constitutes a LAN together with other devices such as a personal computer, a private IP address (local IP address) is assigned to the imaging device or the like instead of a global IP address. In many cases, the problem of so-called NAT (Network Address Translation) crossing occurs. That is, there is a problem that the user cannot access an imaging device or the like in the local network from a mobile terminal or the like belonging to the external network, and it is difficult to view and acquire the captured image from the outside. is there. In addition, there is a need among users to browse images captured by an imaging device or the like using a device or communication mode desired by the user.

そこで、本願発明は、ローカルネットワークに属し、固定グローバルIPアドレスが付与されていない撮像装置等と外部ネットワークとの通信を提供することを目的とする。   Accordingly, an object of the present invention is to provide communication between an imaging apparatus and the like that belong to a local network and are not assigned a fixed global IP address and an external network.

また、本願発明は、ローカルネットワークに属し固定グローバルIPアドレスが付与されていない撮像装置等によって撮像された画像を、外部ネットワークから任意に閲覧することができるネットワークカメラシステムを提供することを目的とする。   It is another object of the present invention to provide a network camera system that can arbitrarily browse an image captured by an imaging device that belongs to a local network and is not assigned a fixed global IP address from an external network. .

また、本願発明は、ローカルネットワークに属し固定グローバルIPアドレスが付与されていない撮像装置等によって撮像された画像を、利用者が所望する機器や通信形態を用いて閲覧することができるネットワークカメラシステムを提供することを目的とする。   The present invention also provides a network camera system capable of browsing an image captured by an imaging device or the like that belongs to a local network and is not assigned a fixed global IP address, using a device or communication mode desired by a user. The purpose is to provide.

本発明のサーバは、ローカルエリアネットワークに属する撮像装置と、当該ローカルエリアネットワーク以外のネットワークに属する端末装置と、それぞれ通信可能に構成されたサーバであって、前記撮像装置から定期的に送信される当該撮像装置に対する接続要求の有無の問い合わせを受信する手段と、前記撮像装置からの問い合わせを受信した場合に、前記端末装置から前記撮像装置に対する接続要求を受信しているか否かを判定し、当該判定結果が是であることを条件に、前記問い合わせに基づいて確立した前記撮像装置との間の接続を維持する手段と、前記維持された接続を利用して前記撮像装置から送信される前記撮像装置が撮像した撮像データを受信する手段と、前記受信した前記撮影データを前記端末装置へ送信する手段と、を備えることを特徴とする。   The server of the present invention is a server configured to be able to communicate with an imaging device belonging to a local area network and a terminal device belonging to a network other than the local area network, and is periodically transmitted from the imaging device. Means for receiving an inquiry about the presence or absence of a connection request for the imaging device, and when receiving an inquiry from the imaging device, determines whether a connection request for the imaging device is received from the terminal device; Means for maintaining a connection with the imaging apparatus established based on the inquiry on the condition that the determination result is right, and the imaging transmitted from the imaging apparatus using the maintained connection Means for receiving imaging data captured by the apparatus; means for transmitting the received imaging data to the terminal apparatus; Characterized in that it comprises.

本発明のサーバは、ローカルエリアネットワークに属する第1の端末装置と、当該ローカルエリアネットワーク以外のネットワークに属する第2の端末装置と、それぞれ通信可能に構成されたサーバであって、前記第1の端末装置から定期的に送信される当該第1の端末装置に対する接続要求の有無の問い合わせを受信する手段と、前記第1の端末装置からの問い合わせを受信した場合に、前記第2の端末装置から前記第1の端末装置に対する接続要求を受信しているか否かを判定し、当該判定結果が是であることを条件に、前記問い合わせに基づいて確立した前記第1の端末装置との間の接続を維持する手段と、前記維持された接続を利用して前記第1の端末装置から送信されるデータを受信する手段と、前記受信した前記第1の端末装置から送信されるデータを前記第2の端末装置へ送信する手段と、を備えることを特徴とする。   The server of the present invention is a server configured to be able to communicate with a first terminal device belonging to a local area network and a second terminal device belonging to a network other than the local area network, Means for receiving an inquiry about the presence or absence of a connection request for the first terminal device periodically transmitted from the terminal device; and when receiving an inquiry from the first terminal device, from the second terminal device It is determined whether or not a connection request for the first terminal device has been received, and the connection with the first terminal device established based on the inquiry on condition that the determination result is correct , Means for receiving data transmitted from the first terminal device using the maintained connection, and the received first terminal device Characterized in that it comprises means for transmitting data to be al transmitted to the second terminal apparatus.

本発明のサーバは、ローカルエリアネットワークに属する撮像装置と、当該ローカルエリアネットワーク以外のネットワークに属する端末装置と、それぞれ通信可能に構成されたサーバであって、前記端末装置から送信される前記端末装置の識別情報を受信する手段と、前記撮像装置から定期的に送信される、前記撮像装置の識別情報と前記撮像装置のIPアドレスとを受信する手段と、前記受信した端末装置の識別情報が、前記受信した撮像装置の識別情報と予め対応づけられている場合に、前記受信した撮像装置のIPアドレスに基づいて確立した前記撮像装置との間の接続を維持する接続維持手段と、前記接続維持手段により維持される接続を利用して前記撮像装置から送信される前記撮像装置が撮影したデータを受信する手段と、前記受信した前記撮像装置が撮影したデータを、前記端末装置へ送信する手段と、を備えることを特徴とする。   The server of the present invention is a server configured to be able to communicate with an imaging device belonging to a local area network and a terminal device belonging to a network other than the local area network, and the terminal device transmitted from the terminal device Means for receiving the identification information, means for receiving the identification information of the imaging device and the IP address of the imaging device, which are periodically transmitted from the imaging device, and the identification information of the received terminal device, A connection maintaining means for maintaining a connection with the imaging apparatus established based on an IP address of the received imaging apparatus when the received identification information is associated with the identification information of the imaging apparatus in advance; and the connection maintenance Means for receiving data taken by the imaging device transmitted from the imaging device using a connection maintained by the means; The received the imaging device taken data, characterized in that it comprises, means for transmitting to the terminal device.

本発明のサーバは、ローカルエリアネットワークに属する第1の端末装置と、当該ローカルエリアネットワーク以外のネットワークに属する第2の端末装置と、それぞれ通信可能に構成されたサーバであって、前記第2の端末装置から送信される前記第2の端末装置の識別情報を受信する手段と、前記第1の端末装置から一定間隔で送信される、前記第1の端末装置の識別情報と前記第1の端末装置のIPアドレスとを受信する手段と、前記受信した第2の端末装置の識別情報が、前記受信した第1端末装置の識別情報と予め対応づけられている場合に、前記受信した第1の端末装置のIPアドレスに基づいて確立した前記第1の端末装置との間の接続を維持する接続維持手段と、前記接続維持手段により維持される接続を利用して前記第1の端末装置から送信されるデータを受信する手段と、前記受信した前記第1の端末装置から送信されたデータを、前記第2の端末装置へ送信する手段と、を備えることを特徴とする。   The server of the present invention is a server configured to be able to communicate with a first terminal device belonging to a local area network and a second terminal device belonging to a network other than the local area network, and the second terminal device Means for receiving identification information of the second terminal device transmitted from the terminal device, and identification information of the first terminal device and the first terminal transmitted from the first terminal device at regular intervals Means for receiving the IP address of the device and the received first terminal device when the received identification information of the second terminal device is associated in advance with the received identification information of the first terminal device. A connection maintaining means for maintaining a connection with the first terminal apparatus established based on the IP address of the terminal apparatus, and the first using the connection maintained by the connection maintaining means Means for receiving the data transmitted from the terminal device, the data transmitted from the first terminal device the received, characterized in that it comprises, means for transmitting to said second terminal device.

本発明のサーバは、ローカルエリアネットワークに属する撮像装置と、当該ローカルエリアネットワーク以外のネットワークに属しテレビ電話機能を有する携帯電話端末と、それぞれ通信可能に構成されたサーバであって、前記携帯電話端末の識別情報と前記撮像装置の識別情報とを対応付けて記憶する第1の記憶手段と、前記撮像装置の識別情報とIPアドレスとポート番号とを対応付けて記憶する第2の記憶手段と、前記撮像装置から定期的に送信される当該撮像装置の識別情報とIPアドレスとポート番号とを受信して、前記第2の記憶手段の対応する情報を登録更新する更新手段と、前記携帯電話端末からのテレビ電話の発信を受け付けると、当該携帯電話端末の識別情報に対応する前記撮像装置の識別情報を前記第1の記憶手段から抽出する第1の抽出手段と、前記第1の抽出手段が抽出した撮像装置の識別情報に対応するIPアドレス及びポート番号を前記第2の記憶手段から抽出する第2の抽出手段と、前記第2の抽出手段が抽出したIPアドレス及びポート番号に基づいて、前記撮像装置にテレビ電話の発信を転送する転送手段と、前記転送手段により転送されたテレビ電話の発信に対応して、前記撮像装置から送信される前記撮像装置が撮像した動画音声データを受信する手段と、前記受信した前記動画音声データを前記携帯電話端末へ送信する手段と、を備えることを特徴とする。   The server of the present invention is a server configured to be able to communicate with an imaging device belonging to a local area network and a mobile phone terminal belonging to a network other than the local area network and having a videophone function, and the mobile phone terminal First storage means for storing the identification information of the imaging apparatus and the identification information of the imaging apparatus in association with each other, second storage means for storing the identification information of the imaging apparatus in association with the IP address and the port number, Updating means for receiving identification information, an IP address and a port number of the imaging apparatus periodically transmitted from the imaging apparatus and registering and updating corresponding information in the second storage means; and the mobile phone terminal When receiving a videophone call from the mobile phone terminal, the identification information of the imaging device corresponding to the identification information of the mobile phone terminal is stored in the first storage means. First extracting means for extracting, second extracting means for extracting from the second storage means an IP address and port number corresponding to the identification information of the imaging device extracted by the first extracting means, and the second A transfer unit that transfers a videophone call to the imaging device based on the IP address and port number extracted by the extraction unit; and the imaging device corresponding to the videophone call transferred by the transfer unit. Means for receiving moving image / sound data captured by the imaging device transmitted from the device and means for transmitting the received moving image / sound data to the mobile phone terminal.

本発明のサーバは、ローカルエリアネットワークに属する撮像装置と、当該ローカルエリアネットワーク以外のネットワークに属する情報処理端末と、それぞれ通信可能に構成されたサーバであって、前記撮像装置のドメイン名とIPアドレスを対応付けて記憶する第1の記憶手段と、前記撮像装置の識別情報、IPアドレス及びポート番号を対応付けて記憶する第2の記憶手段と、前記撮像装置から定期的に送信される、当該撮像装置のドメイン名とIPアドレスを受信して、前記第1の記憶手段の対応する情報を登録更新する第1の更新手段と、前記撮像装置から定期的に送信される当該撮像装置の識別情報とIPアドレスとポート番号とを受信して、前記第2の記憶手段の対応する情報を登録更新する第2の更新手段と、前記情報処理端末からドメイン名を含む閲覧要求を受け付けると、当該ドメイン名に対応するIPアドレスを前記第1の記憶手段から抽出する第1の抽出手段と、前記第1の抽出手段が抽出したIPアドレスに対応するポート番号を前記第2の記憶手段から抽出する第2の抽出手段と、前記第1の抽出手段が抽出したIPアドレスと前記第2の抽出手段が抽出したポート番号を前記情報処理端末に送信する手段と、を備えることを特徴とする。   The server of the present invention is a server configured to be able to communicate with an imaging device belonging to a local area network and an information processing terminal belonging to a network other than the local area network, and the domain name and IP address of the imaging device First storage means for storing the information in association with each other, second storage means for storing the identification information, IP address and port number of the image pickup apparatus in association with each other, and periodically transmitted from the image pickup apparatus, First update means for receiving the domain name and IP address of the imaging device and registering and updating the corresponding information in the first storage means, and identification information of the imaging device periodically transmitted from the imaging device A second updating means for receiving the IP address and port number and registering and updating the corresponding information in the second storage means; and the information processing When a browsing request including a domain name is received from the end, a first extraction unit that extracts an IP address corresponding to the domain name from the first storage unit, and an IP address extracted by the first extraction unit Second extraction means for extracting the port number to be extracted from the second storage means, the IP address extracted by the first extraction means, and the port number extracted by the second extraction means are transmitted to the information processing terminal And means for performing.

なお、本明細書等において、手段とは、単に物理的手段を意味するものではなく、その手段が有する機能をソフトウェアによって実現する場合も含む。また、1つの手段が有する機能が2つ以上の物理的手段により実現されても、2つ以上の手段の機能が1つの物理的手段により実現されてもよい。   In this specification and the like, the means does not simply mean a physical means, but includes a case where the functions of the means are realized by software. Further, the function of one means may be realized by two or more physical means, or the functions of two or more means may be realized by one physical means.

なお、本発明は、上記した実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲内において、他の様々な形で実施することができる。このため、上記実施形態はあらゆる点で単なる例示にすぎず、限定的に解釈されるものではない。例えば、上述の各処理ステップは処理内容に矛盾を生じない範囲で任意に順番を変更して又は並列に実行することができる。   The present invention is not limited to the above-described embodiment, and can be implemented in various other forms without departing from the gist of the present invention. For this reason, the said embodiment is only a mere illustration in all points, and is not interpreted limitedly. For example, the above-described processing steps can be executed in any order or in parallel as long as there is no contradiction in the processing contents.

本発明によれば、ローカルネットワークに属し、固定グローバルIPアドレスが付与されていない撮像装置等と外部ネットワークとの通信が可能になる。また、本発明によれば、そのような撮像装置等よって撮像された画像を外部ネットワークから任意に閲覧することができるようになる。また、本発明によれば、ユーザは、自分が所望する機器や通信形態を用いて撮像画像を閲覧することが可能になる。   According to the present invention, communication between an imaging device or the like that belongs to a local network and is not assigned a fixed global IP address can be performed. Further, according to the present invention, an image captured by such an imaging apparatus or the like can be arbitrarily browsed from an external network. Further, according to the present invention, the user can view the captured image using the device or communication mode desired by the user.

第1の実施形態に係る画像配信システムの全体構成を説明する図である。It is a figure explaining the whole structure of the image delivery system which concerns on 1st Embodiment. 第1の実施形態に係る画像配信処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the image delivery process which concerns on 1st Embodiment. 第2の実施形態に係るネットワークカメラシステムの構成を表すブロック図である。It is a block diagram showing the structure of the network camera system which concerns on 2nd Embodiment. 第2の実施形態に係る撮像装置の構成を表すブロック図である。It is a block diagram showing the structure of the imaging device which concerns on 2nd Embodiment. 第2の実施形態に係る中継サーバの構成を表すブロック図である。It is a block diagram showing the structure of the relay server which concerns on 2nd Embodiment. 第2の実施形態に係るゲートウェイの構成を表すブロック図である。It is a block diagram showing the structure of the gateway which concerns on 2nd Embodiment. 第2の実施形態に係る携帯端末の構成を説明する図である。It is a figure explaining the structure of the portable terminal which concerns on 2nd Embodiment. 第2の実施形態に係るNAT越え処理の流れを説明する図である。It is a figure explaining the flow of the NAT traversal process which concerns on 2nd Embodiment. 第3の実施形態に係るネットワークカメラシステムの全体構成を説明する図である。It is a figure explaining the whole network camera system composition concerning a 3rd embodiment. 第3の実施形態に係る撮像装置の構成を表すブロック図である。It is a block diagram showing the structure of the imaging device which concerns on 3rd Embodiment. 第3の実施形態に係るNAT越え処理の流れを説明する図である。It is a figure explaining the flow of the NAT traversal process which concerns on 3rd Embodiment.

(1)第1の実施形態
以下、第1の実施形態に係るネットワークカメラシステムについて詳細に説明する。図1は、ネットワークカメラシステムとしての画像配信システム1の全体構成を示す構成図である。撮像装置(端末装置)5は、例えば、ネットワークカメラであり、家庭や企業等の施設内に設置され、情報処理端末6、情報処理端末7、ハブ8及びルータ9とともにLAN4(Local Area Network)を構成する。端末装置3、中継サーバ2、録画・課金サーバ10は、通信ネットワークN(有線、無線を含む)を介して相互に通信可能に構成され、さらにLAN4内の各装置とも通信可能に構成されている。
(1) First Embodiment Hereinafter, a network camera system according to a first embodiment will be described in detail. FIG. 1 is a configuration diagram showing the overall configuration of an image distribution system 1 as a network camera system. The imaging device (terminal device) 5 is, for example, a network camera, and is installed in a facility such as a home or a company. The information processing terminal 6, the information processing terminal 7, the hub 8, and the router 9 together with a LAN 4 (Local Area Network). Constitute. The terminal device 3, the relay server 2, and the recording / billing server 10 are configured to be able to communicate with each other via a communication network N (including wired and wireless), and are also configured to be able to communicate with each device in the LAN 4. .

LAN4を構成する撮像装置5、情報処理端末6、情報処理端末7には、プライベートIPアドレス(ローカルIPアドレス)が割り当てられる一方、これら撮像装置5等とLAN4の外部ネットワークとの接続は、グローバルIPアドレスが割り当てられたブロードバンドルータ9を介して行われる。なお、ブロードバンドルータ9は、プライベートIPアドレスとグローバルIPアドレスを透過的に相互変換するNAT(Network Address Translation)機能、または、IPアドレスに加えてポート番号も相互変換するNAPT(Network Address Port Translation)機能を備える。   A private IP address (local IP address) is assigned to the imaging device 5, the information processing terminal 6, and the information processing terminal 7 configuring the LAN 4, while the connection between the imaging device 5 and the like and the external network of the LAN 4 This is performed via the broadband router 9 to which an address is assigned. The broadband router 9 has a NAT (Network Address Translation) function for transparently converting between a private IP address and a global IP address, or a NAPT (Network Address Port Translation) function for mutually converting a port number in addition to an IP address. Is provided.

本実施形態では、ユーザが操作する端末装置3として、カメラ機能を備えた携帯端末31、デジタルビデオレコーダ32、パーソナルコンピュータ33が、図1に例示されている。しかし、端末装置3は、中継サーバ2へ接続要求を送信できる装置であればよく、これらに限られない。   In the present embodiment, as a terminal device 3 operated by a user, a portable terminal 31, a digital video recorder 32, and a personal computer 33 having a camera function are illustrated in FIG. However, the terminal device 3 should just be an apparatus which can transmit a connection request to the relay server 2, and is not restricted to these.

このようなネットワーク環境において、ユーザが、撮像装置5が撮影する被写体(例えば、自宅にいるペット等)の映像を閲覧したい場合、ユーザは、端末装置3を操作して被写体の映像の閲覧要求を中継サーバ2に送信する。しかし、中継サーバ2は、LAN4に属しプライベートIPアドレスが割り当てられた撮像装置5に対しては、外部からアクセスすることができない。   In such a network environment, when the user wants to browse a video of a subject (for example, a pet at home) photographed by the imaging device 5, the user operates the terminal device 3 to request browsing of the subject video. Transmit to the relay server 2. However, the relay server 2 cannot access the imaging device 5 belonging to the LAN 4 and assigned with a private IP address from the outside.

そこで、本実施形態では、撮像装置5が、定期的に外部ネットワークに属する中継サーバ2に対して端末装置3の閲覧要求の有無を問い合わせ、中継サーバ2は、端末装置3から閲覧要求がない場合は、撮像装置5との接続(セッション)をその都度解除し、端末装置3から閲覧要求があった場合に、かかる接続を維持する。撮像装置5は、中継サーバ2との接続が維持された状態で被写体を撮影し、この撮影したデータを中継サーバ2に送信する。このように、中継サーバ2は、ユーザの閲覧要求に応じて、撮像装置5との間の接続を確立して維持し、この維持した接続を利用して、撮像装置5からリアルタイムで撮影データを受信し、これを端末装置3へ送信するように構成した。   Therefore, in the present embodiment, the imaging device 5 periodically inquires of the relay server 2 belonging to the external network whether there is a browsing request for the terminal device 3, and the relay server 2 does not receive a browsing request from the terminal device 3. Releases the connection (session) with the imaging device 5 each time, and maintains the connection when there is a browsing request from the terminal device 3. The imaging device 5 captures a subject while the connection with the relay server 2 is maintained, and transmits the captured data to the relay server 2. As described above, the relay server 2 establishes and maintains a connection with the imaging device 5 in response to a user's browsing request, and uses the maintained connection to obtain shooting data from the imaging device 5 in real time. This is received and transmitted to the terminal device 3.

このような画像配信システム1によれば、撮像装置5の利用者は、端末装置3を利用して中継サーバ2にアクセスすることにより、撮像装置5が撮影した被写体の映像を、遠隔地からリアルタイムで閲覧することができる。   According to such an image distribution system 1, the user of the imaging device 5 accesses the relay server 2 using the terminal device 3, so that the subject image captured by the imaging device 5 can be viewed in real time from a remote location. You can browse at.

図2は、本実施形態に係る画像配信システム1による画像配信処理の流れを示すフローチャートである。後述するフローチャートにおける各工程(符号が付与されていない部分的な工程を含む)は処理内容に矛盾を生じない範囲で任意に順番を変更して又は並列に実行することができる。   FIG. 2 is a flowchart showing a flow of image distribution processing by the image distribution system 1 according to the present embodiment. Each step (including a partial step to which no reference numeral is assigned) in the flowchart described below can be executed in any order or in parallel within a range that does not contradict the processing contents.

画像配信システム1による画像配信サービスの利用に先立ち、ユーザは、端末装置3から中継サーバ2にアクセスし、ユーザ登録情報を送信する(S100)。ユーザ登録情報には、ユーザの端末装置3を一意的に識別するための識別情報(例えば、端末装置IDや携帯電話番号)と、ユーザの撮像装置5を一意的に識別するための識別情報(例えば、撮像装置ID)とが含まれる。   Prior to the use of the image distribution service by the image distribution system 1, the user accesses the relay server 2 from the terminal device 3 and transmits user registration information (S100). The user registration information includes identification information for uniquely identifying the user's terminal device 3 (for example, a terminal device ID and a mobile phone number) and identification information for uniquely identifying the user's imaging device 5 ( For example, imaging device ID) is included.

ユーザは、例えば、撮像装置5に添付されたバーコード(図示せず)を端末装置3のカメラで撮影し、この撮影したバーコード画像を端末装置IDとともに中継サーバ2に送信する。中継サーバ2は、ユーザ登録情報を受信すると、受信した端末装置IDと撮像装置ID(バーコード画像を変換して得られたもの)とを対応づけて、所定のテーブルに記憶する(S102)。これにより、中継サーバ2において、ユーザの撮像装置5と端末装置3とが対応付けて管理される。   For example, the user captures a barcode (not shown) attached to the imaging device 5 with the camera of the terminal device 3, and transmits the captured barcode image together with the terminal device ID to the relay server 2. When the relay server 2 receives the user registration information, the relay server 2 associates the received terminal device ID with the imaging device ID (obtained by converting the barcode image) and stores it in a predetermined table (S102). Thereby, in the relay server 2, the user's imaging device 5 and the terminal device 3 are managed in association with each other.

撮像装置5は、電源がONになると(S104)、メモリに格納された所定のプログラム(NAT越えモジュール)がCPUによって実行され、ルータ9を介して中継サーバ2に対して接続要求の有無の問い合わせを送信する(S106)。接続要求の有無の問い合わせは、端末装置3から接続要求の問い合わせ(撮像装置5の撮影データの取得/閲覧要求)があったか否かを確認するためのものである。この問い合わせには、撮像装置IDと、撮像装置に付与されたプライベートIPアドレスと、ポート番号とを含む。   When the image pickup apparatus 5 is turned on (S104), a predetermined program (NAT crossing module) stored in the memory is executed by the CPU, and an inquiry about whether there is a connection request to the relay server 2 via the router 9 Is transmitted (S106). The inquiry about whether or not there is a connection request is for confirming whether or not there is a connection request inquiry (request for acquiring / browsing photographing data of the image pickup device 5) from the terminal device 3. This inquiry includes an imaging device ID, a private IP address assigned to the imaging device, and a port number.

なお、ルータ9は、問い合わせを受け付けると、IPアドレスとポート番号の対応関係を定義したマッピングテーブルを参照して、問い合わせに含まれる撮像装置5のプライベートIPアドレスとポート番号を、それぞれ対応するグローバルIPアドレスと他のポート番号に変換し、通信ネットワークNに送出する。また、同様に、撮像装置5を宛先とするデータを通信ネットワークNから受け付けた場合は、マッピングテーブルを参照して、データ内のグローバルIPアドレスとポート番号を、それぞれ対応するプライベートIPアドレスと他のポート番号に変換して、LAN4に送出する。   When the router 9 accepts the inquiry, the router 9 refers to the mapping table that defines the correspondence relationship between the IP address and the port number, and assigns the private IP address and port number of the imaging device 5 included in the inquiry to the corresponding global IP address. The address and other port number are converted and sent to the communication network N. Similarly, when data destined for the imaging device 5 is received from the communication network N, the mapping table is referred to, the global IP address and the port number in the data, the corresponding private IP address and the other It is converted into a port number and sent to the LAN 4.

中継サーバ2は、撮像装置5から接続要求の有無の問い合わせを受信すると、問い合わせに含まれる撮像装置5のプライベートIPアドレスとポート番号(中継サーバから見た場合は変換後のグローバルIPアドレスとポート番号)を用いて、撮像装置5との間でTCP/IPに基づく接続を確立する。   When the relay server 2 receives an inquiry about whether or not there is a connection request from the imaging device 5, the private IP address and port number of the imaging device 5 included in the inquiry (the global IP address and port number after conversion when viewed from the relay server) ) To establish a connection based on TCP / IP with the imaging device 5.

そして、撮像装置IDに対応づけられた端末装置IDを有する端末装置3の接続要求情報を所定のテーブル(接続要求管理テーブル)から参照する。接続要求情報にはデフォルトとしてOFFが設定されているので、中継サーバ2は、接続要求情報(OFF)を返信する(S110)。そして、中継サーバ2は、接続要求情報に(OFF)が設定されているので、撮像装置5との間の接続を解除する(S112)。   Then, the connection request information of the terminal device 3 having the terminal device ID associated with the imaging device ID is referred from a predetermined table (connection request management table). Since OFF is set as a default in the connection request information, the relay server 2 returns connection request information (OFF) (S110). Then, since (OFF) is set in the connection request information, the relay server 2 releases the connection with the imaging device 5 (S112).

撮像装置5は、中継サーバ2から接続要求情報(OFF)を受信すると、予め設定された一定間隔に従い、接続要求の有無の問い合わせを継続的に送信する(S114)。一定間隔は、仕様に応じてまたは利用者が任意に設定することができ、本実施形態では、一例として5秒が設定されている。   When receiving the connection request information (OFF) from the relay server 2, the imaging device 5 continuously transmits an inquiry as to whether or not there is a connection request according to a predetermined interval (S114). The fixed interval can be set arbitrarily according to the specification or by the user. In this embodiment, 5 seconds is set as an example.

一方、撮像装置5が撮影した被写体の映像をユーザが閲覧したい場合、ユーザは、端末装置3を操作して、中継サーバ2に対して接続要求(撮像装置5の撮影データの取得要求)送信する(S116)。接続要求には、端末装置IDが含まれる。   On the other hand, when the user wants to browse the video of the subject captured by the imaging device 5, the user operates the terminal device 3 to transmit a connection request (acquisition data acquisition request of the imaging device 5) to the relay server 2. (S116). The connection request includes the terminal device ID.

中継サーバ2は、接続要求を端末装置3から受信すると(S118)、所定のテーブル(接続要求管理テーブル)を参照し、接続要求に含まれる端末装置IDに対応する接続要求情報に「ON」を設定する(S120)。   When the relay server 2 receives the connection request from the terminal device 3 (S118), the relay server 2 refers to a predetermined table (connection request management table) and sets “ON” in the connection request information corresponding to the terminal device ID included in the connection request. Set (S120).

なお、S106の送信後、撮像装置5は、一定間隔(5秒)で、ルータ9を介して中継サーバ2に対して接続要求の有無の問い合わせを送信する(S122)。問い合わせには、撮像装置IDと、撮像装置に付与されたプライベートIPアドレスと、ポート番号とが含まれる。なお、ルータ9による変換後は、撮像装置IDとグローバルIPアドレスとポート番号が含まれる。   Note that after the transmission in S106, the imaging device 5 transmits an inquiry as to whether or not there is a connection request to the relay server 2 via the router 9 at regular intervals (5 seconds) (S122). The inquiry includes an imaging device ID, a private IP address assigned to the imaging device, and a port number. Note that after the conversion by the router 9, the imaging device ID, the global IP address, and the port number are included.

中継サーバ2は、撮像装置5から接続要求の有無の問い合わせを受信すると、問い合わせに含まれる撮像装置のプライベートIPアドレスとポート番号(中継サーバから見た場合は変換後のグローバルIPアドレスとポート番号)を用いて、撮像装置5との間でTCP/IPに基づく接続を確立する。   When the relay server 2 receives an inquiry about the presence or absence of a connection request from the imaging device 5, the private IP address and port number of the imaging device included in the inquiry (the global IP address and port number after conversion when viewed from the relay server) Is used to establish a TCP / IP-based connection with the imaging device 5.

そして、問い合わせに含まれる撮像装置IDに対応する端末装置3の接続要求情報を所定のテーブル(接続要求管理テーブル)から参照する。ここでは、接続要求情報にONが設定されているので、中継サーバ2は、接続要求情報(ON)を返信する(S126)。そして、中継サーバ2は、接続要求情報に(ON)が設定されているので、撮像装置5との間に確立した接続をTCP/IPに基づいて維持する(S128)。   Then, the connection request information of the terminal device 3 corresponding to the imaging device ID included in the inquiry is referred from a predetermined table (connection request management table). Here, since ON is set in the connection request information, the relay server 2 returns the connection request information (ON) (S126). Then, since (ON) is set in the connection request information, the relay server 2 maintains the connection established with the imaging device 5 based on TCP / IP (S128).

撮像装置5は、中継サーバ2から接続要求情報(ON)を受信すると、データ送信処理を開始する(S130)。撮像装置5は、そのカメラ機構により被写体を撮影し(S132)、撮影した撮影データ(被写体の静止画、動画、及び/または、音声)を、維持されている接続(セッション)を利用して、中継サーバ2へ送信する(S134)。撮影データの送信には、UDP/IPを利用することができる。また、被写体の撮影及びその撮影データの送信は、仕様や設定に応じて行うことができ、例えば、所定間隔で静止画を送信してもよいし、動画を送信してもよい。   When receiving the connection request information (ON) from the relay server 2, the imaging device 5 starts a data transmission process (S130). The imaging device 5 captures the subject with the camera mechanism (S132), and uses the maintained connection (session) for the captured photographing data (still image, moving image, and / or sound of the subject), It transmits to the relay server 2 (S134). UDP / IP can be used for transmission of imaging data. Further, shooting of the subject and transmission of the shooting data can be performed according to specifications and settings. For example, a still image may be transmitted at a predetermined interval or a moving image may be transmitted.

中継サーバ2は、撮影データを受信すると(S136)、受信した撮影データに対して所定の画像処理を施し、端末装置3へ送信する(S138)。端末装置3は、撮影データを受信すると、ディスプレイに出力する(S140)。   When the relay server 2 receives the image data (S136), the relay server 2 performs predetermined image processing on the received image data and transmits the image data to the terminal device 3 (S138). When the terminal device 3 receives the shooting data, it outputs it to the display (S140).

また、中継サーバ2は、撮影データを、端末装置IDや撮像装置IDと対応付けて録画/課金サーバ10へ送信し(S142)、録画/課金サーバ10は、受信した撮影データを端末装置IDや撮像装置IDと対応付けて所定の記憶領域に格納する(S144)。録画/課金サーバ10は、所定の設定条件に従って、撮影データの利用に対する課金処理を実行する。   Further, the relay server 2 transmits the shooting data in association with the terminal device ID or the imaging device ID to the recording / billing server 10 (S142), and the recording / billing server 10 transmits the received shooting data to the terminal device ID or The information is stored in a predetermined storage area in association with the imaging device ID (S144). The recording / billing server 10 executes a billing process for the use of the shooting data in accordance with predetermined setting conditions.

上記第1の実施形態によれば、ローカルエリアネットワークに属し、グローバルIPアドレスが付与されていない撮像装置5と、外部ネットワークに属する中継サーバ2との通信が可能になる。   According to the first embodiment, communication between the imaging device 5 belonging to the local area network and not assigned with the global IP address and the relay server 2 belonging to the external network becomes possible.

また、端末装置3から接続要求があった場合のみ、撮像装置5と中継サーバ2との間の接続が維持され、撮像装置5から中継サーバ2へ撮影データが送信される。従って、撮像装置5と中継サーバ2との間の接続は効率的に維持され、中継サーバ2の負荷を軽減することが可能になる。   Also, only when there is a connection request from the terminal device 3, the connection between the imaging device 5 and the relay server 2 is maintained, and shooting data is transmitted from the imaging device 5 to the relay server 2. Therefore, the connection between the imaging device 5 and the relay server 2 is efficiently maintained, and the load on the relay server 2 can be reduced.

なお、上記第1の実施形態では、端末装置3から撮像装置(端末装置)5に対して、その撮像データに対する取得要求があった場合を例に説明したが、第1の実施形態の構成はこれに限られず、例えば、端末装置3が、情報処理端末6や情報処理端末7に対して、それらが保有するデータに対する取得要求を行う場合についても同様に適用できる。   In the first embodiment, the case where there is an acquisition request for the imaging data from the terminal device 3 to the imaging device (terminal device) 5 has been described as an example. However, the configuration of the first embodiment is as follows. However, the present invention is not limited to this. For example, the same applies to a case where the terminal device 3 makes an acquisition request for data held by the information processing terminal 6 or the information processing terminal 7.

上記第1の実施形態では、サーバは、端末装置と、ローカルエリアネットワークに属する撮像装置と、通信可能に構成されたサーバであって、前記撮像装置から一定間隔で送信される第1の接続要求を受信する手段と、前記端末装置から送信される第2の接続要求を受信する手段と、前記第1の接続要求を受信した場合に、前記第2の接続要求を受信したか否かを判定し、前記第2の接続要求を受信したと判定した場合は、前記第1の接続要求に基づいて確立した前記撮像装置との間の接続を維持する接続維持手段と、前記接続維持手段により維持される接続を利用して前記撮像装置から送信される前記撮像装置が撮影したデータを受信する手段と、前記受信した前記撮像装置が撮影したデータを、前記端末装置へ送信する手段と、を備える。   In the first embodiment, the server is a server configured to be able to communicate with a terminal device, an imaging device belonging to a local area network, and the first connection request transmitted from the imaging device at regular intervals. , Receiving means for receiving a second connection request transmitted from the terminal device, and determining whether or not the second connection request has been received when the first connection request is received If it is determined that the second connection request has been received, a connection maintaining unit that maintains a connection with the imaging apparatus established based on the first connection request, and a connection maintaining unit that maintains the connection. Means for receiving data photographed by the imaging device transmitted from the imaging device using a connected connection, and means for transmitting data received by the imaging device to the terminal device.

また、サーバは、第1の端末装置と、ローカルエリアネットワークに属する第2の端末装置と、通信可能に構成されたサーバであって、前記第2の端末装置から一定間隔で送信される第1の接続要求を受信する手段と、前記第1の端末装置から送信される第2の接続要求を受信する手段と、前記第1の接続要求を受信した場合に、前記第2の接続要求を受信したか否かを判定し、前記第2の接続要求を受信したと判定した場合は、前記第1の接続要求に基づいて確立した前記第2の端末装置との間の接続を維持する接続維持手段と、前記接続維持手段により維持される接続を利用して前記第2の端末装置から送信されるデータを受信する手段と、前記受信した前記第2の端末装置が送信したデータを、前記第1の端末装置へ送信する手段と、を備える。   The server is a server configured to be able to communicate with the first terminal device, the second terminal device belonging to the local area network, and transmitted from the second terminal device at regular intervals. Means for receiving the second connection request, means for receiving the second connection request transmitted from the first terminal device, and receiving the second connection request when the first connection request is received. If it is determined whether or not the second connection request has been received, the connection maintenance for maintaining the connection with the second terminal device established based on the first connection request Means for receiving data transmitted from the second terminal apparatus using the connection maintained by the connection maintaining means, and receiving the data transmitted by the second terminal apparatus Means for transmitting to one terminal device; Provided.

また、サーバは、端末装置と、ローカルエリアネットワークに属する撮像装置と、通信可能に構成されたサーバであって、前記端末装置から送信される前記端末装置の識別情報を受信する手段と、前記撮像装置から一定間隔で送信される、前記撮像装置の識別情報と前記撮像装置のプライベートIPアドレスとを受信する手段と、前記受信した端末装置の識別情報が、前記受信した撮像装置の識別情報と予め対応づけられている場合に、前記受信した撮像装置のプライベートIPアドレスに基づいて確立した前記撮像装置との間の接続を維持する接続維持手段と、前記接続維持手段により維持される接続を利用して前記撮像装置から送信される前記撮像装置が撮影したデータを受信する手段と、前記受信した前記撮像装置が撮影したデータを、前記端末装置へ送信する手段と、を備える。   Further, the server is a server configured to be able to communicate with a terminal device, an imaging device belonging to a local area network, means for receiving identification information of the terminal device transmitted from the terminal device, and the imaging Means for receiving the identification information of the imaging device and the private IP address of the imaging device, which are transmitted from the device at regular intervals, and the received identification information of the terminal device is the same as the identification information of the received imaging device in advance. A connection maintaining unit that maintains a connection with the imaging device established based on the private IP address of the received imaging device, and a connection maintained by the connection maintaining unit Means for receiving data taken by the imaging device transmitted from the imaging device, and receiving the data taken by the imaging device. And means for transmitting to the terminal device.

サーバは、第1の端末装置と、ローカルエリアネットワークに属する第2の端末装置と、通信可能に構成されたサーバであって、前記第1の端末装置から送信される前記第1の端末装置の識別情報を受信する手段と、前記第2の端末装置から一定間隔で送信される、前記第2の端末装置の識別情報と前記第2の端末装置のプライベートIPアドレスとを受信する手段と、前記受信した第1の端末装置の識別情報が、前記受信した第2の端末装置の識別情報と予め対応づけられている場合に、前記受信した第2の端末装置のプライベートIPアドレスに基づいて確立した前記第2の端末装置との間の接続を維持する接続維持手段と、前記接続維持手段により維持される接続を利用して前記第2の端末装置から送信されるデータを受信する手段と、前記受信した前記第2の端末装置から送信されたデータを、前記第1の端末装置へ送信する手段と、を備える。   The server is a server configured to be able to communicate with the first terminal device, the second terminal device belonging to the local area network, and transmitted from the first terminal device. Means for receiving identification information, means for receiving the identification information of the second terminal device and the private IP address of the second terminal device, which are transmitted from the second terminal device at regular intervals, Established based on the received private IP address of the second terminal device when the received identification information of the first terminal device is associated with the received identification information of the second terminal device in advance. Connection maintaining means for maintaining a connection with the second terminal apparatus; means for receiving data transmitted from the second terminal apparatus using a connection maintained by the connection maintaining means; The data transmitted from the second terminal device the received, and means for transmitting to the first terminal device.

(2)第2の実施形態
図3は、第2の実施形態に係るネットワークカメラシステムの概略構成を示すブロック図である。第2の実施形態では、携帯TV電話を利用してネットワークカメラの撮像画像を閲覧する場合について説明する。なお、図3において、図1と同一構成については同一の符号を付し、ここでは説明を省略する。
(2) Second Embodiment FIG. 3 is a block diagram showing a schematic configuration of a network camera system according to a second embodiment. In the second embodiment, a case where a captured image of a network camera is viewed using a mobile TV phone will be described. In FIG. 3, the same components as those in FIG. 1 are denoted by the same reference numerals, and description thereof is omitted here.

第2の実施形態に係るネットワークカメラシステムは、端末装置がTV電話機能を有する携帯電話機である点と、この携帯電話機からTV電話の発信を受け付けるゲートウェイサーバ11を備える点におもな特徴がある。撮像装置としてのネットワークカメラ51は、情報処理端末6、情報処理端末7、ハブ8及びルータ9とともにLAN4(Local Area Network)を構成する。ネットワークカメラ51と携帯電話機34は、通信ネットワークN2(例えば、ISDN回線が該当するが、これに限られない。)、ゲートウェイサーバ11及び通信ネットワークN(例えば、インターネットが該当するが、これに限られない)を介して、相互に通信可能に構成されている。なお、図3では、1つの携帯電話機34を例示しているが、ネットワークカメラシステムには1つ以上の携帯電話機34を接続可能である。また、図3では、中継サーバ21とゲートウェイサーバ11とを別々に記載したが、これらの機能を単一のコンピュータより構成されるようにしてもよい。   The network camera system according to the second embodiment is mainly characterized in that the terminal device is a mobile phone having a TV phone function, and that a gateway server 11 is provided for receiving a TV phone call from the mobile phone. . A network camera 51 as an imaging device constitutes a LAN 4 (Local Area Network) together with the information processing terminal 6, the information processing terminal 7, the hub 8, and the router 9. The network camera 51 and the mobile phone 34 correspond to the communication network N2 (for example, but not limited to the ISDN line), the gateway server 11 and the communication network N (for example, the Internet, but are not limited thereto). Are not configured to communicate with each other. Although FIG. 3 illustrates one mobile phone 34, one or more mobile phones 34 can be connected to the network camera system. In FIG. 3, the relay server 21 and the gateway server 11 are described separately, but these functions may be configured by a single computer.

図4は、第2の実施形態に係るネットワークカメラの機能構成を表すブロック図である。ネットワークカメラ51は、通信部(通信手段)511、制御部(制御手段)512、記憶部(記憶手段)513、音声入出力部(音声入出力手段)514、撮像部(撮像手段)515、表示部(表示手段)516、操作部(操作手段)517を備える。ネットワークカメラ51は、図示してはいないが、CPU、メモリ、外部記憶装置、入出力インタフェース、通信インタフェース、カメラ機構及びこれらを結ぶバスを備えるハードウェアを備え、例えばCPUがメモリや記憶装置に格納された各種プログラムを実行して各ハードウェアを制御することにより上記の各機能手段は実現される。   FIG. 4 is a block diagram illustrating a functional configuration of the network camera according to the second embodiment. The network camera 51 includes a communication unit (communication unit) 511, a control unit (control unit) 512, a storage unit (storage unit) 513, a voice input / output unit (voice input / output unit) 514, an imaging unit (imaging unit) 515, a display. A unit (display unit) 516 and an operation unit (operation unit) 517. Although not shown, the network camera 51 includes hardware including a CPU, a memory, an external storage device, an input / output interface, a communication interface, a camera mechanism, and a bus connecting these, for example, the CPU stores in the memory or the storage device. The above-described functional units are realized by executing the various programs and controlling the hardware.

通信部511は、LAN4を介してネットワークカメラ51に対して情報を入出力するように通信を制御するものであり、例えば、TCP/IP等のモジュールを備える。制御部512は、ネットワークカメラ51全体の動作を制御するものであり、NAT越え処理を実行するNAT越え処理部や、テレビ電話処理を実行するテレビ電話処理部などを備える。記憶部513は、NAT越え処理等に必要な各種プログラムやデータを適宜記憶するものであり、ここでは、ネットワークカメラを一意的に識別するカメラIDをユーザ登録情報として記憶する。音声入出力部514は、ネットワークカメラ51に対して音声の入出力を制御し、例えばスピーカ、マイク、イヤホンなどが該当する。撮像部515は、例えばCCD(Charge Coupled Devices)イメージセンサにより被写体を撮像し、その撮像結果(画像信号)に対してA/D変換処理や画像処理等を適宜施すことにより撮像画像を生成する。表示部516は、撮像画像等を表示するためのものであり、例えば液晶ディスプレイが該当する。操作部517は、ユーザの操作を受け付けるものであり、例えば、スイッチ、ボタン、操作キー、キーボード等が該当する。なお、ネットワークカメラ51が備える構成や機能はこれらに限られず、設定に応じて機能の追加や変更が可能である。   The communication unit 511 controls communication so as to input / output information to / from the network camera 51 via the LAN 4, and includes a module such as TCP / IP. The control unit 512 controls the overall operation of the network camera 51, and includes a NAT traversal processing unit that performs NAT traversal processing, a videophone processing unit that performs videophone processing, and the like. The storage unit 513 stores various programs and data necessary for NAT traversal processing as appropriate. Here, a camera ID that uniquely identifies a network camera is stored as user registration information. The voice input / output unit 514 controls voice input / output with respect to the network camera 51, and corresponds to, for example, a speaker, a microphone, an earphone, and the like. The imaging unit 515 captures a subject by, for example, a CCD (Charge Coupled Devices) image sensor, and generates a captured image by appropriately performing A / D conversion processing, image processing, or the like on the imaging result (image signal). The display unit 516 is for displaying a captured image or the like, and corresponds to, for example, a liquid crystal display. The operation unit 517 receives user operations, and corresponds to, for example, a switch, a button, an operation key, a keyboard, and the like. Note that the configuration and functions of the network camera 51 are not limited to these, and functions can be added or changed according to settings.

図5は、第2の実施形態に係る中継サーバの構成を表すブロック図である。中継サーバ21は、通信部211、制御部212、記憶部213、入力部214、出力部215を備える。なお、中継サーバ21は、単一のコンピュータより構成されるものであっても、ネットワーク上に分散した複数のコンピュータより構成されるものであってもよい。中継サーバ21は、図示してはいないが、CPU、メモリ、外部記憶装置、入出力インタフェース、通信インタフェース及びこれらを結ぶバスを備えるハードウェアを備え、例えばCPUがメモリや記憶装置に格納された各種プログラムを実行することにより各種機能を実現する。   FIG. 5 is a block diagram illustrating the configuration of the relay server according to the second embodiment. The relay server 21 includes a communication unit 211, a control unit 212, a storage unit 213, an input unit 214, and an output unit 215. The relay server 21 may be composed of a single computer or may be composed of a plurality of computers distributed on a network. Although not illustrated, the relay server 21 includes hardware including a CPU, a memory, an external storage device, an input / output interface, a communication interface, and a bus connecting these, for example, various types of CPUs stored in the memory or the storage device Various functions are realized by executing the program.

通信部211は、通信ネットワークNを介して中継サーバ21に対して情報を入出力するように通信を制御するものであり、例えば、TCP/IP等のモジュールを備える。制御部212は、中継サーバ21全体の動作を制御するものであり、カメラ情報を適宜更新するカメラ情報更新部や、NAT越えのためにアクセス先(ネットワークカメラ)を判定する判定部などを備える。また、記憶部213は、NAT越え処理等に必要な各種プログラムやデータを適宜記憶するものであり、ここでは、ネットワークカメラ51を一意的に識別するカメラID、ネットワークカメラ51に付与されたIPアドレスとポート番号が対応付けてユーザ登録情報として記憶される。入力部214及び出力部215は、各種データを入出力するためのものであり、例えば、キーボードやディスプレイ等が該当する。なお、中継サーバ21が備える構成や機能はこれらに限られず、設定に応じて機能の追加や変更が可能である。   The communication unit 211 controls communication so as to input / output information to / from the relay server 21 via the communication network N, and includes a module such as TCP / IP, for example. The control unit 212 controls the operation of the entire relay server 21 and includes a camera information update unit that appropriately updates camera information, a determination unit that determines an access destination (network camera) for NAT traversal, and the like. The storage unit 213 appropriately stores various programs and data necessary for NAT traversal processing and the like. Here, a camera ID that uniquely identifies the network camera 51 and an IP address assigned to the network camera 51. And the port number are stored in association with each other as user registration information. The input unit 214 and the output unit 215 are for inputting / outputting various data, and correspond to, for example, a keyboard and a display. Note that the configuration and functions of the relay server 21 are not limited to these, and functions can be added or changed according to settings.

図6は、第2の実施形態に係るゲートウェイサーバの構成を表すブロック図である。ゲートウェイサーバ11は、通信部111、制御部112、記憶部113、入力部114、出力部115を備える。なお、ゲートウェイサーバ11は、単一のコンピュータより構成されるものであっても、ネットワーク上に分散した複数のコンピュータより構成されるものであってもよい。ゲートウェイサーバ11は、図示してはいないが、CPU、メモリ、外部記憶装置、入出力インタフェース、通信インタフェース及びこれらを結ぶバスを備えるハードウェアを備え、例えばCPUがメモリや記憶装置に格納された各種プログラムを実行することにより各種機能を実現する。   FIG. 6 is a block diagram showing the configuration of the gateway server according to the second embodiment. The gateway server 11 includes a communication unit 111, a control unit 112, a storage unit 113, an input unit 114, and an output unit 115. The gateway server 11 may be composed of a single computer or may be composed of a plurality of computers distributed on a network. Although not shown, the gateway server 11 includes hardware including a CPU, a memory, an external storage device, an input / output interface, a communication interface, and a bus connecting these, and for example, various types of CPUs stored in the memory or the storage device Various functions are realized by executing the program.

通信部111は、通信ネットワークN及び通信ネットワークN2をそれぞれ介してゲートウェイサーバ11に対して情報を入出力するように通信を制御するものであり、例えば、TCP/IPやSIP等のモジュールを備える。制御部212は、ゲートウェイサーバ11全体の動作を制御するものであり、ユーザ情報を登録するユーザ情報登録部や、NAT越えのためにアクセス先(ネットワークカメラ)を問い合わせる問い合わせ部、テレビ電話を中継するTV電話中継部などを備える。また、記憶部113は、NAT越え処理等に必要な各種プログラムやデータを適宜記憶するものであり、ここでは、携帯電話機34の携帯電話番号とネットワークカメラ51を一意的に識別するカメラIDとが対応付けて記憶される。入力部114及び出力部115は、各種データを入出力するためのものであり、例えば、キーボードやディスプレイ等が該当する。なお、ゲートウェイサーバ11が備える構成や機能はこれらに限られず、設定に応じて機能の追加や変更が可能である。   The communication unit 111 controls communication so as to input / output information to / from the gateway server 11 via the communication network N and the communication network N2, and includes a module such as TCP / IP or SIP, for example. The control unit 212 controls the overall operation of the gateway server 11 and relays a user information registration unit for registering user information, an inquiry unit for inquiring an access destination (network camera) for NAT traversal, and a videophone. Includes a TV phone relay unit. The storage unit 113 stores various programs and data necessary for NAT traversal processing as appropriate. Here, the mobile phone number of the mobile phone 34 and the camera ID that uniquely identifies the network camera 51 are stored. Correspondingly stored. The input unit 114 and the output unit 115 are for inputting / outputting various data, and correspond to, for example, a keyboard and a display. Note that the configuration and functions of the gateway server 11 are not limited to these, and functions can be added or changed according to settings.

図7は、第2の実施形態に係る携帯電話機の構成を説明する図である。携帯電話機34は、通信部341、制御部342、記憶部343、音声入出力部344、撮像部345、表示部346、操作部347を備える。携帯電話機34は、図示してはいないが、CPU、メモリ、外部記憶装置、入出力インタフェース、通信インタフェース及びこれらを結ぶバスを備えるハードウェアを備え、例えばCPUがメモリや記憶装置に格納された各種プログラムを実行することにより各種機能を実現する。   FIG. 7 is a diagram illustrating the configuration of the mobile phone according to the second embodiment. The mobile phone 34 includes a communication unit 341, a control unit 342, a storage unit 343, a voice input / output unit 344, an imaging unit 345, a display unit 346, and an operation unit 347. Although not shown, the mobile phone 34 includes a CPU, a memory, an external storage device, an input / output interface, a communication interface, and hardware including a bus connecting them. For example, the CPU is stored in the memory or the storage device. Various functions are realized by executing the program.

通信部341は、通信ネットワークN2を介して携帯電話機34に対して情報を入出力するように通信を制御するものであり、例えば、SIP等のモジュールを備える。制御部342は、携帯電話機34全体の動作を制御するものであり、テレビ電話に関する処理を実行するTV電話処理部などを備える。また、記憶部343は、各種プログラムやデータを適宜記憶するものであり、ここでは、携帯電話機34の携帯電話番号が記憶される。音声入出力部344は、携帯電話機34に対して音声の入出力を制御し、例えばスピーカ、マイク、イヤホンなどが該当する。撮像部345は、例えばCCD(Charge Coupled Devices)イメージセンサにより被写体を撮像し、その撮像結果(画像信号)に対してA/D変換処理や画像処理等を適宜施すことにより撮像画像を生成する。表示部346は、撮像画像等を表示するためのものであり、例えば液晶ディスプレイが該当する。操作部347は、ユーザの操作を受け付けるものであり、例えば、ボタンや操作キー等が該当する。なお、携帯電話機34が備える構成や機能はこれらに限られず、設定に応じて機能の追加や変更が可能である。   The communication unit 341 controls communication so as to input / output information to / from the mobile phone 34 via the communication network N2, and includes a module such as SIP. The control unit 342 controls the operation of the mobile phone 34 as a whole, and includes a TV phone processing unit that executes processing related to the video phone. The storage unit 343 stores various programs and data as appropriate. Here, the mobile phone number of the mobile phone 34 is stored. The voice input / output unit 344 controls voice input / output with respect to the mobile phone 34, and corresponds to, for example, a speaker, a microphone, and an earphone. The imaging unit 345 captures an image of a subject using, for example, a CCD (Charge Coupled Devices) image sensor, and generates a captured image by appropriately performing A / D conversion processing, image processing, or the like on the imaging result (image signal). The display unit 346 is for displaying a captured image or the like, and corresponds to, for example, a liquid crystal display. The operation unit 347 receives a user operation, and corresponds to, for example, a button or an operation key. Note that the configuration and functions of the mobile phone 34 are not limited to these, and functions can be added or changed according to settings.

次に、以上のように構成される第2の実施形態に係るネットワークカメラシステムの処理の流れについて詳細に説明する。図8は、第2の実施形態に係るNAT越え処理の流れを示すフローチャートである。後述するフローチャートにおける各工程(符号が付与されていない部分的な工程を含む)は処理内容に矛盾を生じない範囲で任意に順番を変更して又は並列に実行することができる。   Next, the process flow of the network camera system according to the second embodiment configured as described above will be described in detail. FIG. 8 is a flowchart showing a flow of NAT traversal processing according to the second embodiment. Each step (including a partial step to which no reference numeral is assigned) in the flowchart described below can be executed in any order or in parallel within a range that does not contradict the processing contents.

ネットワークシステムによるサービスの利用に先立ち、ユーザは、携帯電話機34からゲートウェイサーバ11と中継サーバ21にそれぞれアクセスし、ユーザ登録情報を送信する(S200)。ゲートウェイサーバ11宛てのユーザ登録情報には、ユーザの携帯電話機34を一意的に識別するための識別情報(例えば、携帯電話機34のSIMカードに登録されている端末ID又は電話番号)と、ユーザのネットワークカメラ51を一意的に識別するための識別情報(例えば、カメラID)とが含まれる。中継サーバ21宛てのユーザ登録情報には、少なくともカメラIDが含まれる。   Prior to using the service by the network system, the user accesses the gateway server 11 and the relay server 21 from the mobile phone 34, and transmits user registration information (S200). The user registration information addressed to the gateway server 11 includes identification information for uniquely identifying the user's mobile phone 34 (for example, a terminal ID or a telephone number registered in the SIM card of the mobile phone 34), Identification information (for example, camera ID) for uniquely identifying the network camera 51 is included. The user registration information addressed to the relay server 21 includes at least a camera ID.

ゲートウェイサーバ11と中継サーバ21は、ユーザの登録情報を受信すると、受信したユーザ登録情報をそれぞれ所定の記憶領域に格納する(S202、S204)。   Upon receiving the user registration information, the gateway server 11 and the relay server 21 store the received user registration information in predetermined storage areas (S202 and S204).

一方、ネットワークカメラ51の制御部512は、電源がONになると、NAT越えモジュールを実行し、ネットワークカメラ51に関する情報(カメラ情報)をルータ9経由で中継サーバ2に定期的に送信する(S206)。カメラ情報は、カメラIDと、ネットワークカメラ51に付与されたプライベートIPアドレス及びポートNo(ポート番号)を含む。カメラ情報を送信するタイミングは、設計に応じて適宜設定することが可能である。なお、図8中のS206、S208、S210に係る処理工程を囲む点線は、S206、S208、S210に係る処理工程が、既定条件(例えば、電源がOFFになるまで)を満たすまで繰り返し実行されることを示している。   On the other hand, when the power is turned on, the control unit 512 of the network camera 51 executes the NAT traversal module and periodically transmits information (camera information) about the network camera 51 to the relay server 2 via the router 9 (S206). . The camera information includes a camera ID, a private IP address assigned to the network camera 51, and a port number (port number). The timing for transmitting the camera information can be appropriately set according to the design. Note that the dotted lines surrounding the processing steps related to S206, S208, and S210 in FIG. 8 are repeatedly executed until the processing steps related to S206, S208, and S210 satisfy a predetermined condition (for example, until the power is turned off). It is shown that.

ネットワークカメラ51から送出されたカメラ情報は、ルータ9によってIPアドレスとポート番号の変換が行われた後、中継サーバ21に送られる(S208)。   The camera information sent from the network camera 51 is sent to the relay server 21 after the IP address and port number are converted by the router 9 (S208).

中継サーバ21は、カメラ情報を取得すると、カメラ情報に含まれるカメラID、グローバルIPアドレス及びポートNoを対応付けて所定の記憶領域に格納する(S210)。カメラ情報が既に格納されている場合は、中継サーバ21は、カメラIDに基づいて該当するデータを特定し、特定されたデータを登録更新する。これにより、中継サーバ21には、ネットワークカメラ51の最新のIPアドレス及びポートNoが保持されることになる。   When acquiring the camera information, the relay server 21 associates the camera ID, the global IP address, and the port number included in the camera information and stores them in a predetermined storage area (S210). If the camera information has already been stored, the relay server 21 identifies the corresponding data based on the camera ID, and registers and updates the identified data. As a result, the latest IP address and port number of the network camera 51 are held in the relay server 21.

一方、ユーザは、ネットワークカメラ51の撮像画像を閲覧したい場合、携帯電話機34に対してテレビ電話発信のための操作をすることにより、ゲートウェイサーバ11に向けてテレビ電話を発信し(S212)、ゲートウェイサーバ11は、携帯電話機34からのテレビ電話を着信する(S214)。   On the other hand, when the user wants to view the captured image of the network camera 51, the user makes a videophone call to the gateway server 11 by performing an operation for making a videophone call to the mobile phone 34 (S212). The server 11 receives a videophone call from the mobile phone 34 (S214).

ゲートウェイサーバ11は、テレビ電話を着信すると、例えば、発信者番号通知機能などに基づいてテレビ電話の発信元である携帯電話機34の携帯電話番号を特定し(S216)、特定した携帯電話番号をキーにユーザ登録情報を参照することにより、携帯電話番号に対応するカメラIDを特定する(S216)。   When receiving the videophone call, the gateway server 11 specifies the mobile phone number of the mobile phone 34 that is the originator of the videophone based on the caller ID notification function, for example (S216), and the specified mobile phone number is keyed. The camera ID corresponding to the mobile phone number is specified by referring to the user registration information (S216).

ゲートウェイサーバ11は、特定したカメラIDに基づいて、テレビ電話の着信先すなわちアクセス先(ネットワークカメラ)を、中継サーバ21に問い合わせる(S218)。   Based on the identified camera ID, the gateway server 11 inquires the relay server 21 about the destination of the videophone call, that is, the access destination (network camera) (S218).

中継サーバ21は、受けつけた問い合わせに含まれるカメラIDをキーにカメラ情報を参照することにより、カメラIDに対応するアクセス先情報(グローバルIPアドレスとポートNo)を特定する(S220)。   The relay server 21 specifies access destination information (global IP address and port No.) corresponding to the camera ID by referring to the camera information using the camera ID included in the received inquiry as a key (S220).

中継サーバ21は、特定したアクセス先情報(グローバルIPアドレスとポートNo)を、ゲートウェイサーバ11に送り返す(S222)。   The relay server 21 sends the identified access destination information (global IP address and port number) back to the gateway server 11 (S222).

ゲートウェイサーバ11は、携帯電話34の発信情報と、受信したアクセス先情報(グローバルIPアドレスとポートNo)とに基づいて、をルータ9経由でネットワークカメラ51に送信する(S226)。   The gateway server 11 transmits the transmission information of the mobile phone 34 and the received access destination information (global IP address and port number) to the network camera 51 via the router 9 (S226).

ルータ9は、テレビ電話の要求に含まれる送信先アドレスを所定のマッピングテーブルに従ってアドレス変換し(グローバルIPアドレス→プライベートIPアドレス、ポートNo→他のポートNo)LAN4に送出する(S228)。   The router 9 converts the destination address included in the videophone request according to a predetermined mapping table (global IP address → private IP address, port No → other port No) and sends it to the LAN 4 (S228).

ネットワークカメラ51は、テレビ電話の要求を受信すると(S230)、テレビ電話処理を開始し、動画音声データ(撮像画像)の送信を開始する(S232)。   When the network camera 51 receives a videophone request (S230), the network camera 51 starts a videophone process and starts transmitting moving image audio data (captured image) (S232).

ルータ9は、動画音声データに含まれる送信元アドレスを、所定のマッピングテーブルに従ってアドレス変換し(プライベートIPアドレス→グローバルIPアドレス、他のポートNo→ポートNo)、通信ネットワークNに送出する(S234)。   The router 9 converts the source address included in the video / audio data according to a predetermined mapping table (private IP address → global IP address, other port No → port No), and sends it to the communication network N (S234). .

動画音声データは、ゲートウェイサーバ11を経由して(S236)、携帯電話機34に送信され、携帯電話機34は、動画音声データを受信して再生する(S238)。図8中のS232、S234、S236に係る処理工程は、既定条件(例えば、テレビ電話終了指示を受け付けるまで)を満たすまで繰り返し実行される。   The video / audio data is transmitted to the mobile phone 34 via the gateway server 11 (S236), and the mobile phone 34 receives and reproduces the video / audio data (S238). The processing steps according to S232, S234, and S236 in FIG. 8 are repeatedly executed until a predetermined condition (for example, until a videophone end instruction is received) is satisfied.

ユーザが、携帯電話機34に対してテレビ電話終了のための操作を実行すると、携帯電話機34は、テレビ電話の終了指示をネットワークカメラ51に対して送信する(S240)。テレビ電話の終了指示は、ゲートウェイサーバ11を経由して(S242)、ネットワークカメラ51に対して送信される。   When the user performs an operation for terminating the videophone on the cellular phone 34, the cellular phone 34 transmits an instruction to terminate the videophone to the network camera 51 (S240). The videophone end instruction is transmitted to the network camera 51 via the gateway server 11 (S242).

ルータ9は、テレビ電話の終了指示に含まれる送信先アドレスを所定のマッピングテーブルに従ってアドレス変換し(グローバルIPアドレス→プライベートIPアドレス、ポートNo→他のポートNo)LAN4に送出する(S244)。   The router 9 converts the destination address included in the videophone end instruction according to a predetermined mapping table (global IP address → private IP address, port No → other port No) and sends it to the LAN 4 (S244).

ネットワークカメラ51は、テレビ電話の終了指示を受信すると、動画音声データの送信を中止する(S246)。   When the network camera 51 receives the videophone end instruction, the network camera 51 stops the transmission of the moving image audio data (S246).

なお、上記フローでは、ネットワークカメラ51で撮像した動画音声データを携帯電話機34が受信して再生する場合について説明したが、同時に、携帯電話機34で撮像した動画音声データを動画音声データが受信して再生するようにしてもよい。   In the above flow, the case where the mobile phone 34 receives and reproduces the moving image audio data captured by the network camera 51 has been described. At the same time, the moving image audio data received the moving image audio data captured by the mobile phone 34. You may make it reproduce | regenerate.

以上、第2の実施形態によれば、第1の実施形態と同様の効果に加えて、ユーザは、テレビ電話機能という自分が所望する通信形態を利用して、ネットワークカメラの撮像画像を閲覧することができるようになる。また、テレビ電話機能を利用することで、ネットワークカメラの撮像画像をリアルタイムで閲覧することが可能になる。   As described above, according to the second embodiment, in addition to the same effects as those of the first embodiment, the user browses the captured image of the network camera using the communication mode desired by the user, such as the videophone function. Will be able to. In addition, by using the videophone function, it is possible to view the captured image of the network camera in real time.

(3)第3の実施形態
図9は、第3の実施形態に係るネットワークシステムの概略構成を示すブロック図である。第3の実施形態では、DDNSサーバを利用してネットワークカメラの撮像画像を閲覧する場合について説明する。なお、図9において、図1と同一構成については同一の符号を付し、ここでは説明を省略する。
(3) Third Embodiment FIG. 9 is a block diagram illustrating a schematic configuration of a network system according to a third embodiment. In the third embodiment, a case where a captured image of a network camera is browsed using a DDNS server will be described. In FIG. 9, the same components as those in FIG. 1 are denoted by the same reference numerals, and description thereof is omitted here.

図9に示すように、第3の実施形態に係るネットワークカメラシステムは、DDNS(Dynamic Domain Name System)サーバを利用してパーソナルコンピュータ等の端末装置から撮像画像を閲覧する点に特徴がある。撮像装置としてのネットワークカメラ52は、情報処理端末6、情報処理端末7、ハブ8及びルータ9とともにLAN4(Local Area Network)を構成する。ネットワークカメラ52、中継サーバ22及び端末装置3は、通信ネットワークN(例えば、インターネットが該当するが、これに限られない。)を介して、相互に通信可能に構成されている。DDNSサーバ12は、動的に割り当てられるIPアドレスとそのホスト名の対応を動的に登録し管理する機能を有する。また、図9では、中継サーバ21とDDNSサーバ12とを別々に記載したが、これらの機能を単一のコンピュータより構成されるようにしてもよい。   As shown in FIG. 9, the network camera system according to the third embodiment is characterized in that a captured image is browsed from a terminal device such as a personal computer using a DDNS (Dynamic Domain Name System) server. The network camera 52 as an imaging device constitutes a LAN 4 (Local Area Network) together with the information processing terminal 6, the information processing terminal 7, the hub 8, and the router 9. The network camera 52, the relay server 22, and the terminal device 3 are configured to be able to communicate with each other via a communication network N (for example, the Internet is applicable, but is not limited thereto). The DDNS server 12 has a function of dynamically registering and managing the correspondence between the dynamically assigned IP address and its host name. In FIG. 9, the relay server 21 and the DDNS server 12 are described separately, but these functions may be configured by a single computer.

図10は、第3の実施形態に係るネットワークカメラの機能構成を表すブロック図である。ネットワークカメラ52は、通信部521、制御部522、記憶部523、音声入出力部524、撮像部525、表示部526、操作部527を備える。図10に示すネットワークカメラは、その制御部がテレビ電話処理部の代わりにDDNS処理部を備える点で、図4に示すネットワークカメラの制御部と相違しているが、その他の構成は共通する。DDNS処理部は、後述するように、定期的にドメイン名とIPアドレスをDDNSサーバ12に送信する。   FIG. 10 is a block diagram illustrating a functional configuration of a network camera according to the third embodiment. The network camera 52 includes a communication unit 521, a control unit 522, a storage unit 523, a voice input / output unit 524, an imaging unit 525, a display unit 526, and an operation unit 527. The network camera shown in FIG. 10 is different from the control unit of the network camera shown in FIG. 4 in that the control unit includes a DDNS processing unit instead of the videophone processing unit, but other configurations are common. As will be described later, the DDNS processing unit periodically transmits the domain name and the IP address to the DDNS server 12.

次に、以上のように構成される第3の実施形態に係るネットワークカメラシステムの処理の流れについて詳細に説明する。図11は、第3の実施形態に係るNAT越え処理の流れを示すフローチャートである。後述するフローチャートにおける各工程(符号が付与されていない部分的な工程を含む)は処理内容に矛盾を生じない範囲で任意に順番を変更して又は並列に実行することができる。   Next, the process flow of the network camera system according to the third embodiment configured as described above will be described in detail. FIG. 11 is a flowchart showing a flow of NAT traversal processing according to the third embodiment. Each step (including a partial step to which no reference numeral is assigned) in the flowchart described below can be executed in any order or in parallel within a range that does not contradict the processing contents.

ネットワークカメラ52の制御部522は、電源がONになると、NAT越えモジュールを実行し、ネットワークカメラ52に関する情報(カメラ情報)をルータ9経由で中継サーバ22に定期的に送信する(S300)。カメラ情報は、カメラIDと、ネットワークカメラ51に付与されたプライベートIPアドレス及びポートNoを含む。カメラ情報を送信するタイミングは、設計に応じて適宜設定することが可能である。なお、図8中のS300〜S310に係る処理工程を囲む点線は、S300〜S310に係る処理工程が、既定条件(例えば、電源がOFFになるまで)を満たすまで繰り返し実行されることを示している。   When the power is turned on, the control unit 522 of the network camera 52 executes the NAT traversal module and periodically transmits information (camera information) about the network camera 52 to the relay server 22 via the router 9 (S300). The camera information includes a camera ID, a private IP address assigned to the network camera 51, and a port number. The timing for transmitting the camera information can be appropriately set according to the design. In addition, the dotted line surrounding the process steps according to S300 to S310 in FIG. 8 indicates that the process steps according to S300 to S310 are repeatedly executed until a predetermined condition (for example, until the power is turned off) is satisfied. Yes.

ネットワークカメラ52から送出されたカメラ情報は、ルータ9によってIPアドレスとポート番号の変換が行われた後、中継サーバ22に送られる(S302)。   The camera information sent from the network camera 52 is sent to the relay server 22 after the IP address and port number are converted by the router 9 (S302).

中継サーバ22は、カメラ情報を取得すると、カメラ情報に含まれるカメラID、グローバルIPアドレス及びポートNoを対応付けて所定の記憶領域に格納する(S304)。カメラ情報が既に格納されている場合は、中継サーバ22は、カメラIDに基づいて該当するデータを特定し、特定されたデータを登録更新する。これにより、中継サーバ22には、ネットワークカメラ52の最新のIPアドレスやポートNoが保持されることになる。   When the relay server 22 acquires the camera information, the relay server 22 associates the camera ID, the global IP address, and the port number included in the camera information and stores them in a predetermined storage area (S304). If the camera information has already been stored, the relay server 22 identifies the corresponding data based on the camera ID, and registers and updates the identified data. As a result, the latest IP address and port number of the network camera 52 are held in the relay server 22.

同様に、ネットワークカメラ52の制御部522は、DDNSモジュールを実行し、ネットワークカメラ52のドメインに関する情報(ドメイン情報)をルータ9経由で中継サーバ22に定期的に送信する(S306)。ドメイン情報は、ドメイン名とネットワークカメラ51に付与されたプライベートIPアドレスとを含む。ドメイン情報を送信するタイミングは、設計に応じて適宜設定することが可能である。   Similarly, the control unit 522 of the network camera 52 executes the DDNS module, and periodically transmits information (domain information) about the domain of the network camera 52 to the relay server 22 via the router 9 (S306). The domain information includes a domain name and a private IP address assigned to the network camera 51. The timing for transmitting the domain information can be appropriately set according to the design.

ネットワークカメラ52から送出されたドメイン情報は、ルータ9によってIPアドレスとポート番号の変換が行われた後、DDNSサーバ12に送られる(S308)。   The domain information sent from the network camera 52 is converted into an IP address and a port number by the router 9 and then sent to the DDNS server 12 (S308).

DDNSサーバ12は、ドメイン情報を取得すると、ドメイン名とグローバルIPアドレスを対応付けて所定の記憶領域に格納する(S310)。ドメイン名が既に格納されている場合は、ドメイン名に基づいて該当するデータを特定して登録更新する。これにより、DDNSサーバ12には、ネットワークカメラ52の最新のIPアドレスとドメイン名の対応付け情報が保持されることになる。   When acquiring the domain information, the DDNS server 12 associates the domain name with the global IP address and stores them in a predetermined storage area (S310). If the domain name is already stored, the relevant data is identified and updated based on the domain name. As a result, the DDNS server 12 holds the latest IP address and domain name association information of the network camera 52.

一方、ユーザは、端末装置3からドメイン名を入力して閲覧要求を送信し(S311)、DDNSサーバ12は、閲覧要求を受信する(S312)。   On the other hand, the user inputs a domain name from the terminal device 3 and transmits a browsing request (S311), and the DDNS server 12 receives the browsing request (S312).

DDNSサーバ12は、閲覧要求に含まれるドメイン名に対応するグローバルIPアドレスを、所定の記憶領域から特定し(S314)、特定したグローバルIPアドレスに基づいて閲覧要求を転送する(S316)。   The DDNS server 12 specifies a global IP address corresponding to the domain name included in the browsing request from a predetermined storage area (S314), and transfers the browsing request based on the specified global IP address (S316).

中継サーバ22は、閲覧要求に含まれるグローバルIPアドレスをキーにカメラ情報を参照することにより、グローバルIPアドレスに対応するカメラIDとポートNoを特定する(S318)。   The relay server 22 identifies the camera ID and the port number corresponding to the global IP address by referring to the camera information using the global IP address included in the browsing request as a key (S318).

中継サーバ22は、特定したアクセス先情報(グローバルIPアドレスとポートNo)を、端末装置3に送り返す(S320)。   The relay server 22 sends the identified access destination information (global IP address and port number) back to the terminal device 3 (S320).

端末装置3は、取得したアクセス先情報(グローバルIPアドレスとポートNo)(S322)に基づいて、撮像データの取得要求を送信する(S324)。   The terminal device 3 transmits an acquisition request for imaging data based on the acquired access destination information (global IP address and port number) (S322) (S324).

撮像データの取得要求は、ルータ9を経由してアドレス変換が行われた後(S326)、ネットワークカメラ52に送信される(S328)。   The imaging data acquisition request is transmitted to the network camera 52 after address conversion is performed via the router 9 (S326) (S328).

ネットワークカメラ52は、撮像データの取得要求を受信すると(S328)、撮像処理を開始し、撮像した動画音声データ(撮像画像)の送信を開始する(S330)。   Upon receiving the imaging data acquisition request (S328), the network camera 52 starts imaging processing and starts transmitting captured moving image audio data (captured image) (S330).

送信された撮像した動画音声データ(撮像画像)は、ルータ9を経由してアドレス変換が行われた後(S332)、端末装置3に送信される。   The transmitted captured moving image audio data (captured image) is address-converted via the router 9 (S332), and then transmitted to the terminal device 3.

端末装置3は、動画音声データ(撮像画像)を受信して、これを再生する(S334)。図11中のS330、S332、S334に係る処理工程は、既定条件(例えば、取得終了指示を受け付けるまで)を満たすまで繰り返し実行される。   The terminal device 3 receives the moving image audio data (captured image) and reproduces it (S334). The processing steps according to S330, S332, and S334 in FIG. 11 are repeatedly executed until a predetermined condition (for example, until an acquisition end instruction is received) is satisfied.

ユーザが、端末装置3に対して取得終了指示の操作を実行すると、端末装置3は、撮像データの取得終了指示をネットワークカメラ52に対して送信する(S336)。この終了指示は、ルータ9を経由してアドレス変換され(S338)、ネットワークカメラ52によって受信される(S340)。   When the user performs an operation to give an acquisition end instruction to the terminal device 3, the terminal device 3 transmits an imaging data acquisition end instruction to the network camera 52 (S336). This end instruction is address-converted via the router 9 (S338) and received by the network camera 52 (S340).

ネットワークカメラ52は、終了指示を受信すると、撮像を中止して、動画音声データの送信を中止する(S340)。   When receiving the end instruction, the network camera 52 stops the imaging and stops the transmission of the moving image / sound data (S340).

以上、第3の実施形態によれば、第1の実施形態と同様の効果に加えて、ユーザは、パーソナルコンピュータ等の端末装置を利用して、ネットワークカメラが撮像した動画像をリアルタイムで閲覧することができるようになる。   As described above, according to the third embodiment, in addition to the same effects as those of the first embodiment, the user browses a moving image captured by the network camera in real time using a terminal device such as a personal computer. Will be able to.

(4)その他の実施形態
上記第2の実施形態では、ネットワークカメラ51及びルータ9からIPアドレスを中継サーバ21へ定期的に送信し、中継サーバ21は、この受信したIPアドレスを用いてネットワークカメラ51と携帯電話34との間のTV電話接続を確立している。しかし、接続を確立している最中にルータ9がリセット等された場合には、グローバルIPアドレスが変更してしまう可能性がある。そこで、ネットワークカメラ51に、ルータ9の動作を常時監視し、ルータ9の異常を自動的に検知する機能を有する死活監視手段を設けることが望ましい。この死活監視手段は、例えば、TV電話接続を確立している最中にルータ9の異常を検知した場合には、ルータ9が回復して新たにグローバルIPアドレスが割り当てられたタイミングで、中継サーバ21にカメラ情報(カメラID、プライベートIPアドレス、ポートNo)を送信する。ルータ9は、プライベートIPアドレスを最新のグローバルIPアドレスに変換して中継サーバ21へ送信する。中継サーバ21は、最新のグローバルIPアドレスを受信すると、これによって該当する登録済みのグローバルIPアドレスを更新する。これにより、接続を確立している最中にルータ9がリセット等されることによりTV電話接続が中断された場合でも、新たなグローバルIPアドレスに基づいてTV電話接続を再開することが可能になる。なお、この死活監視手段が備えるルータの異常を自動的に検知する機能は、従来の技術を用いて実現することができる。また、死活監視手段は、第3の実施形態におけるネットワークカメラ52にも適用することができる。
(4) Other Embodiments In the second embodiment, the network camera 51 and the router 9 periodically transmit an IP address to the relay server 21, and the relay server 21 uses the received IP address to perform the network camera. A videophone connection between 51 and the mobile phone 34 is established. However, if the router 9 is reset while establishing a connection, the global IP address may be changed. Therefore, it is desirable to provide the network camera 51 with life and death monitoring means having a function of constantly monitoring the operation of the router 9 and automatically detecting an abnormality of the router 9. For example, when the abnormality of the router 9 is detected during establishment of the TV phone connection, the alive monitoring means is configured to relay the relay server at a timing when the router 9 recovers and a new global IP address is assigned. 21 transmits camera information (camera ID, private IP address, port No.). The router 9 converts the private IP address into the latest global IP address and transmits it to the relay server 21. When receiving the latest global IP address, the relay server 21 updates the corresponding registered global IP address. As a result, even when the TV phone connection is interrupted by resetting the router 9 while the connection is established, the TV phone connection can be resumed based on the new global IP address. . It should be noted that the function of automatically detecting an abnormality of the router included in the alive monitoring means can be realized by using a conventional technique. The life and death monitoring means can also be applied to the network camera 52 in the third embodiment.

1…画像配信システム、2…中継サーバ、3…端末装置、4…LAN、5…撮像装置、6…情報処理端末、7…情報処理端末、8…ハブ、9…ルータ、10…録画・課金サーバ、N…通信ネットワーク DESCRIPTION OF SYMBOLS 1 ... Image delivery system, 2 ... Relay server, 3 ... Terminal device, 4 ... LAN, 5 ... Imaging device, 6 ... Information processing terminal, 7 ... Information processing terminal, 8 ... Hub, 9 ... Router, 10 ... Recording / billing Server, N ... Communication network

Claims (4)

ローカルエリアネットワークに属する撮像装置と、当該ローカルエリアネットワーク以外のネットワークに属する端末装置と、それぞれ通信可能に構成されたサーバであって、 前記撮像装置から定期的に送信される当該撮像装置に対する接続要求の有無の問い合わせを受信する手段と、
前記撮像装置からの問い合わせを受信した場合に、前記端末装置から前記撮像装置に対する接続要求を受信しているか否かを判定し、当該判定結果が是であることを条件に、前記問い合わせに基づいて確立した前記撮像装置との間の接続を維持する手段と、
前記維持された接続を利用して前記撮像装置から送信される前記撮像装置が撮像した撮像データを受信する手段と、
前記受信した前記撮影データを前記端末装置へ送信する手段と、
を備えることを特徴とするサーバ。
A server configured to be able to communicate with an imaging device belonging to a local area network and a terminal device belonging to a network other than the local area network, the connection request to the imaging device periodically transmitted from the imaging device A means for receiving inquiries about the presence of
When an inquiry from the imaging device is received, it is determined whether or not a connection request for the imaging device is received from the terminal device, and on the condition that the determination result is correct, based on the inquiry Means for maintaining a connection with the established imaging device;
Means for receiving imaging data imaged by the imaging device transmitted from the imaging device using the maintained connection;
Means for transmitting the received photographing data to the terminal device;
A server comprising:
ローカルエリアネットワークに属する第1の端末装置と、当該ローカルエリアネットワ
ーク以外のネットワークに属する第2の端末装置と、それぞれ通信可能に構成されたサーバであって、
前記第1の端末装置から定期的に送信される当該第1の端末装置に対する接続要求の有無の問い合わせを受信する手段と、
前記第1の端末装置からの問い合わせを受信した場合に、前記第2の端末装置から前記第1の端末装置に対する接続要求を受信しているか否かを判定し、当該判定結果が是であることを条件に、前記問い合わせに基づいて確立した前記第1の端末装置との間の接続を維持する手段と、
前記維持された接続を利用して前記第1の端末装置から送信されるデータを受信する手段と、
前記受信した前記第1の端末装置から送信されるデータを前記第2の端末装置へ送信する手段と、
を備えることを特徴とするサーバ。
A server configured to be able to communicate with a first terminal device belonging to a local area network and a second terminal device belonging to a network other than the local area network,
Means for receiving an inquiry as to whether or not there is a connection request for the first terminal device periodically transmitted from the first terminal device;
When an inquiry from the first terminal device is received, it is determined whether a connection request for the first terminal device is received from the second terminal device, and the determination result is correct Means for maintaining a connection with the first terminal device established on the basis of the inquiry,
Means for receiving data transmitted from the first terminal device using the maintained connection;
Means for transmitting the data transmitted from the received first terminal device to the second terminal device;
A server comprising:
ローカルエリアネットワークに属する撮像装置が撮像した撮像データを、当該ローカルエリアネットワーク以外のネットワークに属する端末装置に配信する画像配信方法であって、  An image distribution method for distributing imaging data captured by an imaging apparatus belonging to a local area network to a terminal apparatus belonging to a network other than the local area network,
前記撮像装置及び前記端末装置のそれぞれと通信可能に構成されたサーバが、  A server configured to be able to communicate with each of the imaging device and the terminal device,
前記撮像装置から定期的に送信される当該撮像装置に対する接続要求の有無の問い合わせを受信するステップと、  Receiving an inquiry as to whether or not there is a connection request for the imaging device periodically transmitted from the imaging device;
前記撮像装置からの問い合わせを受信した場合に、前記端末装置から前記撮像装置に対する接続要求を受信しているか否かを判定し、当該判定結果が是であることを条件に、前記問い合わせに基づいて確立した前記撮像装置との間の接続を維持するステップと、  When an inquiry from the imaging device is received, it is determined whether or not a connection request for the imaging device is received from the terminal device, and on the condition that the determination result is correct, based on the inquiry Maintaining a connection with the established imaging device;
前記維持された接続を利用して前記撮像装置から送信される前記撮像装置が撮像した撮像データを受信するステップと、  Receiving imaging data captured by the imaging device transmitted from the imaging device using the maintained connection;
前記受信した前記撮影データを前記端末装置へ送信するステップと、  Transmitting the received photographing data to the terminal device;
を実行する、ことを特徴とする画像配信方法。The image delivery method characterized by performing.
ローカルエリアネットワークに属する第1の端末装置が送信するデータを、当該ローカルエリアネットワーク以外のネットワークに属する第2の端末装置に送信するデータ送信方法であって、  A data transmission method for transmitting data transmitted by a first terminal device belonging to a local area network to a second terminal device belonging to a network other than the local area network,
前記第1の端末装置及び前記第2の端末装置のそれぞれと通信可能に構成されたサーバが、  A server configured to be able to communicate with each of the first terminal device and the second terminal device,
前記第1の端末装置から定期的に送信される当該第1の端末装置に対する接続要求の有無の問い合わせを受信するステップと、  Receiving an inquiry as to whether or not there is a connection request for the first terminal device periodically transmitted from the first terminal device;
前記第1の端末装置からの問い合わせを受信した場合に、前記第2の端末装置から前記第1の端末装置に対する接続要求を受信しているか否かを判定し、当該判定結果が是であることを条件に、前記問い合わせに基づいて確立した前記第1の端末装置との間の接続を維持するステップと、  When an inquiry from the first terminal device is received, it is determined whether a connection request for the first terminal device is received from the second terminal device, and the determination result is correct Maintaining a connection with the first terminal device established on the basis of the inquiry,
前記維持された接続を利用して前記第1の端末装置から送信されるデータを受信するステップと、  Receiving data transmitted from the first terminal device using the maintained connection;
前記受信した前記第1の端末装置から送信されるデータを前記第2の端末装置へ送信するステップと、  Transmitting the received data transmitted from the first terminal device to the second terminal device;
を実行する、ことを特徴とするデータ送信方法。The data transmission method characterized by performing.
JP2009173418A 2008-07-28 2009-07-24 Network camera system Active JP5025694B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009173418A JP5025694B2 (en) 2008-07-28 2009-07-24 Network camera system

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2008193945 2008-07-28
JP2008193945 2008-07-28
JP2009173418A JP5025694B2 (en) 2008-07-28 2009-07-24 Network camera system

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2012027358A Division JP2012114945A (en) 2008-07-28 2012-02-10 Network camera system

Publications (2)

Publication Number Publication Date
JP2010057165A JP2010057165A (en) 2010-03-11
JP5025694B2 true JP5025694B2 (en) 2012-09-12

Family

ID=42072539

Family Applications (4)

Application Number Title Priority Date Filing Date
JP2009173418A Active JP5025694B2 (en) 2008-07-28 2009-07-24 Network camera system
JP2012027358A Pending JP2012114945A (en) 2008-07-28 2012-02-10 Network camera system
JP2012270230A Active JP5566443B2 (en) 2008-07-28 2012-12-11 Network camera system
JP2013265776A Active JP5686884B2 (en) 2008-07-28 2013-12-24 Network camera system

Family Applications After (3)

Application Number Title Priority Date Filing Date
JP2012027358A Pending JP2012114945A (en) 2008-07-28 2012-02-10 Network camera system
JP2012270230A Active JP5566443B2 (en) 2008-07-28 2012-12-11 Network camera system
JP2013265776A Active JP5686884B2 (en) 2008-07-28 2013-12-24 Network camera system

Country Status (1)

Country Link
JP (4) JP5025694B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5025694B2 (en) * 2008-07-28 2012-09-12 株式会社デジックス Network camera system
KR101299552B1 (en) * 2010-10-19 2013-08-23 주식회사 케이티 Method and apparatus for transmitting video data filmed during movement and remote monitoring system
US9503695B2 (en) * 2011-11-30 2016-11-22 Mitsubishi Electric Corporation Network system having switch transferring data
JP5895692B2 (en) 2012-05-08 2016-03-30 富士通株式会社 Wireless communication program, portable device, and wireless communication system
JP2015122671A (en) * 2013-12-24 2015-07-02 キヤノン株式会社 Data supplying device, data receiving device, and remote communication system
JP6515688B2 (en) * 2015-06-05 2019-05-22 三菱電機株式会社 Gateway device
JP6881028B2 (en) * 2017-05-24 2021-06-02 株式会社リコー Image forming device, system and control method
CN111385159B (en) * 2018-12-28 2022-02-25 广州市百果园信息技术有限公司 Server side pressure testing method and device, storage medium and computer equipment

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3543767B2 (en) * 2001-01-16 2004-07-21 村田機械株式会社 Facsimile system
JP3964266B2 (en) * 2001-09-21 2007-08-22 株式会社いいじゃんネット Connection support server, terminal, connection support system, connection support method, communication program, and connection support program
JP3925237B2 (en) * 2002-02-25 2007-06-06 松下電器産業株式会社 Remote control system and its processing side distributed control system and remote control method
JP3876737B2 (en) * 2002-03-18 2007-02-07 松下電器産業株式会社 DDNS server, DDNS client terminal, and DDNS system
US20040022258A1 (en) * 2002-07-30 2004-02-05 Docomo Communications Laboratories Usa, Inc. System for providing access control platform service for private networks
JP3445986B1 (en) * 2002-09-27 2003-09-16 松下電器産業株式会社 Servers, devices and communication systems connected to the Internet
JP4152255B2 (en) * 2003-05-21 2008-09-17 株式会社神戸製鋼所 Communication system, communication terminal, management server
JP2005080255A (en) * 2003-09-04 2005-03-24 Hitachi Advanced Digital Inc Communication method and communication system using internet protocol
JP4926381B2 (en) * 2004-04-14 2012-05-09 パナソニック株式会社 Management server and communication confirmation method
JP2005210583A (en) * 2004-01-26 2005-08-04 Canon Inc Access control system
JP4377786B2 (en) * 2004-09-22 2009-12-02 パナソニック株式会社 ELECTRIC DEVICE, SERVER DEVICE, PORTABLE TERMINAL, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND PROGRAM
JP4742981B2 (en) * 2006-05-19 2011-08-10 株式会社日立製作所 Home gateway device
JP5444639B2 (en) * 2007-11-20 2014-03-19 パナソニック株式会社 Server device and distributed server system
JP5025694B2 (en) * 2008-07-28 2012-09-12 株式会社デジックス Network camera system

Also Published As

Publication number Publication date
JP2013081231A (en) 2013-05-02
JP5566443B2 (en) 2014-08-06
JP2014057373A (en) 2014-03-27
JP5686884B2 (en) 2015-03-18
JP2012114945A (en) 2012-06-14
JP2010057165A (en) 2010-03-11

Similar Documents

Publication Publication Date Title
JP5686884B2 (en) Network camera system
US8250238B2 (en) Network device, address change notification method, and address change notification program
US7733851B2 (en) Name service system and method thereof
US20050021603A1 (en) Server
US9374556B2 (en) Apparatus, system, and method of controlling output of content data, and recording medium
EA200701002A1 (en) MONITORING SYSTEMS
US20150148015A1 (en) Apparatus, system, and method of managing counterpart terminal information, and recording medium
JP2006081142A (en) Network camera, ddns server, and video distribution system
US20160036871A1 (en) Information transmission system, communication terminal, communication system, and information transmission method
JP4779328B2 (en) Image distribution system
US20160381094A1 (en) Communication terminal, communication system, communication control method, and recording medium
US9602768B2 (en) Apparatus, system, and method of managing terminals, and recording medium
JP5375684B2 (en) Image delivery method and proxy server
JP2018174407A (en) Communication control device, communication control method, and program
KR20020082655A (en) Service method and system for picture information of digital picture frame using wireless communication network
JP2005092265A (en) Data distribution system, server system, receiving terminal, data distribution method used for same and its program
JP2017034374A (en) Transmission management system, transmission system, information processing apparatus, transmission management method, and program
JP5423099B2 (en) Telephone system and doorphone remote access control method
JP2004254011A (en) Home network system
JP5018644B2 (en) IP telephone network system and IP telephone identification information registration method
JP6645608B1 (en) Telephone terminal, extension telephone system, computer readable program, and method of notifying incoming call from door phone with camera
JP4588480B2 (en) Call data utilization system, call recording device, and program
KR100940447B1 (en) System and method offering free image communication service for interconnectiong between systems based on dynamic IP address
JP2006094063A (en) Data communication method, server, and portable terminal
JP2020170965A (en) Camera and communication method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100805

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111212

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120210

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120619

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150629

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5025694

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250