JP2008172623A - Network photography system, and management device and method - Google Patents
Network photography system, and management device and method Download PDFInfo
- Publication number
- JP2008172623A JP2008172623A JP2007004972A JP2007004972A JP2008172623A JP 2008172623 A JP2008172623 A JP 2008172623A JP 2007004972 A JP2007004972 A JP 2007004972A JP 2007004972 A JP2007004972 A JP 2007004972A JP 2008172623 A JP2008172623 A JP 2008172623A
- Authority
- JP
- Japan
- Prior art keywords
- control right
- occupation time
- control
- camera
- operation terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Closed-Circuit Television Systems (AREA)
- Studio Devices (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
Description
本発明は、操作端末からネットワーク上の撮影装置を操作可能としたネットワーク撮影システム、管理装置及び方法、並びにコンピュータプログラムに関し、特に、その遠隔操作に係る制御権を管理する技術に関する。 The present invention relates to a network imaging system, a management apparatus and method, and a computer program that can operate an imaging apparatus on a network from an operation terminal, and more particularly to a technique for managing a control right related to the remote operation.
近年、インターネットの普及に伴い、撮影装置で撮影した遠隔地の映像を、インターネットを経由して見ることを可能としたネットワークカメラシステムが普及し始めており、遠隔地の映像を複数の利用者が同時に見ることが可能となっている。 In recent years, with the spread of the Internet, network camera systems that enable viewing of images taken from remote locations via the Internet via the Internet have begun to spread. It is possible to see.
この種のネットワークカメラシステムは、例えば監視カメラシステムとして利用されている。 This type of network camera system is used as a surveillance camera system, for example.
また、ネットワークカメラシステムでは、パン(横方向)回転、チルト(縦方向)回転、ズーム(望遠)といったカメラの撮影条件や撮影姿勢を遠隔操作できるようにしたものもある。この場合、カメラを遠隔操作するための制御権は、同時刻において唯一のクライアントにのみ与えられる。 In some network camera systems, the camera photographing conditions and postures such as pan (horizontal) rotation, tilt (vertical) rotation, and zoom (telephoto) can be remotely controlled. In this case, the control right for remotely operating the camera is given to only one client at the same time.
このような制御権に関する技術が特許文献1〜3に開示されている。特許文献1では、制御権を要求しているクライアントの数が所定数以上になると、制御権の要求を受け付けなくすることが開示されている。
Techniques relating to such control rights are disclosed in
また、特許文献2や特許文献3では、制御権の取得を希望したクライアントに、ネットワークカメラシステムの管理者が予め設定した時間だけ制御権を与える。そして、同時刻に制御権を取得しようとした他のクライアントは、取得を希望した順番で待ち行列を成して、制御権が付与されるのを待つ。
In
しかしながら、上記特許文献では、表示操作端末に付与する制御権の占有時間を動的に変化させる機能は具備されていない。つまり、それぞれの表示操作端末に対して、管理者が予め設定した一定の制御権占有時間に従い、制御権を順次与えている。このように制御権占有時間が一定では、混雑状況に応じた制御権占有時間をユーザに提供することができない。即ち、ネットワークカメラサーバの状態及びその他の関連する要因により制御権占有時間が変化(増減)することはなく、きめこまやかな管理はできなかった。 However, the above patent document does not have a function of dynamically changing the occupation time of the control right to be given to the display operation terminal. That is, control rights are sequentially given to the respective display operation terminals in accordance with a predetermined control right occupation time preset by the administrator. Thus, when the control right occupation time is constant, the control right occupation time corresponding to the congestion situation cannot be provided to the user. That is, the control right occupation time does not change (increase / decrease) due to the state of the network camera server and other related factors, and it has not been possible to perform precise management.
例えば、多くのクライアントが制御権を取得しようとして待ち行列を成している場合でも、予め定められた時間分だけ制御権が待ち行列のクライアントに順番に与えられるため、混みあう時間帯や人気のあるカメラでは待ち行列が増える。そのため待ち行列をなかなかさばくことができない。また、多くのクライアントが制御権を要求している場合、制御権要求しているクライアントの制御権要求を出力してから制御権を獲得するまでの待ち時間が長くなる。また、制御権を要求しているクライアントの数が少ないときにも、一定時間しか制御権を占有できないため、逐次制御権を要求しなくてはならない。即ち、予め定められた所定時間しか制御権を保持することができず、長時間制御したい場合には何度も取り直す必要があり、煩わしい作業が必要になる。 For example, even when many clients are queued to obtain control, the control is given to the clients in the queue for a predetermined amount of time in order, so crowded time zones and popular Some cameras have more queues. This makes it difficult to bulk up the queue. In addition, when many clients request control rights, the waiting time from when a control right request of a client requesting control rights is output to when control rights are acquired becomes longer. Even when the number of clients requesting the control right is small, the control right can be occupied only for a certain period of time, so that the control right must be requested sequentially. In other words, the control right can be held only for a predetermined time, and when it is desired to control for a long time, it is necessary to retake it many times, which requires troublesome work.
本発明は係る実情に鑑みて、操作端末に付与する制御権の占有時間を動的に変化させることで、きめこまやかに制御権の占有時間を管理できるようにすることを目的とする。 SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and an object of the present invention is to make it possible to manage the occupied time of the control right smoothly by dynamically changing the occupied time of the control right given to the operation terminal.
本発明のネットワーク撮影システムは、撮影装置を操作可能な操作端末と、前記撮影装置を操作するための制御権を要求している操作端末に制御権を順次付与する管理装置とがネットワークを介して接続されており、制御権が付与された一つの操作端末のみが前記撮影装置を操作できるようにしたネットワーク撮影システムであって、制御権を要求している操作端末の数を検知する検知手段と、前記検知手段の検知結果に応じて制御権の占有時間を決定する占有時間決定手段とを備えたことを特徴とする。
また、本発明の管理装置は、撮影装置を操作するための制御権を要求している操作端末に制御権を順次付与する管理装置であって、制御権を要求している操作端末の数を検知する検知手段と、前記検知手段の検知結果に応じて制御権の占有時間を決定する占有時間決定手段とを備えたことを特徴とする。
また、本発明の管理方法は、撮影装置を操作するための制御権を要求している操作端末に制御権を順次付与する管理方法であって、制御権を要求している操作端末の数を検知する検知手順と、前記検知手順での検知結果に応じて制御権の占有時間を決定する占有時間決定手順とを有することを特徴とする。
また、本発明のコンピュータプログラムは、撮影装置を操作するための制御権を要求している操作端末に制御権を順次付与する管理を行うコンピュータプログラムであって、制御権を要求している操作端末の数を検知する検知処理と、前記検知処理での検知結果に応じて制御権の占有時間を決定する占有時間決定処理とをコンピュータに実行させることを特徴とする。
In the network imaging system of the present invention, an operation terminal capable of operating the imaging apparatus and a management apparatus that sequentially assigns the control authority to the operation terminal requesting the control authority for operating the imaging apparatus via the network A network photographing system that is connected and is capable of operating the photographing apparatus only by one operating terminal to which a control right is given, and a detecting means for detecting the number of operating terminals requesting the control right; And occupancy time determining means for determining the occupancy time of the control right according to the detection result of the detection means.
Also, the management device of the present invention is a management device that sequentially assigns control rights to operation terminals that request control rights for operating the photographing apparatus, and the number of operation terminals that request control rights is determined. It is characterized by comprising detection means for detecting, and occupancy time determining means for determining the occupancy time of the control right according to the detection result of the detection means.
The management method of the present invention is a management method for sequentially granting control rights to operation terminals that request control rights for operating the photographing apparatus, and the number of operation terminals that request control rights is determined. It has a detection procedure to detect, and an occupation time determination procedure to determine the occupation time of the control right according to the detection result in the detection procedure.
Further, the computer program of the present invention is a computer program for performing management for sequentially assigning control rights to an operation terminal requesting control rights for operating the photographing apparatus, and requesting control rights. The computer is caused to execute a detection process for detecting the number of times and an occupation time determination process for determining an occupation time of the control right according to a detection result in the detection process.
本発明によれば、制御権を要求している操作端末の数に応じて制御権の占有時間を決定するようにしたので、操作端末に付与する制御権の占有時間を動的に変化させることができ、きめこまやかに制御権の占有時間を管理することができる。これにより、例えば制御権を要求している操作端末が多数ある場合には、より早く多くの操作端末に順番を回すことができる。また、少ない場合には、より長い時間制御権を付与することで、利用者の利便性を向上させることができる。 According to the present invention, since the occupation time of the control right is determined according to the number of operation terminals requesting the control right, the occupation time of the control right given to the operation terminal can be dynamically changed. It is possible to manage the occupation time of the control right smoothly. Thereby, for example, when there are many operation terminals requesting the control right, it is possible to turn the order to many operation terminals earlier. In addition, when the number is small, it is possible to improve the convenience of the user by giving a longer control right.
(第1の実施の形態)
以下、図面に基づいて、本発明の第1の実施の形態について説明する。本実施の形態では、制御権を要求している表示操作端末の数(制御権要求数)を検知し、その制御権要求数に応じて制御権占有時間を各表示操作端末に順次付与するネットワークカメラシステム(ネットワーク撮影システム)の実現方法を説明する。
(First embodiment)
Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. In this embodiment, a network that detects the number of display operation terminals requesting control rights (the number of control right requests) and sequentially assigns the control right occupation time to each display operation terminal according to the number of control right requests. A method for realizing a camera system (network shooting system) will be described.
まず、図1において、ネットワークカメラシステム10は、デジタルカメラ等の撮影装置11と、カメラサーバ装置12と、複数の表示操作端末13−1〜13−Nとがネットワーク14を介して接続されて構成される。ここで、撮影装置11及びカメラサーバ装置12は一体的に構成してもよいし、それぞれ別体として構成してもよい。
First, in FIG. 1, a
撮影装置11は、撮影条件及び撮影姿勢が制御可能とされており、カメラサーバ装置12からの指令を受けて制御される。表示操作端末13−1〜13−Nは、撮影装置11の撮影した画像を表示し、撮影装置11の撮影条件及び撮影姿勢をカメラサーバ装置12を介して遠隔操作することができる。
The photographing
表示操作端末13−1〜13−N(N台)のうち複数台の表示操作端末から撮影装置11の制御権要求があったとき、カメラサーバ装置12内の制御権管理部12−2は、常に1台の表示操作端末だけが撮影装置11の制御を行うことができるように管理する。換言すれば、1台の撮影装置11を操作するための権利である制御権を同時刻に1台の表示操作端末だけに付与して、その他を排他制御する。
When there is a control right request for the photographing
カメラサーバ装置12は、制御権管理部12−2の他に、ネットワークインタフェース12−1、制御権占有時間計測部12−3、撮影装置制御部12−4、制御権要求数検知部(検知手段)12−5、及び制御権占有時間算出部(占有時間決定手段)12−6を有する。これら各手段の機能については、後述する。このカメラサーバ装置12が本発明でいう管理装置として機能するものである。なお、本実施形態では、カメラサーバ装置12が撮影装置11の制御機能及び制御権の管理機能の両方を持つようにしたが、それら機能をそれぞれ別の装置に持たせてもよい。
In addition to the control right management unit 12-2, the
図2は、本実施の形態の撮影装置11及びカメラサーバ装置12のシステム構成を示すブロック図である。図2において、301はCPUであり、カメラサーバ装置12における各種制御を行う。302はROMであり、CPU301によって実行される各種の制御プログラムを格納する。303はRAMであり、CPU301が各種の制御を実行するに際して必要な作業領域を提供する。
FIG. 2 is a block diagram illustrating a system configuration of the
321は撮影装置11を構成する撮像部であり、撮影によって得られた映像信号を出力する。撮像部321より出力された映像信号は、カメラ映像インタフェース304を介して、RAM303へ転送される。322は撮影装置11を構成する機構制御部であり、カメラ駆動インタフェース305を介して表示操作端末から送信される制御命令によりパン、チルト、ズーム等を制御する。
306はネットワークインタフェースであり、図1のネットワークインタフェース12−1に相当し、ネットワーク14上の表示操作端末13−1〜13−Nとの通信を実現する。310はタイマーであり、図1の制御権占有時間計測部12−3に相当する。タイマー310は、ある表示操作端末の制御権取得からの経過時間を計時し、予め設定されたタイマー満了時間が経過したことを検出してCPU301に通知する。311はバスであり、上述の各構成を接続する。
A
図1で示したカメラサーバ装置12の各機能は、CPU301がROM302に格納された制御プログラムもしくはRAM303にロードされた制御プログラムを実行することによって実現される。
Each function of the
次に、図3を参照して、ネットワークカメラシステム10の運用の主な流れを説明する。 まず、ステップS301において、表示操作端末が撮影装置11の制御権要求を出力すると、制御権管理部12−2は、ネットワークインタフェース12−1を介して制御権要求を受け付ける。
Next, a main flow of operation of the
その後、ステップS302において、制御権要求数検知部12−5は、撮影装置11の制御権要求を出力している表示操作端末の数(制御権要求数)を検知する。
Thereafter, in step S302, the control right request number detection unit 12-5 detects the number of display operation terminals (control right request number) outputting the control right request of the photographing
次に、ステップS303において、制御権占有時間算出部12−6は、ステップS302で検知した制御権要求数に応じて制御権占有時間を決定する。例えば、制御権要求数を入力値とする予め用意した制御権占有時間算出式を用いることで、制御権を獲得した表示操作端末が撮影装置11を制御できる時間である制御権占有時間を算出する。
Next, in step S303, the control right occupation time calculation unit 12-6 determines the control right occupation time according to the number of control right requests detected in step S302. For example, by using a control right occupation time calculation formula prepared in advance with the number of control right requests as an input value, a control right occupation time that is a time during which the display operation terminal that has acquired the control right can control the photographing
次に、ステップS304において、制御権管理部12−2は、いずれかの表示操作端末に制御権を付与し、ステップS303で算出した制御権占有時間が経過すると、その表示操作端末から制御権を剥奪する。この際、制御権占有時間の計測は制御権占有時間計測部12−3が行う。制御権が付与された表示操作端末からの制御命令は、ネットワークインタフェース12−1を介して撮影装置制御部12−4が受け付けて、撮影装置11を制御する。
Next, in step S304, the control right management unit 12-2 gives a control right to one of the display operation terminals, and when the control right occupation time calculated in step S303 has elapsed, the control right management unit 12-2 obtains the control right from the display operation terminal. Deprive. At this time, the control right occupation time measuring unit 12-3 measures the control right occupation time. A control command from the display operation terminal to which the control right is given is received by the imaging device control unit 12-4 via the network interface 12-1, and controls the
<制御権要求数検知>
ここで、制御権要求数検知部12−5において制御権要求数を検知する例を説明する。即ち、ステップS302における具体的な動作の説明である。この例では、データベースに制御権要求数を格納し、表示操作端末からの制御権要求を受け付ける度に制御権要求数を「+1」し、制御権を表示操作端末に付与する度に制御権要求数「−1」することで制御権要求数を更新する。そして、データベース内の制御権要求数を参照することにより現在の制御権要求数を検知する。データベースは、例えばROM302或いはRAM303を利用することで実現される。
<Detecting the number of requests for control rights>
Here, an example in which the control right request number detection unit 12-5 detects the control right request number will be described. That is, a specific operation in step S302 is described. In this example, the control right request count is stored in the database, the control right request count is incremented by “+1” every time a control right request is received from the display operation terminal, and the control right request is issued every time the control right is given to the display operation terminal. The number of control right requests is updated by the number “−1”. Then, the current number of control right requests is detected by referring to the number of control right requests in the database. The database is realized by using the
<制御権占有時間算出のタイミング>
次に、制御権占有時間算出のタイミングについて説明する。制御権要求数に応じた制御権占有時間を動的に算出する本実施の形態のネットワークカメラシステム10においては、制御権占有時間を算出するタイミングによって、表示操作端末に与える制御権占有時間が異なる。制御権占有時間を算出するタイミングの例として、以下の2通りが挙げられる。
(1)表示操作端末からカメラサーバ装置12への制御権要求受付時
(2)表示操作端末への制御権付与時
<Timing for calculating control occupancy time>
Next, the timing for calculating the control right occupation time will be described. In the
(1) When a control right request is received from the display operation terminal to the camera server device 12 (2) When a control right is granted to the display operation terminal
まず、上記(1)のタイミング、即ち、表示操作端末からカメラサーバ装置12への制御権要求受付時に制御権占有時間を算出する例を以下に説明する。図4は、表示操作端末からカメラサーバ装置12への制御権要求受付時に、制御権占有時間を算出する、主にカメラサーバ装置12における運用のフローチャートである。このフローチャートを基に、表示操作端末からカメラサーバ装置12への制御権要求受付時に制御権占有時間を算出する例を説明する。
First, an example in which the control right occupation time is calculated at the time of the above (1), that is, when the control right request is received from the display operation terminal to the
まず、ステップS401において、制御権管理部12−2は、ネットワークインタフェース12−1を介して表示操作端末の制御権要求を受け付ける。 First, in step S401, the control right management unit 12-2 receives a control right request for the display operation terminal via the network interface 12-1.
制御権管理部12−2が表示操作端末の制御権要求を受け付けた後、ステップS402において、制御権要求数検知部12−5は制御権要求数を検知する。 After the control right management unit 12-2 receives the control right request for the display operation terminal, in step S402, the control right request number detection unit 12-5 detects the control right request number.
次に、ステップS403において、制御権占有時間算出部12−6は、後述する制御権占有時間算出式を用いて制御権占有時間を算出する。更には、表示操作端末の持つIDと算出した制御権占有時間とを対応付けして、不図示のデータベース内の「表示操作端末ID−制御権占有時間テーブル」に追加する。図5に「表示操作端末−制御権占有時間テーブル」の例を示す。 Next, in step S403, the control right occupation time calculation unit 12-6 calculates the control right occupation time using a control right occupation time calculation formula described later. Furthermore, the ID of the display operation terminal and the calculated control right occupation time are associated with each other and added to the “display operation terminal ID-control right occupation time table” in a database (not shown). FIG. 5 shows an example of “display operation terminal-control right occupation time table”.
その後、ステップS404において、表示操作端末は制御権が付与されるのを待ち、ステップS405において、制御権管理部12−2は、データベースに格納された制御権占有時間に従って制御権付与・運用・剥奪処理を実行する。なお、制御権付与・運用・剥奪処理は既存の技術を用いればよく、ここではその詳細な説明は省略する。 Thereafter, in step S404, the display operation terminal waits for the control right to be granted, and in step S405, the control right management unit 12-2 grants the control right according to the control right occupation time stored in the database. Execute the process. It should be noted that the existing technology may be used for the control right granting / operation / deprivation processing, and detailed description thereof is omitted here.
次に、上記(2)のタイミング、即ち、表示操作端末への制御権付与時に制御権占有時間を算出する例を以下に説明する。図6は、表示操作端末への制御権付与時に、制御権占有時間を算出する、主にカメラサーバ装置12における運用のフローチャートである。このフローチャートを基に、表示操作端末への制御権付与時に制御権占有時間を算出する例を説明する。
Next, an example of calculating the control right occupation time at the timing (2), that is, when the control right is given to the display operation terminal will be described below. FIG. 6 is a flowchart of the operation mainly in the
まず、ステップS601において、制御権管理部12−2は、ネットワークインタフェース12−1を介して表示操作端末の制御権要求を受け付ける。 First, in step S601, the control right management unit 12-2 receives a control right request for the display operation terminal via the network interface 12-1.
ステップS602において、表示操作端末は制御権が付与されるのを待ち、制御権が付与される順番がまわってきた時に(即ちこの表示操作端末への制御権付与時に)、ステップS603において、制御権要求数検知部12−5は制御権要求数を検知する。 In step S602, the display operation terminal waits for the control right to be granted, and when the order in which the control right is given changes (that is, when the control right is given to the display operation terminal), in step S603, the control right is given. The request count detection unit 12-5 detects the control right request count.
次に、ステップS604において、ステップS403と同様に、制御権占有時間算出部12−6が、ステップS603の結果を基に後述する制御権占有時間算出式を用いて制御権占有時間を算出する。 Next, in step S604, as in step S403, the control right occupation time calculation unit 12-6 calculates a control right occupation time using a control right occupation time calculation formula described later based on the result of step S603.
その後、ステップS605において、制御権管理部12−2は、算出した制御権占有時間に従って制御権付与・運用・剥奪処理を実行する。 Thereafter, in step S605, the control right management unit 12-2 executes control right grant / operation / deprivation processing according to the calculated control right occupation time.
<制御権占有時間算出式>
ここで、上記ステップS403及びステップS604において、制御権占有時間算出部12−6が制御権占有時間算出を行う算出式である制御権占有時間算出式の例を示す。
<Control right occupation time calculation formula>
Here, an example of a control right occupation time calculation formula, which is a calculation formula for calculating the control right occupation time by the control right occupation time calculation unit 12-6 in the above-described step S403 and step S604, is shown.
第1の例として、カメラサーバ装置12へ制御権を要求している表示操作端末の制御権を要求してから制御権を得るまでの待ち時間が一定となるように制御権占有時間を算出する例を説明する。この場合、以下の式で表される。
制御権占有時間=待ち時間/制御権要求数
As a first example, the control right occupation time is calculated so that the waiting time from when the control right of the display operation terminal requesting the control right is requested to the
Control right occupation time = waiting time / number of control right requests
この場合、例えば、待ち時間を5分としたとき、制御権要求数が5ならば、そのときの制御権占有時間は5/5=1分となり、制御権要求数が21ならば、制御権占有時間は5/21=14秒となる。 In this case, for example, when the waiting time is 5 minutes and the number of control right requests is 5, the control right occupation time at that time is 5/5 = 1 minute. The occupation time is 5/21 = 14 seconds.
第2の例として、カメラサーバ装置12への制御権要求数に比例して制御権占有時間を減少させるように算出する例を説明する。この場合、以下の式で表される。
制御権占有時間=a×制御権要求数+b(a<0)
As a second example, an example will be described in which calculation is performed so that the control right occupation time is reduced in proportion to the number of control right requests to the
Control right occupation time = a × number of control right requests + b (a <0)
この場合、例えば、「制御権占有時間=−3×制御権要求数+75」という式を立てたとき、制御権要求数が5ならば制御権占有時間は60秒となり、制御権要求数が20ならば制御権占有時間は15秒となる。 In this case, for example, when the formula “control right occupation time = −3 × number of control right requests + 75” is established, if the number of control right requests is 5, the control right occupation time is 60 seconds, and the number of control right requests is 20 Then, the control right occupation time is 15 seconds.
以上に説明したような算出式はカメラサーバ装置12の内部のROM302等に保持させておけばよい。
The calculation formula as described above may be held in the
以上のように、第1の実施の形態では、まず、制御権要求を受け付け(ステップS401、S601)、所定のタイミングで制御権要求している表示操作端末の数(制御権要求数)を検知する(ステップS402、S603)。そして、その制御権要求数に応じた制御権占有時間を算出し(ステップS403、S604)、算出した制御権占有時間に従って制御権付与・運用・剥奪処理を実行する(ステップS405、S605)。 As described above, in the first embodiment, first, a control right request is received (steps S401 and S601), and the number of display operation terminals that request the control right at a predetermined timing (the number of control right requests) is detected. (Steps S402 and S603). Then, the control right occupation time corresponding to the number of control right requests is calculated (steps S403 and S604), and the control right grant / operation / deprivation processing is executed according to the calculated control right occupation time (steps S405 and S605).
なお、本実施の形態においては、制御権占有時間を算出する制御権占有時間算出部12−6及び算出式を保持しているROM302で占有時間決定手段が構成される。また、本実施の形態では、制御権占有時間を決定するために算出式を用いたが、後述する第2の実施の形態で説明するように、制御権要求数とそれに対応する制御権占有時間とが決められた情報である占有時間テーブルを用いて制御権占有時間を決定してもよい。
In the present embodiment, an occupation time determination unit is configured by the control authority occupation time calculation unit 12-6 that calculates the control authority occupation time and the
(第2の実施の形態)
第2の実施の形態では、第1の実施の形態では内部に保持した制御権占有時間算出式、又は制御権占有時間を決定する情報を、外部ファイルに持たせることでネットワークカメラシステム運用の可能性をさらに広げる例を示す。
(Second Embodiment)
In the second embodiment, the network camera system can be operated by providing an external file with the control right occupation time calculation formula held in the first embodiment or information for determining the control right occupation time. An example of further expanding the sex will be shown.
第2の実施の形態に係るネットワークシステムの構成と運用の流れを、第2の実施の形態に係るネットワークカメラシステムの構成図である図7と、運用のフローチャートである図8を用いて説明する。なお、第2の実施の形態に係るネットワークカメラシステム70において、第1の実施の形態のネットワークカメラシステム10との共通部分に関しては、同符号で示し、その説明を省略する。
The configuration and operation flow of the network system according to the second embodiment will be described with reference to FIG. 7 which is a configuration diagram of the network camera system according to the second embodiment and FIG. 8 which is an operation flowchart. . Note that in the
本実施の形態に係るネットワークカメラシステム70と第1の実施の形態に係るネットワークカメラシステム10との相違点は、カメラサーバ装置72が外部ファイル情報を記憶するためのデータベース(外部ファイル情報)72−7を有する点にある。以下、運用の流れを図8のフローチャートを基に説明する。
The difference between the
まず、ステップS801において、ネットワークカメラシステム70の稼動の前に、管理者は外部ファイルを設定しておく。外部ファイルの詳細については後述する。
First, in step S801, the administrator sets an external file before the
次に、ステップS802において、ステップS801で設定された外部ファイルがネットワークインタフェース12−1を介してロードされる。 In step S802, the external file set in step S801 is loaded via the network interface 12-1.
次に、ステップS803において、制御権管理部12−2は、ネットワークインタフェース12−1を介して表示操作端末の制御権要求を受け付ける。 In step S803, the control right management unit 12-2 receives a control right request for the display operation terminal via the network interface 12-1.
次に、ステップS804において、制御権要求数検知部12−5は制御権要求数を検知する。 Next, in step S804, the control right request count detection unit 12-5 detects the control right request count.
次に、ステップS805において、制御権占有時間算出部12−6は、ステップS804で検知した制御権要求数と、データベース72−7に格納された外部ファイルとを基に制御権占有時間を算出し、データベースに格納する。 Next, in step S805, the control right occupation time calculation unit 12-6 calculates the control right occupation time based on the number of control right requests detected in step S804 and the external file stored in the database 72-7. Store it in the database.
次に、ステップS806において、表示操作端末は制御権が付与されるのを待ち、ステップS807において、制御権管理部12−2は、データベースに格納された制御権占有時間に従って制御権付与・運用・剥奪処理を実行する。 Next, in step S806, the display operation terminal waits for the control right to be granted, and in step S807, the control right management unit 12-2 assigns the control right according to the control right occupation time stored in the database. Perform stripping process.
<外部ファイル>
ここで、制御権占有時間算出部12−6において制御権占有時間算出を行う際に使用する外部ファイルの例を以下に示す。
<External file>
Here, an example of an external file used when the control right occupation time calculation unit 12-6 performs the control right occupation time calculation is shown below.
まず、(1)制御権要求数に対する制御権占有時間をリストとして持つ「制御権占有時間テーブル(占有時間テーブル)」を持つ場合について説明する。 First, (1) a case of having a “control right occupation time table (occupation time table)” having a list of control right occupation times with respect to the number of control right requests will be described.
制御権占有時間算出部12−6における制御権占有時間算出時に、制御権要求数検知部12−5で検知した制御権要求数を基に、データベース72−7に格納された「制御権占有時間テーブル」を参照することで制御権占有時間を決定する。図9に制御権占有時間テーブルの例を示す。 When the control right occupation time calculation unit 12-6 calculates the control right occupation time, the “control right occupation time” stored in the database 72-7 based on the control right request number detected by the control right request number detection unit 12-5. The control right occupation time is determined by referring to the table. FIG. 9 shows an example of the control right occupation time table.
次に、(2)制御権占有時間算出式を持つ場合について説明する。 Next, (2) the case of having a control right occupation time calculation formula will be described.
上記ステップS802で制御権占有時間算出式をデータベース72−7にロードする。制御権占有時間算出式の例については第1の実施の形態で説明したものと同様とする。この際、制御権占有時間算出式において、制御権要求数をx、制御権占有時間をyとし、それ以外の変数は含まないものとする。また、制御権占有時間算出式の左辺は必ずyとして、外部ファイルに記述する。 In step S802, the control right occupation time calculation formula is loaded into the database 72-7. An example of the control right occupation time calculation formula is the same as that described in the first embodiment. At this time, in the control right occupation time calculation formula, the number of control right requests is x, the control right occupation time is y, and other variables are not included. Also, the left side of the control right occupation time calculation formula is always written as y in the external file.
そして、制御権占有時間算出部12−6における制御権占有時間算出時(上記ステップS805)に、ステップS804の結果である制御権要求数を制御権占有時間算出式のxに代入することで制御権占有時間yを算出する。 Then, when the control right occupation time calculation unit 12-6 calculates the control right occupation time (step S805), the control right request count as a result of step S804 is substituted into x of the control right occupation time calculation formula. The right occupation time y is calculated.
以上のように、第2の実施の形態では、まず、管理者が設定した制御権占有時間算出の際に使用する外部ファイルをデータベース72−7にロードする(ステップS802)。次に、制御権要求を受け付け(ステップS803)、所定のタイミングで制御権要求している表示操作端末の数(制御権要求数)を検知する(ステップS804)。そして、データベース72−7に格納された外部ファイル情報を基に、検知した制御権要求数に応じた制御権占有時間を算出し(ステップS805)、算出した制御権占有時間に従って制御権付与・運用・剥奪を行う(ステップS807)。 As described above, in the second embodiment, first, the external file used when calculating the control right occupation time set by the administrator is loaded into the database 72-7 (step S802). Next, a control right request is accepted (step S803), and the number of display operation terminals (the number of control right requests) requesting the control right at a predetermined timing is detected (step S804). Then, based on the external file information stored in the database 72-7, a control right occupation time corresponding to the detected number of control right requests is calculated (step S805), and control right granting / operation is performed according to the calculated control right occupation time. Stripping is performed (step S807).
このように外部ファイルに従って制御権占有時間を算出することにより、制御権占有時間の算出方法に変更が生じた場合でも、外部ファイルを差し替えるだけで対応することができる。よって、カメラサーバ装置72の内部のロジック変更や再コンパイルの手間が省け、ネットワーク撮影システムの運用の可能性が広がる。
By calculating the control right occupation time according to the external file in this way, even when the calculation method of the control right occupation time is changed, it is possible to cope with it by simply replacing the external file. Therefore, the trouble of changing the logic inside the
なお、本実施の形態では、表示操作端末からカメラサーバ装置72への制御権要求受付時に制御権占有時間を算出する例を説明したが、第1の実施の形態で説明した表示操作端末への制御権付与時のタイミングで制御権占有時間を算出する構成としてもよい。
In this embodiment, the example in which the control right occupation time is calculated when the control right request is received from the display operation terminal to the
(第3の実施の形態)
第3の実施の形態では、第1の実施の形態において、現在制御権が付与されている表示操作端末に与える制御権占有時間を、他の表示操作端末からの制御権要求受付の度に算出し直し、現在制御権を占有している表示操作端末の制御権占有時間に動的に適用する。これにより、運用の幅を広げる例を示す。
(Third embodiment)
In the third embodiment, in the first embodiment, the control right occupation time to be given to the display operation terminal to which the control right is currently assigned is calculated every time a control right request is received from another display operation terminal. It is dynamically applied to the control right occupation time of the display operation terminal that currently occupies the control right. This shows an example of expanding the range of operation.
本実施の形態のネットワークカメラシステムの構成は、第1の実施の形態と同様のため、その説明を省略する。図10に示すフローチャートを基に運用の流れを説明する。 Since the configuration of the network camera system of the present embodiment is the same as that of the first embodiment, description thereof is omitted. The operational flow will be described based on the flowchart shown in FIG.
まず、ステップS1001において、制御権管理部12−2は、ネットワークインタフェース12−1を介して表示操作端末の制御権要求を受け付ける。 First, in step S1001, the control right management unit 12-2 receives a control right request for the display operation terminal via the network interface 12-1.
次に、ステップS1002において、表示操作端末は制御権が付与されるのを待ち、制御権が付与される順番がまわってきた時に(即ちこの表示操作端末への制御権付与時に)、ステップS1003において制御権要求数検知部12−5は制御権要求数を検知する。 Next, in step S1002, the display operation terminal waits for the control right to be granted, and when the order in which the control right is given changes (that is, when the control right is given to the display operation terminal), in step S1003. The control right request count detection unit 12-5 detects the control right request count.
次に、ステップS1004において、制御権占有時間算出部12−6が、ステップS1003の結果を基に制御権占有時間を算出し、データベースに格納する。 Next, in step S1004, the control right occupation time calculation unit 12-6 calculates the control right occupation time based on the result of step S1003 and stores it in the database.
次に、制御権管理部12−2は、算出した制御権占有時間に従って制御権を付与し、ステップS1006において、制御権占有時間計測用のタイマー310にカウントアップを開始させる。
Next, the control right management unit 12-2 grants a control right according to the calculated control right occupation time, and causes the
次に、ステップS1007において、データベースに格納した制御権占有時間とタイマーの時間とを比較する。タイマーの値がデータベースに格納された制御権占有時間以下の場合は、ステップS1008に進み、他の表示操作端末から制御権要求があるかを判断する。 In step S1007, the control right occupation time stored in the database is compared with the timer time. If the timer value is equal to or less than the control right occupation time stored in the database, the process proceeds to step S1008, and it is determined whether there is a control right request from another display operation terminal.
次に、ステップS1008において他の表示操作端末から制御権要求があった場合、ステップS1009において、再度制御権要求数の検知を行う。そして、ステップS1010において、その結果に対応した制御権占有時間を算出し、データベースの制御権占有時間を更新する。 Next, when there is a control right request from another display operation terminal in step S1008, the number of control right requests is detected again in step S1009. In step S1010, the control right occupation time corresponding to the result is calculated, and the control right occupation time of the database is updated.
タイマーの値がデータベースに格納された制御占有時間を超えた場合は、ステップS1011に進み、制御権を剥奪する。 When the value of the timer exceeds the control occupation time stored in the database, the process proceeds to step S1011 and the control right is deprived.
以上のように、第3の実施の形態では、現在制御権が付与されている表示操作端末に与える制御権占有時間を、他の操作表示端末からの制御権要求受付の度に算出し直す。そして、それを制御権を占有している表示操作端末の制御権占有時間に動的に適用することによって、ネットワークカメラシステムの混雑度を制御権占有時間にリアルタイムに反映でき、ネットワークカメラシステムの利便性がさらに向上する。 As described above, in the third embodiment, the control right occupation time given to the display operation terminal to which the control right is currently assigned is recalculated every time a control right request is received from another operation display terminal. By dynamically applying it to the control right occupation time of the display operation terminal that occupies the control right, the congestion degree of the network camera system can be reflected in the control right occupancy time in real time. The nature is further improved.
(第4の実施の形態)
第4の実施の形態では、第3の実施の形態同様に、表示操作端末に与える制御権占有時間を、他の操作表示端末からの制御権要求受付の度に算出し直すようにしたネットワークカメラシステムをより詳細に説明する。
(Fourth embodiment)
In the fourth embodiment, as in the third embodiment, a network camera in which the control right occupation time given to the display operation terminal is recalculated every time a control right request is received from another operation display terminal. The system will be described in more detail.
図11は、第4の実施の形態に係るネットワークカメラシステムの概略構成図である。図11において、110は撮像機能を有するネットワークカメラサーバであり、本発明でいう管理装置として機能する。120はネットワークであり、LAN、WAN、或いはインターネット等である。130a及び130bは遠隔地からカメラ制御の命令を出すカメラ制御クライアント(以下、単にクライアントという)であり、本発明でいう操作端末として機能する。
FIG. 11 is a schematic configuration diagram of a network camera system according to the fourth embodiment. In FIG. 11,
なお、ネットワークカメラサーバ110、クライアント130a及び130bは、それぞれ第1の実施の形態の撮影装置11及びカメラサーバ装置12、表示操作端末13−1〜13−Nに相当する。また、カメラ部110aはネットワークカメラサーバ110と一体で構成されているが、第1の実施の形態と同様に、別体としても構わない。また、図示においては、クライアント130a及び130bは2台のみであるが、これら以外にも複数接続されているものとする。
Note that the
ネットワークカメラサーバ110において、110aはパン、チルト、ズーム等、撮像視点を制御可能なカメラ部であり、制御された撮像視点の映像を撮影する。110bはカメラ制御部であり、遠隔地からの要求に応じてカメラ部110aを制御する。110cは制御権管理部であり、複数のクライアントからの要求に対してカメラ部110aの制御権を管理する。110dはメッセージ取得部であり、クライアント130a、130b等から発行されるメッセージを取得する。
In the
図12は、本実施の形態のネットワークカメラサーバ110のシステム構成を示すブロック図である。図12において、1201はCPUであり、ネットワークカメラサーバ110における各種制御を行う。1202はROMであり、CPU1201によって実行される各種の制御プログラムを格納する。1203はRAMであり、CPU1201が各種の制御を実行するに際して必要な作業領域を提供する。
FIG. 12 is a block diagram illustrating a system configuration of the
1221はカメラ部110aを構成する撮像部であり、撮影によって得られた映像信号を出力する。撮像部1221より出力された映像信号は、カメラ映像インタフェース1204を介して、RAM1203へ転送される。1222はカメラ部110aを構成する機構制御部であり、カメラ駆動インタフェース1205を介して送信される制御命令によりパン、チルト、ズーム等を制御する。
1206はネットワークインタフェースであり、ネットワーク120上のクライアント130a、130bとの通信を実現する。1210はタイマーであり、制御権取得からの経過時間を計時し、予め設定されたタイマー満了時間が経過したことを検出してCPU1201に通知する。1211はバスであり、上述の各構成を接続する。
タイマー1210は、前記タイマー満了時間に基づいて動作するが、該タイマー満了時間は計時開始後にも動的に変更可能であり、変更されると変更後の値に応じてCPU1201への通知動作を行う。このとき、変更後の値が経過時間を下回っていた場合、設定直後に満了を検出しCPU1201へ通知する。
The
図11で示したカメラ制御部110b、制御権管理部110c、メッセージ取得部110dの各機能は、CPU1201がROM1202に格納された制御プログラムもしくはRAM1203にロードされた制御プログラムを実行することによって実現される。
Each function of the
以上のような構成を備えた本実施の形態のネットワークカメラシステムにおいて、ネットワークカメラサーバ110は、複数のクライアントからのカメラ部110aに対する制御権要求を管理し、各クライアントに対する制御権の付与を制御する。以下、本実施形態によるネットワークカメラシステムの動作を説明する。
In the network camera system of the present embodiment having the above-described configuration, the
制御権管理部110cは、各クライアントに対するカメラ制御権の付与を管理するためにカメラ制御キューを有する。図13は本実施の形態におけるカメラ制御キューの構造を示す図である。
The control
このカメラ制御キューはRAM1203に格納されるものであり、カメラ制御を要求したクライアントのIDが登録される。C21がキューの先頭要素であり、ID=112のクライアントが、現在カメラ制御権を持っている。また、C22はC21の次にカメラ制御権を持つクライアントのIDが登録され、C23はC22の次にカメラ制御権を持つクライアントのIDが登録される。
This camera control queue is stored in the
遠隔地にあるクライアント130a、130b等から発行されるメッセージには、カメラ制御権獲得要求、カメラ制御要求、カメラ制御権獲得放棄要求、の3種がある。
There are three types of messages issued from
図14はクライアントからネットワークカメラサーバ110に送られるメッセージの構造を説明する図である。同図において、図14(a)はカメラ制御権獲得要求メッセージの構造を、図14(b)はカメラ制御要求メッセージの構造を、図14(c)はカメラ制御権獲得放棄要求メッセージの構造をそれぞれ示している。各メッセージは、当該メッセージの種別を表すメッセージIDと、当該メッセージの発行元であるクライアントを示すクライアントIDとを有する。以下、各メッセージの構造を説明する。
FIG. 14 is a view for explaining the structure of a message sent from the client to the
図14(a)に示すように、カメラ制御権獲得要求メッセージ1401は、メッセージID1411にカメラ制御権獲得要求を意味する「1」を、クライアントID1412に「201」をそれぞれ持つ。つまり、メッセージID1411とクライアントID1412とから成るメッセージである。なお、「201」はクライアントの有する識別番号である。
As shown in FIG. 14A, the camera control right
図14(b)に示すように、カメラ制御要求メッセージ1402は、メッセージID1414にカメラ制御要求を意味する「2」を、クライアントID1415に「201」をそれぞれ持つ。更に、それに加えてパン角1416、チルト角1417、ズーム1418といったカメラ制御パラメータ値を持つメッセージである。
As shown in FIG. 14B, the camera
図14(c)に示すように、カメラ制御権獲得放棄要求メッセージ1403は、メッセージID1419にカメラ制御権獲得放棄要求を意味する「3」を、クライアントID1420に「201」をそれぞれ持つ。つまり、メッセージID1419とクライアントID1420とから成るメッセージである。
As shown in FIG. 14C, the camera control right acquisition
クライアントは、カメラ110aを制御したいとき、ネットワークカメラサーバ110にネットワーク120を介してカメラ制御権獲得要求を発行する。その後、パン、チルト、ズーム等の値を含むカメラ制御要求を発行する。カメラ制御権を得ることをあきらめるとき、又は既得のカメラ制御権を放棄するときは、カメラ制御権獲得放棄要求を発行する。
When the client wants to control the camera 110a, the client issues a camera control right acquisition request to the
図15はネットワークカメラサーバ110がカメラ制御クライアントに制御権を与える際に、付与するカメラ制御可能時間、即ち、制御権占有時間を決定するためのカメラ制御可能時間テーブルを示す図である。
FIG. 15 is a diagram showing a camera controllable time table for determining a camera controllable time to be given when the
図15において、1501はカメラ制御権獲得要求を発行しカメラ制御キューに登録されているクライアントID数を示す。1502は付与するカメラ制御可能時間を示している。付与するカメラ制御可能時間を決定する際には、該カメラ制御可能時間テーブルを参照し、例えばカメラ制御キューに登録されているクライアントID数が10以下ならカメラ制御可能時間を30秒、11以上50以下なら20秒と決定する。
In FIG. 15,
図16〜図18は本実施の形態におけるネットワークカメラサーバ110の処理手順を示すフローチャートである。図16のフローチャートは、メッセージがネットワークカメラサーバ110に送られてきた際にネットワークカメラサーバ110が行う処理を示す。また、図18のフローチャートは、タイマー1210が設定時間の満了を検出した際にネットワークカメラサーバ110が行う処理を示す。いずれの処理もCPU1201が、ROM1202に格納されている制御プログラムを基に、RAM1203をワーク領域として利用して行うものである。
16 to 18 are flowcharts showing the processing procedure of the
まず、図16及び図17を参照して、メッセージがネットワークカメラサーバ110に送られてきた際にネットワークカメラサーバ110が行う処理を説明する。図16のステップS1601において、メッセージ取得部110dが、メッセージを受け取ると、それを制御権管理部110cに渡す。
First, a process performed by the
次に、ステップS1602において、制御権管理部110cは、受け取ったメッセージの種別を当該メッセージに含まれるメッセージIDを基に判別する。
Next, in step S1602, the control
ステップS1602での判別結果がカメラ制御権取得要求(メッセージIDが「1」)であれば、ステップS1605に進み、カメラ制御キューに当該クライアントIDがあるかないかを調べる。ない場合は、ステップS1606に進み、カメラ制御キューに当該クライアントIDを追加する。 If the determination result in step S1602 is a camera control right acquisition request (message ID is “1”), the process advances to step S1605 to check whether or not the client ID exists in the camera control queue. If not, the process proceeds to step S1606, and the client ID is added to the camera control queue.
その後、ステップS1607において、カメラ制御キューにいくつクライアントIDが登録されているかを調べる。 Thereafter, in step S1607, it is checked how many client IDs are registered in the camera control queue.
ステップS1607で登録されているクライアントIDが1つ、つまりステップS1606で追加したクライアントIDのみである場合は、当該クライアントがカメラ制御権を即座に獲得することとなる。その場合、まず、ステップS1611において、前記カメラ制御可能時間テーブルから、現在のカメラ制御キューの待ちクライアントID数を基にカメラ制御可能時間を取得する。そして、ステップS1612において、タイマー1210に、取得したカメラ制御可能時間をタイマー満了時間として設定し計時開始制御を行う。
If there is only one client ID registered in step S1607, that is, only the client ID added in step S1606, the client immediately acquires the camera control right. In this case, first, in step S1611, the camera controllable time is acquired from the camera controllable time table based on the number of waiting client IDs in the current camera control queue. In step S1612, the acquired camera controllable time is set as the timer expiration time in the
一方、ステップS1607で登録されているクライアントIDが複数(2つ以上)である場合、つまり現在カメラ制御権を獲得中の別のクライアントが存在した場合、当該クライアントは即座にはカメラ制御権を獲得できず順番待ちに入る。このとき、まず、ステップS1608において、当該クライアントIDを追加したことにより、カメラ制御可能時間に変化があったかどうかを調べる。 On the other hand, if there are a plurality (two or more) of client IDs registered in step S1607, that is, if there is another client that is currently acquiring the camera control right, the client immediately acquires the camera control right. Can't do it and waits in turn. At this time, first, in step S1608, it is checked whether or not the camera controllable time has changed due to the addition of the client ID.
ステップS1608でカメラ制御可能時間に変化があったときとは、例えば当該クライアントIDを追加するまでは9つのクライアントIDがカメラ制御キューに登録されており、当該クライアントIDを追加することで10つとなった場合である。即ち、カメラ制御可能時間テーブルによるとカメラ制御可能時間がそれまでは30秒だったのが、20秒に変化したといった場合を指す。ステップS1608でカメラ制御可能時間に変化がなかったときとは、例えばそれまで3つだったのが4つになった場合である。この場合、カメラ制御可能時間テーブルから決定されるカメラ制御可能時間は30秒のまま変化がないので、この場合はカメラ制御可能時間の変化には該当しない。 When the camera controllable time has changed in step S1608, for example, nine client IDs are registered in the camera control queue until the client ID is added, and the number becomes 10 by adding the client ID. This is the case. That is, according to the camera controllable time table, the camera controllable time is 30 seconds before, but changes to 20 seconds. The time when there is no change in the camera controllable time in step S1608 is, for example, the case where there are now four that have been three. In this case, since the camera controllable time determined from the camera controllable time table remains 30 seconds and does not change, this case does not correspond to a change in the camera controllable time.
ステップS1608でカメラ制御可能時間に変化があった場合は、ステップS1609において現在カメラ制御権を所有するカメラ制御キューの先頭に登録されているクライアントIDの残りのカメラ制御可能時間を再決定する。 If the camera controllable time has changed in step S1608, the remaining camera controllable time of the client ID registered at the head of the camera control queue that currently owns the camera control right is re-determined in step S1609.
更に、ステップS1610でタイマー1210に再決定された新カメラ制御可能時間Tnを設定する。このような再設定動作は、例えば以下のような式で決定される。
Tn = Tr × (Tc ÷ Tp)
ここで、上記式において、Trはタイマー1210から取得する現在のカメラ制御可能時間の残り時間であり、Tpはカメラ制御可能時間テーブルから取得する変化前のカメラ制御可能時間であり、Tcは変化後のカメラ制御可能時間である。
Furthermore, the new camera controllable time Tn re-determined in the
Tn = Tr × (Tc ÷ Tp)
Here, in the above equation, Tr is the remaining time of the current camera controllable time acquired from the
上記式により、新カメラ制御可能時間Tnをタイマー1210に再設定することで、再設定動作は実現される。
The resetting operation is realized by resetting the new camera controllable time Tn to the
例えば、現在のカメラ制御可能時間の残り時間Trが15秒、変化前のカメラ制御可能時間Tpが30秒、変化後のカメラ制御可能時間Tcが20秒であった場合は以下のようになる。
Tn = 15 × (20 ÷ 30) = 10
For example, when the remaining time Tr of the current camera controllable time is 15 seconds, the camera controllable time Tp before the change is 30 seconds, and the camera controllable time Tc after the change is 20 seconds, the following is performed.
Tn = 15 × (20 ÷ 30) = 10
即ち、10秒が新カメラ制御可能時間となる。このとき、新カメラ制御可能時間が割り切れない場合は、タイマー1210の分解能(例えばms(ミリセカンド)等)までを有効時間とし、それ以下は切り上げもしくは切り下げにより新カメラ制御可能時間を決定する。 That is, 10 seconds is the new camera controllable time. At this time, if the new camera controllable time is not divisible, the resolution up to the resolution of the timer 1210 (for example, ms (milliseconds)) is set as the effective time, and after that, the new camera controllable time is determined by rounding up or down.
また、ステップS1602での判別結果がカメラ制御要求(メッセージIDが「2」)であれば、ステップS1603に進み、要求を出したクライアントがカメラ制御キューの先頭要素であるかどうか調べる。 If the determination result in step S1602 is a camera control request (message ID is “2”), the process advances to step S1603 to check whether the requesting client is the head element of the camera control queue.
カメラ制御キューの先頭要素のクライアントであれば、カメラ制御が可能なため、当該カメラ制御要求メッセージに付与されているカメラ制御パラメータに基づいて、カメラ部110aの機構制御部1222に送るカメラ制御コマンド及びパラメータを生成する。そして、ステップS1604において、これらカメラ制御コマンド及びパラメータをカメラ駆動インタフェース1205を介して機構制御部1222に送る。機構制御部1222はその指示を受け取ると、指示に応じてチルト、パン、ズーム等を実行し、撮像視点を変える。
Since the client can be controlled by any client at the head element of the camera control queue, a camera control command to be sent to the
また、ステップS1603で現在のカメラ制御キューの先頭要素(現在のカメラ制御可能クライアント)でなければ、本処理をそのまま終了する。即ち、ステップS1601で受信したカメラ制御要求メッセージを破棄する。 If it is determined in step S1603 that the current element is not the head element of the current camera control queue (current camera controllable client), this process ends. That is, the camera control request message received in step S1601 is discarded.
また、ステップS1602での判別結果がカメラ制御権獲得放棄要求(メッセージIDが「3」)であれば、ステップS1613に進み、サブルーチンSubAを実行する。ただし、ここでは引数idにメッセージ送信クライアントIDを渡してサブルーチンを実行する。 If the determination result in step S1602 is a camera control right acquisition waiver request (message ID is “3”), the process proceeds to step S1613, and the subroutine SubA is executed. However, here, the subroutine is executed by passing the message transmission client ID to the argument id.
図17はサブルーチンSubAにおける制御手順を示すフローチャートである。まず、ステップS1711において、引数idが先頭要素かどうか調べる。先頭要素であった場合は、ステップS1712に進み、先頭要素でなかった場合は、ステップS1714に進む。 FIG. 17 is a flowchart showing a control procedure in the subroutine SubA. First, in step S1711, it is checked whether or not the argument id is the first element. If it is the first element, the process proceeds to step S1712. If it is not the first element, the process proceeds to step S1714.
ステップS1712において、次の制御可能クライアントのカメラ制御可能時間を、現在のカメラ制御キューに登録されているクライアントID数を基にカメラ制御可能時間テーブルから決定する。 In step S1712, the camera controllable time of the next controllable client is determined from the camera controllable time table based on the number of client IDs registered in the current camera control queue.
次に、ステップS1713において、ステップS1712で決定した値をタイマー満了時間としてタイマー1210に設定する。
Next, in step S1713, the value determined in step S1712 is set in the
そして、ステップS1714において、カメラキューからidで指定された要素を削除する。ここでは、カメラ制御キューから先頭要素(図13のC21)が削除される。 In step S1714, the element designated by id is deleted from the camera queue. Here, the head element (C21 in FIG. 13) is deleted from the camera control queue.
以上のサブルーチンSubAの処理を整理すると、引数idが先頭要素であれば、次の制御可能クライアントのカメラ制御可能時間をセットする(ステップS1712、S1713)。そして、カメラ制御キューからその要素のクライアントIDを削除する(ステップS1714)。また、引数idの示すクライアントIDが先頭要素でなければ、単に当該クライアントIDをカメラ制御キューより削除する(ステップS1714)。以上のようにして、カメラ制御権獲得放棄要求メッセージによってカメラ制御キューより対応するクライアントIDが削除される。 To summarize the processing of the above subroutine SubA, if the argument id is the first element, the camera controllable time of the next controllable client is set (steps S1712 and S1713). Then, the client ID of the element is deleted from the camera control queue (step S1714). If the client ID indicated by the argument id is not the first element, the client ID is simply deleted from the camera control queue (step S1714). As described above, the corresponding client ID is deleted from the camera control queue by the camera control right acquisition abandon request message.
続いて、図18を参照して、タイマー1210がタイマー満了時間の経過を検出した際のネットワークカメラサーバ110が行う処理を説明する。この処理動作は、ステップS1801において、タイマー1210が設定されたタイマー満了時間を経過し、CPU1201へ通知することで開始される。
Next, a process performed by the
ステップS1801において、タイマー1210が満了時間を経過し、CPU1201への通知を行うと、ステップS1802において、図17のサブルーチンSubAを実行する。タイマー1210の満了時間の経過は、現在のカメラ制御権保持クライアントのカメラ制御可能時間がなくなったことを示すため、ここでは引数idに現在の制御キューの先頭要素のクライアントIDを渡してサブルーチンを実行する。ステップS1802のサブルーチン実行により、それまでのカメラ制御権保持クライアントIDがカメラ制御キューから削除される。
In step S1801, when the
ここで、カメラ制御クライアント側のユーザインタフェースを説明する。図19は、本実施の形態におけるカメラ制御クライアントでの表示例を示す図である。 Here, the user interface on the camera control client side will be described. FIG. 19 is a diagram showing a display example on the camera control client in the present embodiment.
図19において、1901は映像表示ウインドウであり、カメラ110aで撮影される映像データに基づいた表示がなされる。1902はチルト指示用のスクロールバーであり、マウスカーソル1905の操作によってスクロールバー1902を上下に動かすことにより、カメラ部110aに対するチルト動作を指示するカメラ制御要求メッセージが発行される。また、1903はパン指示用のスクロールバーであり、マウスカーソル1905の操作によってスクロールバー1902を左右に動かすことにより、カメラ部110aに対するパン動作を指示するカメラ制御要求メッセージが発行される。更に、1904はカメラ110aのズーム動作を指示する為のスクロールバーであり、マウスカーソル1905の操作によってスクロールバー1904を左右に動かすことにより、カメラ110aが望遠側(ズームイン)、広角側(ズームアウト)へ制御される。1906はメッセージ表示ウインドウである。
In FIG. 19,
図16、図17、及び図18のフローチャートでは示されていないが、例えばステップS1603での判定によって制御要求メッセージが棄却された場合、その旨を当該メッセージの発行元クライアントに通知するように構成してもよい。この場合、メッセージ表示ウインドウ1906にメッセージが棄却された旨が表示される。例えば、スクロールバー1903を操作した場合に、当該操作に対応するカメラ制御要求メッセージが発行され、それがネットワークカメラサーバ110によって棄却された場合、メッセージ表示ウインドウ1906にその旨が表示されることになる。
Although not shown in the flowcharts of FIGS. 16, 17, and 18, for example, when the control request message is rejected due to the determination in step S <b> 1603, it is configured to notify the issuer client of the message to that effect. May be. In this case, the
また、カメラ制御クライアントが制御可能クライアントとなった時点で、その旨を当該クライアントに通知するように構成すれば、メッセージ表示ウインドウ1906に現在カメラ制御可能か否かを表示することも可能である。
Further, when the camera control client becomes a controllable client, a
なお、本実施の形態においては、カメラ制御クライアントにおいて、映像表示ウインドウ1901を表示すべく、ネットワークカメラサーバ110にアクセスを行う時点でカメラ制御権獲得要求メッセージが発行される。よって、この時点で、ネットワークカメラサーバ110ではステップS1605、S1606、及びS1607の処理が実行されてカメラ制御キューに登録されることになる。従って、ネットワークカメラサーバ110は、ステップS1601において、カメラ制御キューに登録されていないクライアントからカメラ制御要求メッセージやカメラ制御権獲得放棄要求メッセージを受けることはない。
In this embodiment, a camera control right acquisition request message is issued when the camera control client accesses the
以上説明したように、本実施の形態によれば、カメラ制御可能時間(制御権の占有時間)をネットワークカメラサーバ110の状態(例えば、カメラ制御権獲得待ち行列内の待ち人数等)、及びその他の要因により動的に変化(増減)させることで、よりきめこまやかな管理が可能となる。特に、多くのクライアントがカメラ制御権を取得しようとして待ち行列を成した場合は、現在カメラ制御権取得中のユーザの制御権占有時間を待ち行列の待ち人数等によって動的に変更することにより、効率的に待ち行列を処理することができる。また、待ち行列が少ない場合には、制御権占有時間を動的に長くすることで、ユーザの満足感を向上させることができる。 As described above, according to the present embodiment, the camera controllable time (control right occupation time) is determined based on the state of the network camera server 110 (for example, the number of waiting persons in the camera control right acquisition queue, etc.) By changing (increasing / decreasing) dynamically depending on the factors, more precise management becomes possible. In particular, when many clients have queued up trying to acquire camera control rights, by dynamically changing the control right occupation time of the user who is currently acquiring camera control rights depending on the number of queued persons, The queue can be processed efficiently. Further, when the number of queues is small, the satisfaction of the user can be improved by dynamically increasing the control right occupation time.
(第5の実施の形態)
以下、本発明の第5の実施の形態について説明する。第5の実施の形態におけるカメラ制御可能時間(制御権の占有時間)を動的に変化させる要因は、当該ネットワークカメラの映像を視聴しているユーザによるカメラ制御に対する評価である。該評価は、カメラ制御権を獲得中ではないユーザによって行われ、現在カメラ制御権を獲得しているユーザのカメラ制御に対する賛成、及び反対の投票により実現する。視聴ユーザは、現在のカメラ制御が自分の望む制御であれば賛成を、そうでない場合は反対をネットワークを介して投票する。該投票により、例えば賛成の得票数が一定数を超えた場合、カメラ制御の占有時間を延長し、より長い時間制御可能とする。逆に反対の得票数が一定数を超えた場合は、カメラ制御の占有時間を短くし、より早くカメラ制御時間を剥奪する。投票によるカメラ制御権の占有時間への反映は、賛成及び反対の得票数の差に比例させて、延長又は短縮を決定しても良い。本実施の形態は、特にカメラ制御権を獲得可能なクライアントと、獲得資格を持たず視聴のみが可能なクライアントが混在するネットワークカメラシステムにおいて、視聴のみが可能なクライアントによる投票で実現されるという形態に適用されることが望ましい。本実施の形態の評価を受信する機能はCPU、ROM及びRAMを利用して実現できる。この場合、ネットワークを介して評価を受信して、それをRAMに格納し、ROMに記憶された評価に対する例えばテーブル等でCPUに判断させるようにすればよい。
(Fifth embodiment)
The fifth embodiment of the present invention will be described below. The factor that dynamically changes the camera controllable time (control right occupation time) in the fifth embodiment is the evaluation of the camera control by the user viewing the video of the network camera. The evaluation is performed by a user who is not acquiring the camera control right, and is realized by voting for and against the camera control of the user who is currently acquiring the camera control right. The viewing user votes for approval if the current camera control is the control he desires, and otherwise for the opposite over the network. For example, when the number of votes for approval exceeds a certain number by the vote, the occupation time of camera control is extended so that control can be performed for a longer time. Conversely, if the opposite number of votes exceeds a certain number, the camera control occupation time is shortened and the camera control time is stripped earlier. Reflecting the voting time of the camera control right in the occupancy time may be determined to be extended or shortened in proportion to the difference between the number of votes for and against. This embodiment is realized by voting by a client that can only view, particularly in a network camera system in which a client that can acquire the camera control right and a client that does not have acquisition qualification and can only view are mixed. It is desirable to be applied to. The function of receiving the evaluation of the present embodiment can be realized using a CPU, ROM, and RAM. In this case, the evaluation may be received via the network, stored in the RAM, and the CPU may determine the evaluation based on the evaluation stored in the ROM, for example.
なお、本発明は、上述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を用いても良い。この場合には記憶媒体をシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによって本発明の目的が達成される。 Note that the present invention may use a storage medium that records a program code of software that implements the functions of the above-described embodiments. In this case, the object of the present invention is achieved by supplying the storage medium to the system or apparatus, and the computer (or CPU or MPU) of the system or apparatus reads and executes the program code stored in the storage medium.
この場合、記憶媒体から読み出されたプログラムコード自体が上述した実施形態の機能を実現することになり、プログラムコード自体及びそのプログラムコードを記憶した記憶媒体は本発明を構成することになる。 In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the program code itself and the storage medium storing the program code constitute the present invention.
プログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。 As a storage medium for supplying the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.
また、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(基本システム或いはオペレーティングシステム)等が実際の処理の一部又は全部を行う場合も含まれることは言うまでもない。 Needless to say, the OS (basic system or operating system) running on the computer performs part or all of the actual processing based on the instruction of the program code.
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれてもよい。この場合には、書き込まれたプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部又は全部を行ってもよい。 Furthermore, the program code read from the storage medium may be written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. In this case, based on the instruction of the written program code, the CPU or the like provided in the function expansion board or function expansion unit may perform part or all of the actual processing.
10 ネットワークカメラシステム
11 撮影装置
12 カメラサーバ装置
12−1 ネットワークインタフェース
12−2 制御権管理部
12−3 制御権占有時間計測部
12−4 撮影装置制御部
12−5 制御権要求数検知部
12−6 制御権占有時間算出部
13−1〜13−N 表示操作端末
14 ネットワーク
70 ネットワークカメラシステム
72 カメラサーバ装置
72−7 データベース(外部ファイル情報)
110 ネットワークカメラサーバ
110a カメラ部
110b カメラ制御部
110c 制御権管理部
110d メッセージ取得部
120 ネットワーク
130a、130b カメラ制御クライアント
301 CPU
302 ROM
303 RAM
304 カメラ影像インタフェース
305 カメラ駆動インタフェース
306 ネットワークインタフェース
310 タイマー
321 撮像部
322 機構制御部
1201 CPU
1202 ROM
1203 RAM
1204 カメラ影像インタフェース
1205 カメラ駆動インタフェース
1206 ネットワークインタフェース
1210 タイマー
1221 撮像部
1222 機構制御部
DESCRIPTION OF
110 Network camera server 110a
302 ROM
303 RAM
304
1202 ROM
1203 RAM
1204
Claims (11)
制御権を要求している操作端末の数を検知する検知手段と、
前記検知手段の検知結果に応じて制御権の占有時間を決定する占有時間決定手段とを備えたことを特徴とするネットワーク撮影システム。 An operation terminal capable of operating the imaging device and a management device that sequentially grants the control right to the operation terminal requesting the control right for operating the imaging device are connected via a network, and the control right is A network photographing system in which only one given operation terminal can operate the photographing device,
Detection means for detecting the number of operation terminals requesting the control right;
A network photographing system comprising: an occupation time determining unit that determines an occupation time of the control right according to a detection result of the detection unit.
制御権を要求している操作端末の数を検知する検知手段と、
前記検知手段の検知結果に応じて制御権の占有時間を決定する占有時間決定手段とを備えたことを特徴とする管理装置。 A management device that sequentially assigns control rights to operation terminals that request control rights to operate the imaging device,
Detection means for detecting the number of operation terminals requesting the control right;
A management apparatus comprising: an occupation time determining unit that determines an occupation time of the control right in accordance with a detection result of the detection unit.
前記占有時間決定手段は前記評価に応じて現在制御権が付与されている操作端末の制御権の占有時間を変更することを特徴とする請求項2〜5のいずれか1項に記載の管理装置。 A receiving means for receiving an evaluation from the network;
6. The management apparatus according to claim 2, wherein the occupation time determination unit changes the occupation time of the control right of the operation terminal to which the control right is currently assigned according to the evaluation. .
制御権を要求している操作端末の数を検知する検知手順と、
前記検知手順での検知結果に応じて制御権の占有時間を決定する占有時間決定手順とを有することを特徴とする管理方法。 A management method for sequentially granting a control right to an operation terminal requesting a control right for operating a photographing apparatus,
A detection procedure for detecting the number of operation terminals requesting the control right;
And an occupation time determination procedure for determining an occupation time of the control right in accordance with a detection result in the detection procedure.
制御権を要求している操作端末の数を検知する検知処理と、
前記検知処理での検知結果に応じて制御権の占有時間を決定する占有時間決定処理とをコンピュータに実行させることを特徴とするコンピュータプログラム。 A computer program for performing management to sequentially grant control right to an operation terminal requesting control right to operate the photographing apparatus,
Detection processing for detecting the number of operation terminals requesting the control right;
A computer program for causing a computer to execute an occupation time determination process for determining an occupation time of a control right according to a detection result in the detection process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007004972A JP2008172623A (en) | 2007-01-12 | 2007-01-12 | Network photography system, and management device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007004972A JP2008172623A (en) | 2007-01-12 | 2007-01-12 | Network photography system, and management device and method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008172623A true JP2008172623A (en) | 2008-07-24 |
Family
ID=39700280
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007004972A Pending JP2008172623A (en) | 2007-01-12 | 2007-01-12 | Network photography system, and management device and method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008172623A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010087967A (en) * | 2008-10-01 | 2010-04-15 | Canon Inc | Image recognizing apparatus, control method, and program |
JP2012503371A (en) * | 2008-09-19 | 2012-02-02 | アルカテル−ルーセント | Method and apparatus for providing wireless access user with control authority to monopolize service |
JP2021005760A (en) * | 2019-06-25 | 2021-01-14 | キヤノン株式会社 | Information processing apparatus, system, control method of information processing apparatus, and program |
-
2007
- 2007-01-12 JP JP2007004972A patent/JP2008172623A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012503371A (en) * | 2008-09-19 | 2012-02-02 | アルカテル−ルーセント | Method and apparatus for providing wireless access user with control authority to monopolize service |
JP2010087967A (en) * | 2008-10-01 | 2010-04-15 | Canon Inc | Image recognizing apparatus, control method, and program |
US8467582B2 (en) | 2008-10-01 | 2013-06-18 | Canon Kabushiki Kaisha | Image recognizing apparatus, including shared right-of-use to client devices, control method, and storage medium |
JP2021005760A (en) * | 2019-06-25 | 2021-01-14 | キヤノン株式会社 | Information processing apparatus, system, control method of information processing apparatus, and program |
US11700446B2 (en) | 2019-06-25 | 2023-07-11 | Canon Kabushiki Kaisha | Information processing apparatus, system, control method of information processing apparatus, and non-transitory computer-readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9473741B2 (en) | Teleconference system and teleconference terminal | |
US7794161B2 (en) | Camera control system, camera server, client, control method, and recording medium | |
JP4878409B2 (en) | Information control apparatus, information control method, and storage medium | |
JP2006245650A (en) | Information processing system, information processing apparatus and method, and program | |
JPH1155655A (en) | Camera control system, its control method, camera client and storage medium storing program executing control of camera client | |
JP2011239149A (en) | Control apparatus, camera system, and program | |
JPH11205653A (en) | Camera control system, camera control method, client and storage medium storing program executing operation processing | |
JP4414708B2 (en) | Movie display personal computer, data display system, movie display method, movie display program, and recording medium | |
JP7344703B2 (en) | Control device and its control method and program | |
JP2008172623A (en) | Network photography system, and management device and method | |
JP2011239150A (en) | Control apparatus, camera system, and program | |
US20230308762A1 (en) | Display terminal, information processing system, communication system, displaying method, information processing method, communication method, and recording medium | |
JP6504453B2 (en) | Image transmitting apparatus, image transmitting method and program | |
JPH0918849A (en) | Photographing device | |
RU2613176C1 (en) | Image forming device | |
JP4971849B2 (en) | Management method of control right of photographing apparatus, photographing apparatus, program, and network photographing system | |
JP5234850B2 (en) | Projector system, projector, and data receiving method | |
US20230262200A1 (en) | Display system, display method, and non-transitory recording medium | |
CN115514914A (en) | Multimedia remote video system, method and storage medium | |
US20240179274A1 (en) | Display terminal, communication system, display method, communication method, and recording medium | |
US11937011B2 (en) | Recording device, imaging device, recording method, and non-transitory computer readable medium | |
US20240179267A1 (en) | Display terminal, communication system, and display method | |
JP7497093B1 (en) | Information processing device and program | |
US20230308622A1 (en) | Display terminal, displaying method, and recording medium | |
JP2017157956A (en) | Information processing apparatus, information processing apparatus control method, and program |