JP2019046448A - Imaging device, client device, method, and program - Google Patents
Imaging device, client device, method, and program Download PDFInfo
- Publication number
- JP2019046448A JP2019046448A JP2018093981A JP2018093981A JP2019046448A JP 2019046448 A JP2019046448 A JP 2019046448A JP 2018093981 A JP2018093981 A JP 2018093981A JP 2018093981 A JP2018093981 A JP 2018093981A JP 2019046448 A JP2019046448 A JP 2019046448A
- Authority
- JP
- Japan
- Prior art keywords
- setting
- imaging device
- information
- network
- network interfaces
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
Abstract
【課題】複数のネットワークインタフェースを有する装置におけるネットワーク設定を適切に行うこと。
【解決手段】ネットワークインタフェースを用いて他の装置と通信することができる撮像装置は、その撮像装置が有する複数のネットワークインタフェースが同一のサブネットに属するような設定がされた場合に、同一のサブネットに複数のネットワークインタフェースが属する設定が行われたことを示す情報を出力する。
【選択図】 図1An object of the present invention is to properly perform network setting in an apparatus having a plurality of network interfaces.
An imaging apparatus capable of communicating with another apparatus using a network interface is configured to be in the same subnet when setting is made such that a plurality of network interfaces included in the imaging apparatus belong to the same subnet. Outputs information indicating that settings to which multiple network interfaces belong have been made.
[Selected figure] Figure 1
Description
本発明は、複数のネットワークインタフェースを有する撮像装置とクライアント装置とのネットワーク接続の制御技術に関する。 The present invention relates to control technology for network connection between an imaging device having a plurality of network interfaces and a client device.
近年、ネットワークカメラを利用した監視システムが広く普及している。このようなネットワークカメラの中には、無線LAN機能を有するネットワークカメラが存在する。ネットワークカメラが無線LAN等の無線通信機能を有することにより、その設置に必要な配線が簡易化されうる。このようなネットワークカメラは、無線LANのネットワークのインタフェースのみならず、有線LANのネットワークインタフェースをも有しうる。しかしながら、1つの装置が2つのネットワークインタフェースを有することによって、利便性が低下してしまうことがある。特許文献1には、1つの装置が複数のネットワークインタフェースを有することによって2つの装置として認識されてしまう課題に対して、要求信号に対して1つのインタフェースのみで応答するように制御を行うようにすることが記載されている。 In recent years, surveillance systems using network cameras have become widespread. Among such network cameras, there are network cameras having a wireless LAN function. When the network camera has a wireless communication function such as a wireless LAN, the wiring necessary for the installation can be simplified. Such a network camera may have not only a wireless LAN network interface but also a wired LAN network interface. However, if one device has two network interfaces, the convenience may be degraded. In Patent Document 1, control is performed such that only one interface responds to a request signal with respect to a problem that one device is recognized as two devices by having a plurality of network interfaces. It has been described that.
一方、複数のネットワークインタフェースを有する装置において、それぞれのネットワークインタフェースを活用して並行して通信を行うことが有用である場合がある。しかしながら、ネットワーク設定によっては利便性が損なわれる場合がありうる。 On the other hand, in an apparatus having a plurality of network interfaces, it may be useful to communicate in parallel utilizing each network interface. However, the convenience may be lost depending on the network setting.
本発明は上記課題に鑑みてなされたものであり、複数のネットワークインタフェースを有する装置におけるネットワーク設定を適切に行うことを可能とする技術を提供する。 The present invention has been made in view of the above problems, and provides a technology that enables appropriate network setting in an apparatus having a plurality of network interfaces.
本発明の一態様による撮像装置は、ネットワークインタフェースを用いて他の装置と通信することができる撮像装置であって、前記撮像装置が有する複数のネットワークインタフェースが同一のサブネットに属するような設定がされた場合に、同一のサブネットに複数のネットワークインタフェースが属する設定が行われたことを示す情報を出力する出力手段を有する。 An imaging apparatus according to an aspect of the present invention is an imaging apparatus capable of communicating with another apparatus using a network interface, and a plurality of network interfaces included in the imaging apparatus are set to belong to the same subnet. In this case, an output unit is provided that outputs information indicating that the setting in which a plurality of network interfaces belong to the same subnet has been performed.
本発明によれば、複数のネットワークインタフェースを有する装置におけるネットワーク設定を適切に行うことができる。 According to the present invention, it is possible to appropriately perform network setting in an apparatus having a plurality of network interfaces.
以下、本発明の実施の形態について、図面を参照しながら説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(システム構成)
図1に、本実施形態に係るシステムの構成例を示す。本システムは、ネットワークカメラ101を用いた監視システムに関し、ネットワークカメラ101、アクセスポイント102、情報端末103、及び、ルータ104を含む。また、これらの装置において、有線ネットワーク105と無線ネットワーク106とが構成される。なお、説明を簡単にするために、各装置が1台ずつ存在する例を示しているが、複数の装置が存在しうる。例えば、広範な領域を撮像するために、複数のネットワークカメラ101が異なる位置に分散して設置されうる。
(System configuration)
FIG. 1 shows an example of the configuration of a system according to the present embodiment. The present system relates to a monitoring system using a
ネットワークカメラ101は、有線通信機能と無線通信機能とを用いてそれぞれ有線LAN及び無線LANにおいて通信可能なように、複数のネットワークインタフェース(以下、「NWインタフェース」と呼ぶ。)を有するカメラである。なお、ネットワークカメラ101は、無線通信機能として、無線LANの端末としてアクセスポイント102と接続する端末機能を有する。アクセスポイント102は、ネットワークカメラ101等の無線LANの端末機能を有する装置と無線通信を行う。情報端末103は、例えばブラウザ等のアプリケーションを用いて、ネットワークカメラ101の情報の出力や制御を行う機能を有する情報処理装置である。ユーザは、例えば、情報端末103を介して、設定画面を立ち上げて、その設定画面からネットワークカメラ101のNWインタフェースに関する設定を手動で実行することができる。なお、情報端末103は、例えばパーソナルコンピュータ(PC)等の、汎用プロセッサ、RAM及びROM等のメモリとHDD等の記憶装置、及び、例えば有線LANを通じた通信用回路を有する装置でありうる。情報端末103は、例えば、通信用回路を通じて又は可搬型の記憶媒体を通じてネットワークカメラ101から情報を取得し、ネットワークカメラ101の所定の制御のための処理を実行することができる。ルータ104は、少なくともネットワークカメラ101及びアクセスポイント102のデフォルトゲートウェイとして動作し、これらの装置のそれぞれにIPアドレスを割り振るDHCP機能を有する。有線ネットワーク105は、例えば、ネットワークカメラ101によって撮影された映像を外部の録画サーバなどへ伝送するのに用いられる、ケーブル等の有線回線が用いられる有線LAN等のネットワークである。なお、有線ネットワーク105は、例えばその一部において無線区間を含んでもよい。無線ネットワーク106は、ネットワークカメラ101とアクセスポイント102とが無線通信するための、ケーブル等の有線回線を伴わない無線LAN等のネットワークである。
The
以上のような構成において、ネットワークカメラ101は、有線LAN及び無線LANに並行して接続することができる。例えば、通信が安定している有線LANによって平時の録画映像の伝送を行い、一方で、イベント会場等に設置されたアクセスポイントを用いた無線LANによって、訪問者等の不特定のユーザがカメラの映像を一時的にモニタリングするための通信が行われうる。このように、複数のNWインタフェースを有するネットワークカメラが、その複数のNWインタフェースを同時に使用することで、柔軟に幅広い用途で、システムを運用することができる。なお、例えば、録画映像の伝送は高いセキュリティで制限される必要がある一方で、一次的なモニタリングは不特定のイベント訪問者が通信できるように公開される必要があるなど、ネットワークに要求される要件が異なりうる。このような場合では、ネットワークごとの適切な設定のために、複数のNWインタフェースのそれぞれが別のサブネットに属するように設定されうる。
In the configuration as described above, the
しかしながら、このようなネットワークカメラ101では、例えばカメラの初期設定時に問題が生じる場合がある。
However, in such a
多くのネットワークカメラは、カメラを制御するためのパネルやボタンをカメラ側に豊富に搭載しておらず、初期設定時にネットワークに接続し、ネットワークを介した外部の情報処理装置による詳細な設定が行われる必要があることが多い。初期設定方法は、例えば、ネットワークカメラと通信を行うクライアント機器に、VMS(Video Management System)と呼ばれるカメラの制御や管理を行うアプリケーションをインストールして使用する方法がある。また、ネットワークカメラのIPアドレスをブラウザ等に直接入力することによって、ネットワークカメラの設定ページにアクセスしてカメラの設定を行う方法がある。どちらの方法においても、ネットワークカメラのIPアドレスを知る構成は必要であり、一般的に市販されているVMSにはカメラ探索機能が搭載されている。このカメラ探索機能は、クライアント機器が属するネットワーク上に、ブロードキャストでリクエスト(ディスカバリコマンド)を送信し、その応答(レスポンス)を確認することで、ネットワーク上に存在するネットワークカメラを検知する。 Many network cameras do not have abundant panels or buttons for controlling the camera on the camera side, are connected to the network at the time of initial setting, and detailed settings are performed by an external information processing apparatus via the network. There is often a need to be As an initial setting method, for example, there is a method in which an application called a VMS (Video Management System) for controlling and managing a camera is installed and used on a client device that communicates with a network camera. There is also a method of accessing the setting page of the network camera and setting the camera by directly inputting the IP address of the network camera into a browser or the like. In either method, it is necessary to have a configuration to know the IP address of the network camera, and a generally commercially available VMS has a camera search function. The camera search function detects a network camera existing on the network by transmitting a request (discovery command) by broadcast on the network to which the client device belongs and confirming the response (response).
ここで、複数のNWインタフェースを有するネットワークカメラがネットワーク上に存在し、それぞれのNWインタフェースが同一サブネットに属してしまっている場合について検討する。この場合、ネットワークカメラは、クライアント機器からのリクエストに対して、それぞれのNWインタフェースによってレスポンスを返すこととなる。このため、VMS等のアプリケーションは、1つのネットワークカメラを、複数のネットワーク機器であると誤検知してしまいうる。また、ネットワークカメラは、クライアント機器からの制御コマンドを複数のNWインタフェースのそれぞれによって受け取ってしまうため、内部の処理の重複や、処理漏れが起こってしまうなど、利便性が低下してしまいうる。 Here, a case is considered where a network camera having a plurality of NW interfaces exists on the network, and the respective NW interfaces belong to the same subnet. In this case, the network camera returns a response to each request from the client device through each NW interface. Therefore, an application such as VMS may erroneously detect one network camera as a plurality of network devices. In addition, since the network camera receives control commands from the client device by each of the plurality of NW interfaces, convenience may be degraded such as duplication of internal processing or omission of processing.
このため、本実施形態では、複数のNWインタフェースを有するネットワークカメラ101が、それぞれのNWインタフェースの設定情報を監視し、同一サブネットに設定された場合に、その並行使用を回避するような処理を実行するようにする。これにより、1つのネットワークカメラの複数のNWインタフェースが同一サブネットに属する場合の利便性の低下を防ぐことができる。以下では、このような処理を実行するネットワークカメラ101の構成と、その実行する処理の例について説明する。なお、ネットワークカメラ101は一例であり、複数のNWインタフェースを有するネットワーク機器において、以下の議論を適用することが可能である。
For this reason, in the present embodiment, the
(装置構成)
図2に、ネットワークカメラ101の構成例を示す。ネットワークカメラ101は、一例において、撮像部201、画像処理部202、システム制御部203、記憶部204、有線通信処理部205、及び、無線通信処理部206を含んで構成される。なお、図2の構成はネットワークカメラ101の構成の一例を示したものに過ぎず、不図示の構成の追加や図示された構成の削除または変更等、様々な変形が行われうる。
(Device configuration)
FIG. 2 shows a configuration example of the
撮像部201は、レンズおよび撮像素子を含んで構成され、被写体の撮像および電気信号への変換を行う。画像処理部202は、撮像部201によって変換された電気信号に対して画像処理及び圧縮符号化処理を行い、画像データを生成する。システム制御部203は、カメラに伝達されたコマンドを解析し、コマンドに応じた処理を実行する。また、システム制御部203は、ネットワークカメラ101内部のパラメータの変化を検知し、検知動作をイベントトリガとして用いた処理を実行する。記憶部204は、画質調整のパラメータやネットワークの設定等の設定値を記憶する。記憶部204は、一例において、ネットワークカメラ101の電源がオフとなった場合にも情報を保持することができる不揮発性の記憶装置であり、例えばネットワークカメラ101が再起動された場合に以前に設定された値を用いて起動することが可能である。記憶部204は、例えばROMやRAM等のメモリでありうるが、他の任意の記憶装置を含んで構成されうる。また、画像処理部202及びシステム制御部203は、例えばCPUやMPU等のプロセッサが、記憶部204に記憶されたプログラムを実行することによって実現されうる。また、画像処理部202及びシステム制御部203は、例えば専用のハードウェアによって構成されてもよいし、例えばFPGA(フィールドプログラマブルゲートアレイ)等のプログラマブル回路と対応するプログラムを用いて構成されてもよい。有線通信処理部205は、有線LANによるネットワーク通信の処理を行う。有線通信処理部205は、例えば、有線LANで送信される信号の変復調を行う回路や、信号を有線回線へ送出し又は信号を有線回線から受信するためのインタフェース回路を含んで構成される。無線通信処理部206は、無線LANによるネットワーク通信の処理を行う。無線通信処理部206は、例えば、ベースバンドでの処理を行う回路や、ベースバンド信号を無線周波数の信号に変換してアンテナを介して送出し、又は無線周波数の信号をアンテナを介して受信してベースバンド信号へと変換する回路等を含んで構成される。
The
図3に、情報端末103の構成例を示す。情報端末103は、汎用的なPCと同様の構成を有し、例えば、CPU301、ROM302、RAM303、記憶装置304、有線通信部305、及び表示部306を含んで構成される。情報端末103は、例えば、ROM302に記憶されたプログラムを実行することにより、ネットワークカメラ101の制御のための処理を実行する。RAM303は、例えばその処理の際のワークメモリとして使用される。表示部306には、例えば、ネットワークカメラ101の設定のための設定画面等が表示されうる。なお、表示部306は、情報端末103が内蔵していてもよいし、情報端末103の外部のディスプレイが用いられてもよい。外部のディスプレイが用いられる場合は、情報端末103は、表示部306に代えて表示制御部を有してもよい。また、情報端末103は、例えば有線通信部305を介してネットワークカメラ101から情報を取得し、例えばRAM303や記憶装置304に記憶される。情報端末103は、この取得した情報に基づいて、ネットワークカメラ101を制御するための処理を実行することができる。
The structural example of the
(処理の流れ)
まず、図4の例を用いて、ネットワークカメラ101が実行する処理の流れの概要について説明する。
(Flow of processing)
First, an outline of the flow of processing performed by the
本処理では、システム制御部203が、まず、NWインタフェースの情報に変化を検知したか否かを判定する(S401)。ここで、NWインタフェースの情報に変化があるか否かの判定は、例えば、NWインタフェースに対応するIPアドレス等のネットワーク情報が変更されようとしているか否かの判定でありうる。この検知処理の詳細については後述する。システム制御部203は、NWインタフェースの情報の変化を検知していない間(S401でNO)は、NWインタフェースの情報に変化があるかの監視及び検知処理を繰り返し実行する。一方、システム制御部203は、NWインタフェースの情報の変化を検知したことに応じて(S401でYES)、処理をS402へ進める。
In this process, the
S402では、システム制御部203は、有線通信処理部205と無線通信処理部206とにおけるサブネットを特定する。例えば、システム制御部203は、各通信処理部におけるIPアドレスとサブネットマスクとをネットワーク情報として取得して、サブネットを特定する。しかしながら、これに限られず、他の情報を用いて又は他の手法によって、サブネットが特定されてもよい。例えば、各通信処理部に対応するサブネットの情報を予め記憶部204に記憶しておいてもよく、システム制御部203は、記憶部204から、それらのサブネットの情報を取得してもよい。また、システム制御部203は、IPv6アドレスのように、1つのNWインタフェースに対して複数のアドレスが割り振られる場合は、すべてのアドレスに対してサブネットの特定を行う。ただし、システム制御部203は、リンクローカルアドレスについてはサブネットの特定対象に含めず、グローバルアドレスのみを特定対象としうる。
In step S402, the
その後、システム制御部203は、S402で特定された複数(2つ)のNWインタフェースについてのサブネットの情報を比較し、有線通信処理部205と無線通信処理部206とが同一サブネットに属しているか否かを判定する(S403)。そして、システム制御部203は、有線通信処理部205と無線通信処理部206とが同一サブネットに属している場合(S403でYES)は処理をS404へ進め、それ以外の場合(S403でNO)は処理をS401へ戻す。
Thereafter, the
S404では、システム制御部203は、有線通信処理部205と無線通信処理部206とが、同一サブネットに設定されることや同一サブネットにおいて使用されることを回避するための回避情報をカメラ内部で生成する。システム制御部203は、例えば、エラーログメッセージを不揮発メモリへ出力する。なお、ユーザが回避処理を実行する際に参照可能であれば、どの領域に情報が生成されていてもよく、例えばネットワークカメラ101の所定のレジスタの値によって、上述の回避情報が生成されたか否かが判定可能とされてもよい。また、上述の情報が出力される媒体はネットワークカメラ101の内部に存在しなくてもよく、例えば、ネットワークカメラ101の内部の媒体に加えて又はこれに代えて、不揮発性のメモリカード等の外部の媒体に情報が生成されてもよい。例えば、ネットワークカメラ101と情報端末103とがネットワークを介して通信することができない場合に、ユーザは、ネットワークカメラ101に挿入されたメモリカードを抜き取って読み取ることにより、エラーログ等の回避情報を確認することができる。このように、ユーザは、状況に応じた方法で回避情報を確認することにより、ネットワークカメラ101が有する複数のNWインタフェースが同一サブネットに接続されている状況を把握することができる。これにより、ユーザは、生成された情報に基づいて、有線通信処理部205と無線通信処理部206とが同一サブネットに設定されることや同一サブネットで使用されることを回避するための操作を行うことができる。
In step S404, the
ここで、S401で判定されるNWインタフェースの情報の変化について、その検知処理の例について図5を用いて説明する。検知されるネットワークカメラ101におけるNWインタフェースの情報の変化は、例えば、属するサブネットが変わる要因となる運用中のIPアドレスの変化である。なお、ここでのIPアドレスは、サブネットの変更を引き起こしうる他のネットワーク情報であってもよいことに留意されたい。IPアドレスの変化は、接続されるDHCPサーバによるIPアドレスの動的割り当てや、ユーザによるIPアドレスの手動設定を要因として生じうる。このため、まず、システム制御部203は、NWインタフェースへのIPアドレスの設定方法が、ルータ104のDHCP機能を用いた方法であるか、ユーザが情報端末103を利用して設定画面から手動で設定する方法であるかを判定する(S501)。そして、システム制御部203は、DHCP機能による自動割り振りが用いられると判定した場合(S501でYES)、NWインタフェースに対して、DHCP機能によって通知されたIPアドレスの情報を要求して取得する。そして、システム制御部203は、その取得したIPアドレスの情報を、これから設定されようとしているIPアドレスの情報として保存する(S502)。以下では、これから設定されようとしているIPアドレスの情報を、「設定予定情報」と呼ぶ。一方、システム制御部203は、設定画面から手動で設定する方法が用いられると判定した場合(S501でNO)、設定画面のUI上で入力されたIPアドレスの情報を取得して、そのIPアドレスを設定予定情報として保存する(S503)。
Here, regarding the change of the information of the NW interface determined in S401, an example of the detection process will be described using FIG. The change in the information of the NW interface in the
その後、システム制御部203は、有線通信処理部205又は無線通信処理部206から、NWインタフェースに対して現在設定中のIPアドレスの情報を取得する(S504)。そして、システム制御部203は、S502又はS503において設定予定情報として保存されたIPアドレスと、S504で取得した現在設定されているIPアドレスとが一致するか否かを判定する(S505)。システム制御部203は、これらの情報が一致すると判定した場合(S505でYES)、図5の処理を終了する。すなわち、監視対象のNWインタフェースの情報に変化がなかったとの結論が得られた場合、何も判定結果を出力しないで処理を終了する。一方、システム制御部203は、これらの情報が異なると判定した場合(S505でNO)、NWインタフェースの情報に変化があったことを検知したと判定する(S506)。システム制御部203は、S401において、S506に処理が進んだことに応じて、NWインタフェースの情報変化を検知したと判定する。
Thereafter, the
なお、図5の処理例は一例に過ぎず、NWインタフェースの情報の変化を検知することができる他の手法が用いられてもよい。例えば、有線通信処理部205又は無線通信処理部206のNWインタフェースの情報が変更される際に、システム制御部203が監視可能なフラグを用いてNWインタフェースの情報の変化を通知してもよい。
In addition, the process example of FIG. 5 is only an example, and another method capable of detecting a change in the information of the NW interface may be used. For example, when the information of the NW interface of the wired
また、図5の処理は、例えば、有線通信処理部205又は無線通信処理部206のNWインタフェースのIPアドレスの設定が行われたことが、システム制御部203に通知されたことを契機に開始されうる。なお、ここでのIPアドレスがIPv4とIPv6の両方である場合、その少なくともいずれかの設定が行われたことに応じて、システム制御部203は、図5の処理を実行しうる。なお、IPアドレスの設定が行われたとしても、結果として設定前のIPアドレスと同じIPアドレスが設定される場合があり、この場合は、NWインタフェースの情報に変化はなかったと判定されうることに留意されたい。なお、図5の処理は、IPアドレスの設定が行われていない場合に実行されてもよい。例えば、システム制御部203は、定期的に、NWインタフェースから情報を取得して、図5の処理を実行してもよい。また、例えば、ユーザから例えば情報端末103を介してトリガが与えられたこと等に応じて、図5の処理が実行されてもよい。
The process in FIG. 5 is started, for example, when the
続いて、S404で生成される情報と、それに対応する同一サブネットの設定・使用を回避する動作の例について、図6を用いて説明する。図6に示す表600のように、一例において、NWインタフェースの情報の変更手法に応じて、回避情報と回避動作とが決定されうる。 Subsequently, an example of the information generated in S404 and an operation of avoiding the setting / use of the corresponding same subnet will be described with reference to FIG. As shown in the table 600 shown in FIG. 6, in one example, the avoidance information and the avoidance operation may be determined according to the method of changing the information of the NW interface.
例えば、NWインタフェースの情報の変更がDHCP機能による自動設定等のユーザ操作によらないものであった場合、ユーザが設定画面による操作をしていない時に、NWインタフェースの設定が行われうる。このため、ユーザへの通知は、設定画面によらず、例えば、電子メールによって行われうる。この電子メールには、例えば、NWインタフェースの情報の変化に関する情報と、NWインタフェースの情報の変化を受け入れるか否かのユーザに対する確認要求とが含められる。ここで、ユーザが通知メールの確認要求に対して了承する旨の返答をするまでは、システム制御部203は、NWインタフェースの情報の変更を確定させない。すなわち、NWインタフェースのIPアドレス設定がDHCPによって変更される場合に、ユーザからの承認がない限りは、DHCPから受け取った後の未設定状態のIPアドレスは有効化されない。なお、システム制御部203は、他の回避動作として、予め設定された情報に基づいて、同一サブネットに属する複数のNWインタフェースのうちの1つのNWインタフェースのみを自動で有効化する処理を行ってもよい。例えば、ネットワークカメラ101は、常時録画配信するなど通信の安定性を求められる場合が多く、かつ、一般に無線通信に比べて有線通信の方が安定性が高いため、有線通信処理部205のみを有効化し、無線通信処理部206を無効化してもよい。また、ネットワークカメラ101は、NWインタフェースそのものではなく、そのNWインタフェースに対する設定を自動で有効化又は無効化してもよい。すなわち、ネットワークカメラ101は、NWインタフェース自体が有効であるが設定が無効であるような制御を行うことにより、実効的に少なくとも一部のNWインタフェースを無効化しうる。
For example, when the change of the information of the NW interface is not due to the user operation such as the automatic setting by the DHCP function, the setting of the NW interface can be performed when the user is not operating the setting screen. For this reason, the notification to the user may be performed by e-mail, for example, regardless of the setting screen. This e-mail includes, for example, information on the change in the information of the NW interface and a confirmation request to the user as to whether or not to accept the change in the information of the NW interface. Here, the
また、ユーザ操作によって設定画面を通じてNWインタフェースの情報が変更される場合、ユーザは設定画面を操作中であるため、システム制御部203は、図7の画面700のように、設定画面内にポップアップ表示を出力させる処理を実行しうる。このポップアップ表示は、図7に示すように、複数のNWインタフェースが同一サブネットに属するような設定をさせないための表示でありうる。なお、図7の表示は一例であり、複数のNWインタフェースが同一サブネットに属するような設定はできないことをユーザに伝達可能な任意の内容で置き換えられうる。例えば、図7では、文字列によって情報の提示が行われているが、所定のアイコンを表示させることによって、複数のNWインタフェースが同一サブネットに属するような設定はできないことが通知されてもよい。なお、設定画面として開かれているウィンドウ上に情報が表示されてもよいし、情報表示用の別のウィンドウが開かれてもよい。さらに、例えばスピーカから音声によって、複数のNWインタフェースが同一サブネットに属するような設定はできないことを示す情報の提示が行われてもよい。なお、複数のNWインタフェースが同一のサブネットに属するような設定が行われていることを表示して、その設定を受け入れるか否かのユーザの操作を受け付けるようにしてもよい。
In addition, when the information of the NW interface is changed through the setting screen by the user operation, the user is operating the setting screen, and the
また、監視システムにおけるネットワークカメラ101内部の処理のみで回避するのではなく、VMSのような情報端末103に組み込まれた外部アプリケーションによって回避動作が行われてもよい。なお、外部のアプリケーションによって、同じネットワーク上の複数のネットワークカメラ101に対する設定が一括で行われうる。
Further, the avoidance operation may be performed by an external application incorporated in the
外部アプリケーションからの設定における回避動作の一例について、図8を用いて説明する。まず、外部アプリケーションは、ネットワークを介して1つ以上のネットワークカメラ101へ、ネットワーク情報の設定要求を送信する(S801)。ネットワークカメラ101は、この設定要求に応じてネットワーク情報を設定して、そのネットワーク情報の設定に関するログ情報を設定要求へのレスポンスとして外部アプリケーションへ送信する。なお、ネットワークカメラ101は、設定要求を受信する前にネットワーク情報の設定を行っていた場合は、その設定済みのネットワーク情報に関するログ情報を外部アプリケーションへ送信しうる。例えば、ネットワークカメラ101は、不揮発メモリにエラーログが格納されている場合は、そのエラーログを含む情報を外部アプリケーションへ送信する。
An example of the avoidance operation in the setting from the external application will be described with reference to FIG. First, the external application transmits a network information setting request to one or
外部アプリケーションは、S801で送信した設定要求へのレスポンスとして各ネットワークカメラ101からログ情報を取得し(S802)、取得したログ情報においてエラーログが検出されたかを判定する(S803)。そして、外部アプリケーションは、エラーログを検出した場合(S803でYES)は処理をS804へ進め、エラーログを検出しなかった場合(S803でNO)は正常にすべてのカメラに対して設定がされたとみなして処理を終了する。S804では、外部アプリケーションは、エラーログを検出したカメラに対しては、行われたネットワーク設定をキャンセル(無効化)するためのキャンセル要求を送信し、設定ができなかったことを、画面表示等によってユーザへ通知する。なお、外部アプリケーションは、例えば同一のサブネットに属する複数のNWインタフェースのうちの1つに対する設定のみを有効化するなど、複数のNWインタフェースに対する設定のうちの少なくとも一部を無効化するような要求を送信してもよい。これにより、ネットワークカメラの複数のNWインタフェースが同一サブネットに設定されること又は同一サブネットで使用されることを回避するための設定を外部アプリケーションによって実行することができる。また、外部アプリケーションは、ネットワークカメラのNWインタフェースの少なくとも一部について、NWインタフェースそのものを無効化又は有効化することの要求を送信してもよい。
The external application acquires log information from each
なお、図8に示した処理は一例であり、複数のNWインタフェースが同一サブネットに設定されること又は同一サブネットで使用されることを回避するための外部アプリケーションによって実行される他の手法が用いられてもよい。例えば、ネットワークカメラ101は、S801の設定要求によるネットワーク設定を未確定の設定として保持しておき、外部アプリケーションからのキャンセル要求を所定期間にわたって受信しなかった場合に、ネットワーク設定を確定させてもよい。また、外部アプリケーションは、エラーログを検出しなかったネットワークカメラ101に対して、ネットワーク設定を確定させるためのメッセージを送信してもよい。この場合、ネットワークカメラ101は、例えば、S801の設定要求によるネットワーク設定を未確定の設定として保持しておき、そのメッセージを所定期間にわたって受信しなかった場合に、未確定のネットワーク設定をキャンセルしてもよい。また、情報端末103は、図7のような画面を表示させて、複数のNWインタフェースが同一サブネットに属しないようにするためのユーザ操作を待機するようにしてもよい。
In addition, the process shown in FIG. 8 is an example, and another method executed by an external application for avoiding that a plurality of NW interfaces are set in the same subnet or used in the same subnet is used. May be For example, the
また、ネットワークカメラ101は、電源としてPoE+(Power of Ethernet Plus)のハブを使用しうる。PoE+は、1つのLANケーブルで通信と電力供給とを行うEthernet(登録商標)の規格である。PoE+においては、LLDP(Link Layer Discovery Protocol)と呼ばれるプロトコルを用いて、パケットデータがマルチキャストアドレス宛てに定期的に送信されることによって情報が収集される。そして、LLDPによる通信ができない場合、PoE+からの給電は途絶えてしまう。このため、ネットワークカメラ101は、接続された電源種別を考慮して、PoE+が用いられる場合にはその通信を確保できるようにしながら、同一サブネットの使用を回避する動作を行う必要がある。
Also, the
電源種別を考慮した回避動作の一例について、図9を用いて説明する。ここでは、回避動作として、同一のサブネットに属するNWインタフェースのうち1つのみを有効化し、その他のNWインタフェースについては無効化等の制限を行うものとする。 An example of the avoidance operation in consideration of the power supply type will be described with reference to FIG. Here, as an avoidance operation, it is assumed that only one of the NW interfaces belonging to the same subnet is validated, and restrictions such as invalidation are performed for the other NW interfaces.
まず、システム制御部203は、制限対象として選択されたNWインタフェースが有線LANであるかを判定する(S901)。そして、システム制御部203は、NWインタフェースが有線LANであると判定した場合(S901でYES)は処理をS902へ進める。一方、システム制御部203は、使用されるNWインタフェースが有線LANでないと判定した場合(S901でNO)は、PoE+が使用されないため、そのNWインタフェースによる通信を遮断する(S904)。S902では、システム制御部203は、ネットワークカメラ101がPoE+によって給電されているかを判定する。そして、システム制御部203は、ネットワークカメラ101がPoE+によって給電されると判定した場合(S902でYES)は、処理をS903へ進める。一方、システム制御部203は、ネットワークカメラ101がPoE+によって給電されないと判定した場合(S902でNO)は、そのNWインタフェースによる通信を遮断する(S904)。なお、S901及びS902の判定は並行して行われてもよい。S903では、システム制御部203は、データリンク層以下の下位層の通信を有効としたまま、IP層以上の上位層の通信を遮断する。LLDPは、データリンク層で動作するため、S903の処理により、LLDPのパケットデータの送信に影響を与えず、給電された状態を維持することができる。一方、IP層以上の上位レイヤでの通信は遮断されるため、制限対象のNWインタフェースが非制限対象のNWインタフェースと同一サブネットで使用されることを回避することができる。
First, the
なお、図9に示した処理は一例であり、ネットワークカメラ101に給電される状態が維持されたまま、複数のNWインタフェースが同一サブネットで使用されることを回避する他の処理が用いられてもよい。例えば、複数のNWインタフェースが同一サブネットに設定された場合に、LLDPのパケットデータを転送するために使用されるNWインタフェースを優先して有効化し、他のインタフェースを無効化するような処理が行われてもよい。また、ネットワークカメラ101が停電時のバックアップ用などの別の給電元を有している場合、給電方法を切り替えることをユーザへ通知し、給電方法を切り替えてNWインタフェースの通信を遮断してもよい。
Note that the process illustrated in FIG. 9 is an example, and other processes for avoiding the use of a plurality of NW interfaces in the same subnet while the state of supplying power to the
なお、ユーザは、複数のNWインタフェースが同一サブネットに属するような設定が行われたと認識すると、例えば、無線LANの接続先のアクセスポイントを変更する等により、いずれかのNWインタフェースが属するサブネットを変更する処理を実行しうる。これによれば、複数のNWインタフェースがそれぞれ異なるサブネットに属するようになるため、複数のNWインタフェースを有効活用可能なネットワーク設定を行うことが可能となる。また、ユーザは、場合によっては、複数のNWインタフェースが同一サブネットに属することを許容してもよい。この場合、ネットワークカメラ101は、例えば、カメラの制御コマンド等、重複した通信が行われないようにすべきデータについては、1つのNWインタフェースで通信するように構成されてもよい。例えば、ネットワークカメラ101は、有線通信インタフェースによって制御コマンドの送受信と撮像画像の送信とを行い、無線通信インタフェースによって撮像画像の送信のみを行うように構成されうる。
If the user recognizes that a plurality of NW interfaces are set to belong to the same subnet, the user changes the subnet to which any one of the NW interfaces belongs, for example, by changing the access point of the wireless LAN connection destination. Processing can be performed. According to this, since the plurality of NW interfaces belong to different subnets, it is possible to perform the network setting that can effectively use the plurality of NW interfaces. Also, in some cases, the user may allow multiple NW interfaces to belong to the same subnet. In this case, the
このように、本実施形態によれば、1つのネットワークカメラが有する複数のNWインタフェースが同一のサブネットに属する場合にその旨が出力されることにより、意図しない形態でネットワークが構成されてしまうことを防ぐことができる。また、特に、1つのサブネットに1つの装置の複数のNWインタフェースが属すべきでない場合、例えば、自動で、少なくとも一部のNWインタフェースを無効化することや、そのような設定を実行することができないことのユーザへの通知が行われうる。これにより、ユーザが要求するような適切なネットワーク設定が行われるようにすることができる。 Thus, according to the present embodiment, when a plurality of NW interfaces included in one network camera belong to the same subnet, the network is configured in an unintended form by outputting that effect. It can prevent. Also, in particular, when a plurality of NW interfaces of one device should not belong to one subnet, for example, at least a part of the NW interfaces can not be automatically invalidated or such setting can not be performed. Users can be notified of that. This makes it possible to perform appropriate network settings as required by the user.
<その他の実施形態>
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
<Other Embodiments>
The present invention supplies a program that implements one or more functions of the above-described embodiments to a system or apparatus via a network or storage medium, and one or more processors in a computer of the system or apparatus read and execute the program. Can also be realized. It can also be implemented by a circuit (eg, an ASIC) that implements one or more functions.
101:ネットワークカメラ、102:アクセスポイント、103:情報端末、104:ルータ、105:有線ネットワーク、106:無線ネットワーク、201:撮像部、202:画像処理部、203:システム制御部、204:記憶部、205:有線通信処理部、206:無線通信処理部、301:CPU、302:ROM、303:RAM、304:記憶装置、305:有線通信部、306:表示部 101: network camera, 102: access point, 103: information terminal, 104: router, 105: wired network, 106: wireless network, 201: imaging unit, 202: image processing unit, 203: system control unit, 204: storage unit , 205: wired communication processing unit, 206: wireless communication processing unit, 301: CPU, 302: ROM, 303: RAM, 304: storage device, 305: wired communication unit, 306: display unit
Claims (21)
前記撮像装置が有する複数のネットワークインタフェースが同一のサブネットに属するような設定がされた場合に、同一のサブネットに複数のネットワークインタフェースが属する設定が行われたことを示す情報を出力する出力手段を有する、
ことを特徴とする撮像装置。 An imaging apparatus capable of communicating with another apparatus using a network interface, the imaging apparatus comprising:
The imaging apparatus has an output unit that outputs information indicating that the setting in which the plurality of network interfaces belong to the same subnet is performed when the setting is performed such that the plurality of network interfaces in the imaging device belong to the same subnet ,
An imaging device characterized by
ことを特徴とする請求項1に記載の撮像装置。 It comprises means for invalidating at least a part of the plurality of network interfaces or at least a part of the settings based on at least the information.
The imaging device according to claim 1,
ことを特徴とする請求項1又は2に記載の撮像装置。 The imaging device has means for validating only one of a plurality of network interfaces configured to belong to the same subnet.
The imaging device according to claim 1 or 2, characterized in that:
ことを特徴とする請求項3に記載の撮像装置。 The process of enabling only one of the plurality of network interfaces is automatically performed when the setting is not manually performed by the user.
The imaging device according to claim 3, characterized in that:
ことを特徴とする請求項2に記載の撮像装置。 At least a part of the plurality of network interfaces or at least a part of the settings is invalidated further based on a request from the outside of the imaging device.
The imaging device according to claim 2, characterized in that:
ことを特徴とする請求項1に記載の撮像装置。 The output unit outputs an electronic mail for notifying the user of the information.
The imaging device according to claim 1,
ことを特徴とする請求項6に記載の撮像装置。 And a means for activating the setting in response to acceptance of the user's approval for the email.
The imaging device according to claim 6,
ことを特徴とする請求項6又は7に記載の撮像装置。 The output unit outputs the e-mail when the setting is not manually performed by a user.
The imaging device according to claim 6 or 7, characterized in that:
ことを特徴とする請求項1に記載の撮像装置。 The output unit causes the information to be displayed on a setting screen for setting a network interface of the imaging device.
The imaging device according to claim 1,
ことを特徴とする請求項9に記載の撮像装置。 The output means causes the information to be displayed on the setting screen when the setting is manually performed by a user.
The imaging device according to claim 9, characterized in that:
ことを特徴とする請求項1から10のいずれか1項に記載の撮像装置。 Means for monitoring whether or not any setting of the plurality of network interfaces has been performed, and determining whether the plurality of network interfaces will belong to the same subnet when the setting is performed. Have,
The imaging device according to any one of claims 1 to 10, characterized in that:
ことを特徴とする請求項11に記載の撮像装置。 The monitoring is performed by periodically acquiring information on settings of the plurality of network interfaces,
The image pickup apparatus according to claim 11, characterized in that:
ことを特徴とする請求項11に記載の撮像装置。 The monitoring is performed based on notification from the plurality of network interfaces that setting has been performed.
The image pickup apparatus according to claim 11, characterized in that:
ことを特徴とする請求項1から13のいずれか1項に記載の撮像装置。 The plurality of network interfaces include network interfaces for wireless communication and wired communication.
The imaging device according to any one of claims 1 to 13, characterized in that:
少なくとも前記情報に基づいて、前記複数のネットワークインタフェースが同一のサブネットに属することを回避するための処理を実行する実行手段と、
を有することを特徴とするクライアント装置。 Acquisition that acquires information indicating that multiple network interfaces possessed by the imaging device belong to the same subnet, output from the imaging device that can communicate with other devices using the network interface Means,
An execution unit that executes processing for avoiding the plurality of network interfaces belonging to the same subnet based on at least the information;
A client device characterized by having:
ことを特徴とする請求項15に記載のクライアント装置。 The execution means transmits a request for canceling the setting to the imaging device.
The client device according to claim 15, characterized in that:
ことを特徴とする請求項15に記載のクライアント装置。 The execution means displays on the screen that the setting can not be performed when the setting is manually performed by the user through the screen displayed by the client device.
The client device according to claim 15, characterized in that:
前記撮像装置が有する複数のネットワークインタフェースが同一のサブネットに属するような設定がされた場合に、同一のサブネットに複数のネットワークインタフェースが属する設定が行われたことを示す情報を出力する工程を有する、
ことを特徴とする方法。 A method performed by an imaging device capable of communicating with another device using a network interface, the method comprising:
And outputting the information indicating that the setting in which the plurality of network interfaces belong to the same subnet is performed when the setting is made such that the plurality of network interfaces included in the imaging device belong to the same subnet.
A method characterized by
ネットワークインタフェースを用いて他の装置と通信することができる撮像装置から出力された、当該撮像装置が有する複数のネットワークインタフェースが同一のサブネットに属するような設定がされたことを示す情報を取得する工程と、
少なくとも前記情報に基づいて、前記複数のネットワークインタフェースが同一のサブネットに属することを回避するための処理を実行する工程と、
を有することを特徴とする方法。 A method performed by the client device,
A step of acquiring information output from an imaging apparatus capable of communicating with another apparatus using a network interface and indicating that a plurality of network interfaces of the imaging apparatus belong to the same subnet; When,
Executing a process for avoiding the plurality of network interfaces belonging to the same subnet based on at least the information;
A method characterized in that it comprises:
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP18187814.1A EP3451633B1 (en) | 2017-08-30 | 2018-08-07 | Image capturing apparatus, client apparatus, and method |
| KR1020180096450A KR102330911B1 (en) | 2017-08-30 | 2018-08-20 | Image capturing apparatus, client apparatus, method, and storage medium |
| US16/106,809 US10944894B2 (en) | 2017-08-30 | 2018-08-21 | Image capturing apparatus, client apparatus, method, and storage medium |
| CN201810958955.6A CN109429041B (en) | 2017-08-30 | 2018-08-22 | Camera device, client device, method and storage medium |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2017166112 | 2017-08-30 | ||
| JP2017166112 | 2017-08-30 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2019046448A true JP2019046448A (en) | 2019-03-22 |
| JP7170421B2 JP7170421B2 (en) | 2022-11-14 |
Family
ID=65814567
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2018093981A Active JP7170421B2 (en) | 2017-08-30 | 2018-05-15 | IMAGING DEVICE, CLIENT DEVICE, METHOD, AND PROGRAM |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7170421B2 (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009017605A (en) * | 2002-07-01 | 2009-01-22 | Nec Corp | Device and method for detecting network information |
| CN104243626A (en) * | 2013-06-18 | 2014-12-24 | 富士施乐株式会社 | Information processing apparatus |
| US20150195161A1 (en) * | 2014-01-07 | 2015-07-09 | Canon Kabushiki Kaisha | Communication apparatus capable of preventing data erroneous transmission, control method therefor, and storage medium storing control program therefor |
-
2018
- 2018-05-15 JP JP2018093981A patent/JP7170421B2/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009017605A (en) * | 2002-07-01 | 2009-01-22 | Nec Corp | Device and method for detecting network information |
| CN104243626A (en) * | 2013-06-18 | 2014-12-24 | 富士施乐株式会社 | Information processing apparatus |
| US20150195161A1 (en) * | 2014-01-07 | 2015-07-09 | Canon Kabushiki Kaisha | Communication apparatus capable of preventing data erroneous transmission, control method therefor, and storage medium storing control program therefor |
| JP2015130579A (en) * | 2014-01-07 | 2015-07-16 | キヤノン株式会社 | Communication device, control method of the same, and program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP7170421B2 (en) | 2022-11-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10620691B2 (en) | Data processing apparatus, information processing method, and storage medium | |
| JP3876732B2 (en) | Gateway device, gateway device address management method, and AV device having gateway function | |
| US10484417B2 (en) | Information processing apparatus that prevents unauthorized access thereto, method of controlling the information processing apparatus, and storage medium | |
| CN104639913B (en) | A kind of network video recorder and its method for automatically accessing IPC | |
| EP2819407B1 (en) | System for automatic connection between NVR and IP camera | |
| US20140204727A1 (en) | Redundant control of self-configuring wireless network | |
| US9742627B2 (en) | System for automatic connection between NVR and IP camera | |
| US10250668B2 (en) | Communication apparatus, control method thereof, and storage medium | |
| CN109617972B (en) | Connection establishing method and device, electronic equipment and storage medium | |
| US9367273B2 (en) | Electronic apparatus | |
| US10574837B2 (en) | Information processing apparatus for data communication with external apparatus and control method for the same, and storage medium | |
| CN109429041B (en) | Camera device, client device, method and storage medium | |
| JP2023116267A (en) | Information processing device, control method and program for information processing device | |
| JP7170421B2 (en) | IMAGING DEVICE, CLIENT DEVICE, METHOD, AND PROGRAM | |
| US20160212092A1 (en) | Response device, information processing device, response method, information processing method, and non-transitory computer readable medium | |
| US9467501B2 (en) | Relay server system | |
| JP2019201286A (en) | Communication device, network camera, control method, and program | |
| US20130250355A1 (en) | Image forming apparatus, address setting method, and storage medium storing program | |
| KR20100009296A (en) | Method for controlling wireless connection of network camera | |
| JP6298334B2 (en) | Monitoring system and monitoring system control method | |
| US20180219767A1 (en) | Communication relay device, server, image processing unit and non-transitory recording medium | |
| WO2014132428A1 (en) | Information processing device and start-up control program | |
| JP4763490B2 (en) | Remote monitoring system and monitoring device | |
| JP2025059820A (en) | Information processing device, information processing method, and program | |
| JP2016181152A (en) | Image formation device, image formation system, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20210103 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210113 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20210512 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20220210 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20220322 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220520 |
|
| 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: 20221003 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20221101 |
|
| R151 | Written notification of patent or utility model registration |
Ref document number: 7170421 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |