JP2009010670A - Command processor - Google Patents

Command processor Download PDF

Info

Publication number
JP2009010670A
JP2009010670A JP2007169911A JP2007169911A JP2009010670A JP 2009010670 A JP2009010670 A JP 2009010670A JP 2007169911 A JP2007169911 A JP 2007169911A JP 2007169911 A JP2007169911 A JP 2007169911A JP 2009010670 A JP2009010670 A JP 2009010670A
Authority
JP
Japan
Prior art keywords
protocol
external controller
operator
communication
identification information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2007169911A
Other languages
Japanese (ja)
Inventor
Hiroyasu Nishihara
寛恭 西原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2007169911A priority Critical patent/JP2009010670A/en
Publication of JP2009010670A publication Critical patent/JP2009010670A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Closed-Circuit Television Systems (AREA)
  • Selective Calling Equipment (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a command processor that allows simple setting of a protocol suitable for a protocol adopted by an external controller. <P>SOLUTION: An RS485 driver 22j executes communication processing according to a valid protocol in-between an external controller operated by an operator. A main microcomputer 22h executes processing according to a command received from the external controller through the RS485 driver 22j. An I/O microcomputer 22h selects each of a plurality of protocols in time-division mode when predetermined conditions are satisfied. Identification information for identifying the selected protocol is outputted toward the operator by the I/O microcomputer 22h. The I/O microcomputer 22h receives signals corresponding to operations by the operator from the external controller. The I/O microcomputer 22h validates a protocol corresponding to identification information outputted toward the operator at the time when receiving signals corresponding to operations by the operator in order to use it for communication processing in-between the external controller. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

この発明は、コマンド処理装置に関し、特にたとえば、監視カメラに適用され、外部コントローラから送信されたコマンドに従う処理を実行する、コマンド処理装置に関する。   The present invention relates to a command processing device, and more particularly to a command processing device that is applied to a surveillance camera and executes processing according to a command transmitted from an external controller.

この種の装置の一例が、特許文献1に開示されている。この背景技術によれば、複数台のリモート雲台がオペレーションユニットに接続され、各々のリモート雲台はオペレーションユニットによって遠隔制御される。データ通信のためのプロトコルとしては、TCP/IPやそれに準じたプロトコルが採用される。
特開2001−313929号公報[H04N 7/18, H04B 3/54, H04N 5/222, 5/232]
An example of this type of device is disclosed in Patent Document 1. According to this background art, a plurality of remote heads are connected to the operation unit, and each remote head is remotely controlled by the operation unit. As a protocol for data communication, TCP / IP or a protocol conforming thereto is adopted.
JP 2001-313929 A [H04N 7/18, H04B 3/54, H04N 5/222, 5/232]

しかし、オペレーションユニットが想定していないリモート雲台(たとえば異なるメーカ製のリモート雲台)をオペレーションユニットに接続する場合、リモート雲台のプロトコルをオペレーションユニットに適合させる煩わしい作業が必要となる。このような問題への対策について、特許文献1は何ら開示していない。   However, when a remote head that is not assumed by the operation unit (for example, a remote head made by a different manufacturer) is connected to the operation unit, a troublesome work for adapting the protocol of the remote head to the operation unit is required. Patent Document 1 does not disclose any measures against such a problem.

それゆえに、この発明の主たる目的は、外部コントローラが採用するプロトコルに適合するプロトコルを簡便に設定することができる、コマンド処理装置を提供することである。   Therefore, a main object of the present invention is to provide a command processing apparatus that can easily set a protocol that conforms to a protocol adopted by an external controller.

請求項1の発明に従うコマンド処理装置(22:実施例で相当する参照符号。以下同じ)は、有効プロトコルに従う通信処理を操作者によって操作される外部コントローラ(14)との間で実行する通信手段(22j)、通信手段を通して外部コントローラから受信したコマンドに従う処理を実行する処理手段(22h)、既定条件が満足されたときM個(M:2以上の整数)のプロトコルの各々を時分割態様で選択する選択手段(S31, S39)、選択手段によって選択されたプロトコルを識別する識別情報を操作者に向けて出力する出力手段(S33)、操作者の操作に対応する信号を外部コントローラから受け付ける受付手段(S35)、および受付手段による受付時期に出力手段によって出力される識別情報に対応するプロトコルを外部コントローラとの通信処理のために有効化する有効化手段(S49)を備える。   A command processing device according to the first aspect of the present invention (22: reference numeral corresponding to the embodiment; hereinafter the same) is a communication means for executing communication processing according to an effective protocol with an external controller (14) operated by an operator. (22j), processing means (22h) for executing processing according to the command received from the external controller through the communication means, and each of M (M: an integer of 2 or more) protocols in a time-sharing manner when the predetermined condition is satisfied Selection means for selection (S31, S39), output means for outputting identification information for identifying the protocol selected by the selection means to the operator (S33), accepting a signal corresponding to the operation of the operator from an external controller The protocol corresponding to the identification information output by the output means at the reception time by the means (S35) and the reception means is enabled for the communication processing with the external controller. Enabling provided with a means (S49).

通信手段は、操作者によって操作される外部コントローラとの間で、有効プロトコルに従う通信処理を実行する。通信手段を通して外部コントローラから受信したコマンドに従う処理は、処理手段によって実行される。選択手段は、既定条件が満足されたとき、M個(M:2以上の整数)のプロトコルの各々を時分割態様で選択する。選択手段によって選択されたプロトコルを識別する識別情報は、出力手段によって操作者に向けて出力される。受付手段は、操作者の操作に対応する信号を、外部コントローラから受け付ける。有効化手段は、受付手段による受付時期に出力手段によって出力される識別情報に対応するプロトコルを、外部コントローラとの通信処理のために有効化する。   The communication means executes communication processing according to an effective protocol with an external controller operated by an operator. The processing according to the command received from the external controller through the communication means is executed by the processing means. The selection means selects each of M (M: an integer of 2 or more) protocols in a time-sharing manner when a predetermined condition is satisfied. The identification information for identifying the protocol selected by the selection unit is output to the operator by the output unit. The accepting unit accepts a signal corresponding to the operation of the operator from the external controller. The validation means validates the protocol corresponding to the identification information output by the output means at the reception time by the reception means for communication processing with the external controller.

したがって、操作者に向けて出力される識別情報に対応するプロトコルは、時分割態様で変更される。所望のプロトコルを識別する識別情報が出力されているときに操作者が外部コントローラを操作すると、所望のプロトコルが外部コントローラとの通信処理のために有効化される。これによって、コントローラが採用するプロトコルに適合するプロトコルをコマンド処理装置に簡便に設定することができる。   Therefore, the protocol corresponding to the identification information output toward the operator is changed in a time division manner. When the operator operates the external controller while the identification information for identifying the desired protocol is output, the desired protocol is validated for communication processing with the external controller. As a result, a protocol that conforms to the protocol adopted by the controller can be easily set in the command processing device.

請求項2の発明に従うコマンド処理装置は、請求項1に従属し、N個(N:2以上の整数)のプロトコルのいずれか1つを指定する第1スイッチ(DIP-SW1)をさらに備え、N個のプロトコルはM個のプロトコルの1つである特定プロトコルを含み、既定条件は第1スイッチが特定プロトコルを指定しているというプロトコル条件を含む。   The command processing device according to the invention of claim 2 is dependent on claim 1, and further comprises a first switch (DIP-SW1) for designating any one of N (N: an integer of 2 or more) protocols, The N protocols include a specific protocol that is one of the M protocols, and the predetermined condition includes a protocol condition that the first switch specifies a specific protocol.

請求項3の発明に従うコマンド処理装置は、請求項2に従属し、自己アドレスを指定する第2スイッチ(DIP-SW2)をさらに備え、既定条件は第2スイッチによって指定された自己アドレスが特定値を示すというアドレス条件をさらに含む。   The command processing device according to the invention of claim 3 is dependent on claim 2 and further includes a second switch (DIP-SW2) for designating a self address, and the default condition is that the self address designated by the second switch is a specific value. It further includes an address condition that indicates.

請求項4の発明に従うコマンド処理装置は、請求項1ないし3のいずれかに従属し、受付手段は通信手段を通して信号を受け付ける。   A command processing device according to a fourth aspect of the present invention is dependent on any one of the first to third aspects, and the reception unit receives a signal through the communication unit.

請求項5の発明に従うプロトコル設定プログラムは、有効プロトコルに従う通信処理を操作者によって操作される外部コントローラ(14)との間で実行する通信手段(22j)、および通信手段を通して外部コントローラから受信したコマンドに従う処理を実行する処理手段(22h)を備えるコマンド処理装置(22)に、既定条件が満足されたときM個(M:2以上の整数)のプロトコルの各々を時分割態様で選択する選択ステップ(S31, S39)、選択ステップによって選択されたプロトコルを識別する識別情報を操作者に向けて出力する出力ステップ(S33)、操作者の操作に対応する信号を外部コントローラから受け付ける受付ステップ(S35)、および受付ステップによる受付時期に出力ステップによって出力される識別情報に対応するプロトコルを外部コントローラとの通信処理のために有効化する有効化ステップ(S49)を実行させるための、プロトコル設定プログラムである。   The protocol setting program according to the invention of claim 5 includes a communication means (22j) for executing communication processing according to an effective protocol with an external controller (14) operated by an operator, and a command received from the external controller through the communication means. Selection step of selecting each of M (M: integer greater than or equal to 2) protocols in a time-sharing manner when a predetermined condition is satisfied by a command processing device (22) comprising processing means (22h) for executing processing according to (S31, S39), an output step (S33) for outputting identification information for identifying the protocol selected in the selection step to the operator, and a reception step for receiving a signal corresponding to the operation of the operator from the external controller (S35) And the protocol corresponding to the identification information output by the output step at the reception time by the reception step with the external controller For performing the activation step (S49) to enable for the communication processing, a protocol setting program.

請求項6の発明に従うプロトコル設定方法は、有効プロトコルに従う通信処理を操作者によって操作される外部コントローラ(14)との間で実行する通信手段(22j)、および通信手段を通して外部コントローラから受信したコマンドに従う処理を実行する処理手段(22h)を備えるコマンド処理装置(22)によって実行されるプロトコル設定方法であって、既定条件が満足されたときM個(M:2以上の整数)のプロトコルの各々を時分割態様で選択する選択ステップ(S31, S39)、選択ステップによって選択されたプロトコルを識別する識別情報を操作者に向けて出力する出力ステップ(S33)、操作者の操作に対応する信号を外部コントローラから受け付ける受付ステップ(S35)、および受付ステップによる受付時期に出力ステップによって出力される識別情報に対応するプロトコルを外部コントローラとの通信処理のために有効化する有効化ステップ(S49)を備える。   The protocol setting method according to the invention of claim 6 includes a communication means (22j) for executing communication processing according to an effective protocol with an external controller (14) operated by an operator, and a command received from the external controller through the communication means. A protocol setting method executed by a command processing device (22) having processing means (22h) for executing processing according to the above, each of M (M: integer greater than or equal to 2) protocols when a predetermined condition is satisfied Selecting step (S31, S39) in a time-sharing manner, an output step (S33) for outputting identification information for identifying the protocol selected in the selection step to the operator, and a signal corresponding to the operation of the operator The reception step (S35) received from the external controller and the identification information output by the output step at the reception time by the reception step. Comprising Enabling step (S49) to enable for communication processing protocol with an external controller.

この発明によれば、操作者に向けて出力される識別情報に対応するプロトコルは、時分割態様で変更される。所望のプロトコルを識別する識別情報が出力されているときに操作者が外部コントローラを操作すると、所望のプロトコルが外部コントローラとの通信処理のために有効化される。これによって、コントローラが採用するプロトコルに適合するプロトコルをコマンド処理装置に簡便に設定することができる。   According to the present invention, the protocol corresponding to the identification information output to the operator is changed in a time division manner. When the operator operates the external controller while the identification information for identifying the desired protocol is output, the desired protocol is validated for communication processing with the external controller. As a result, a protocol that conforms to the protocol adopted by the controller can be easily set in the command processing device.

この発明の上述の目的,その他の目的,特徴および利点は、図面を参照して行う以下の実施例の詳細な説明から一層明らかとなろう。   The above object, other objects, features and advantages of the present invention will become more apparent from the following detailed description of embodiments with reference to the drawings.

図1を参照して、この実施例の監視カメラシステム10は、映像表示装置12および外部コントローラ14とドーム型の監視カメラ16,18,20および22とを含む。映像表示装置12はビデオケーブルV1〜V4によって監視カメラ16〜22と接続され、外部コントローラ14はRS485ケーブルCBLによって監視カメラ16〜22と接続される。監視カメラ16はチャネルCH1に対応し、監視カメラ18はチャネルCH2に対応し、監視カメラ20はチャネルCH3に対応し、そして監視カメラ22はチャネルCH4に対応する。   Referring to FIG. 1, a monitoring camera system 10 of this embodiment includes a video display device 12 and an external controller 14, and dome type monitoring cameras 16, 18, 20 and 22. The video display device 12 is connected to the monitoring cameras 16 to 22 by video cables V1 to V4, and the external controller 14 is connected to the monitoring cameras 16 to 22 by RS485 cable CBL. Monitoring camera 16 corresponds to channel CH1, monitoring camera 18 corresponds to channel CH2, monitoring camera 20 corresponds to channel CH3, and monitoring camera 22 corresponds to channel CH4.

操作者が外部コントローラ14に設けられたキー入力装置14aを操作して所望の監視カメラのアドレスと所望のコマンドとを入力すると、CPU14は、入力されたアドレスおよびコマンドを記述したコードの送信をRS485ドライバ14cに命令する。コードは、RS485ケーブルCBLを通して監視カメラ16〜22に送信される。監視カメラ16〜22の各々は、受信コードに記述されたアドレスが自己アドレスと一致するとき、受信コードに記述されたコマンドに従う動作を行う。   When the operator operates a key input device 14a provided in the external controller 14 to input a desired surveillance camera address and a desired command, the CPU 14 transmits a code describing the input address and command to RS485. Command the driver 14c. The code is transmitted to the surveillance cameras 16 to 22 through the RS485 cable CBL. Each of the monitoring cameras 16 to 22 performs an operation according to the command described in the received code when the address described in the received code matches the self address.

所望の監視カメラが監視カメラ20で、所望のコマンドがチルトコマンドであれば、監視カメラ20の垂直方向の向きが変更される。また、所望の監視カメラが監視カメラ18で、所望のコマンドがズームコマンドであれば、監視カメラ18のズーム倍率が変更される。   If the desired monitoring camera is the monitoring camera 20 and the desired command is a tilt command, the orientation of the monitoring camera 20 in the vertical direction is changed. If the desired surveillance camera is the surveillance camera 18 and the desired command is a zoom command, the zoom magnification of the surveillance camera 18 is changed.

監視カメラ16〜22から出力された監視映像信号はビデオケーブルV1〜V4を経て映像表示装置12に与えられ、4チャネルの監視映像がモニタ画面にマルチ表示される。監視カメラ16〜22は外部コントローラ14から遠く離れた位置に配置される一方、映像表示装置12は外部コントローラ14の近傍に配置される。したがって、外部コントローラ14の操作者は、映像表示装置12から出力される監視映像を見ながらキー入力装置14aを操作することとなる。   The monitoring video signals output from the monitoring cameras 16 to 22 are given to the video display device 12 via the video cables V1 to V4, and the 4-channel monitoring video is multi-displayed on the monitor screen. While the monitoring cameras 16 to 22 are arranged at a position far from the external controller 14, the video display device 12 is arranged in the vicinity of the external controller 14. Therefore, the operator of the external controller 14 operates the key input device 14a while watching the monitoring video output from the video display device 12.

監視カメラ16は、図2に示すように構成される。ビデオケーブルV1は端子16mに接続され、RS485ケーブルCBLは端子16kに接続される。I/Oユニット16eは台座16bに収められ、カメラユニット16cおよびメイン基板16dはドーム型のケース16aに収められる。カメラユニット16cは、監視エリアを表す映像信号つまり監視映像信号を周期的に作成し、作成された監視映像信号を端子16mに与える。   The surveillance camera 16 is configured as shown in FIG. The video cable V1 is connected to the terminal 16m, and the RS485 cable CBL is connected to the terminal 16k. The I / O unit 16e is housed in a pedestal 16b, and the camera unit 16c and the main board 16d are housed in a dome-shaped case 16a. The camera unit 16c periodically creates a video signal representing a surveillance area, that is, a surveillance video signal, and applies the created surveillance video signal to the terminal 16m.

RS485ケーブルCBLを経て端子16kに与えられたコードは、RS485ドライバ16jを介してI/Oマイコン16iに入力される。I/Oマイコン16iは、入力コードに記述されたアドレスが自己アドレスと一致するとき、入力コードに記述されたコマンドに従う処理の実行をメインマイコン16hに要求する。メインマイコン16hは、自らあるいはカメラマイコン16fを制御して、要求された処理を実行する。入力コードに記述されたコマンドがチルトコマンドであれば、図示しないチルトモータの駆動によってカメラユニット16cの垂直方向の向きが変更される。また、入力コードに記述されたコマンドがズームコマンドであれば、図示しないズームレンズの移動によってズーム倍率が変更される。   The code given to the terminal 16k via the RS485 cable CBL is input to the I / O microcomputer 16i via the RS485 driver 16j. When the address described in the input code matches the self address, the I / O microcomputer 16i requests the main microcomputer 16h to execute processing according to the command described in the input code. The main microcomputer 16h executes the requested process by controlling itself or the camera microcomputer 16f. If the command described in the input code is a tilt command, the vertical direction of the camera unit 16c is changed by driving a tilt motor (not shown). If the command described in the input code is a zoom command, the zoom magnification is changed by moving a zoom lens (not shown).

監視カメラ16および外部コントローラ14は同じメーカ製(たとえばA社製)であり、I/Oマイコン16iは、A社の規格に係るプロトコルに従って外部コントローラ14との間で通信処理を実行する。A社プロトコルに適合する通信制御プログラムは、フラッシュメモリ16gに記憶され、I/Oマイコン16iによって実行される。   The monitoring camera 16 and the external controller 14 are manufactured by the same manufacturer (for example, manufactured by Company A), and the I / O microcomputer 16i executes communication processing with the external controller 14 according to a protocol according to the standard of Company A. A communication control program conforming to the company A protocol is stored in the flash memory 16g and executed by the I / O microcomputer 16i.

なお、監視カメラ18および20もまたA社製であり、監視カメラ16と同じ構成を有する。このため、監視カメラ18および20の構成に関する説明は省略する。   The monitoring cameras 18 and 20 are also manufactured by Company A and have the same configuration as the monitoring camera 16. For this reason, the description regarding the structure of the monitoring cameras 18 and 20 is abbreviate | omitted.

監視カメラ22は別のメーカ製(D社製)であり、図3に示すように構成される。図3から分かるように、監視カメラ22は監視カメラ16とほぼ同じであるため、同一の構成については同一のアルファベットを用いる(たとえば16jに対応する構成には22jを使用)ことで重複した説明を省略する。   The surveillance camera 22 is manufactured by another manufacturer (manufactured by Company D) and is configured as shown in FIG. As can be seen from FIG. 3, since the surveillance camera 22 is almost the same as the surveillance camera 16, the same alphabet is used for the same configuration (for example, 22j is used for the configuration corresponding to 16j), and a redundant description is given. Omitted.

監視カメラ16との相違点として、DIP−SW1およびDIP−SW2と端子22mに接続されたCOAXドライバ22nとがI/Oユニット22eに追加される。   As a difference from the monitoring camera 16, DIP-SW1 and DIP-SW2 and a COAX driver 22n connected to the terminal 22m are added to the I / O unit 22e.

図4(A)および図4(B)を参照して、DIP−SW1は6ビットのスイッチであり、DIP−SW2は8ビットのスイッチである。プロトコルは、DIP−SW1の3ビット目および4ビット目を用いて指定される。監視カメラ22のアドレス(自己アドレス)は、DIP−SW2を用いて“0”から“255”の範囲で指定される。   Referring to FIGS. 4A and 4B, DIP-SW1 is a 6-bit switch, and DIP-SW2 is an 8-bit switch. The protocol is specified using the third and fourth bits of DIP-SW1. The address (self address) of the monitoring camera 22 is designated in the range of “0” to “255” using the DIP-SW2.

DIP−SW1の3ビット目を“1”に設定すると、端子22mおよびCOAXドライバ22nを使用するプロトコルである“COAX”が指定される。DIP−SW1の3ビット目および4ビット目をそれぞれ“0”および“1”に設定すると、端子22kおよびRS485ドライバ22jを使用するプロトコルのうち、D社の規格に係る“プロトコルα”が指定される。DIP−SW1の3ビット目および4ビット目のいずれも“0”に設定すると、端子22kおよびRS485ドライバ22jを使用するプロトコルのうち、D社の規格に係る“プロトコルβ”が指定される。   When the third bit of DIP-SW1 is set to “1”, “COAX” which is a protocol using the terminal 22m and the COAX driver 22n is designated. When the third and fourth bits of DIP-SW1 are set to “0” and “1”, respectively, “protocol α” according to the standard of company D is specified out of the protocols using terminal 22k and RS485 driver 22j. The When both the third bit and the fourth bit of DIP-SW1 are set to “0”, “protocol β” according to the standard of Company D is specified among protocols using the terminal 22k and the RS485 driver 22j.

図3に戻って、フラッシュメモリ22gには、“COAX”,“プロトコルα”および“プロトコルβ”にそれぞれ適合する3つの通信制御プログラムが記憶される。フラッシュメモリ22gにはまた、A社プロトコル,B社プロトコルおよびC社プロトコルにそれぞれ適合する3つの通信制御プログラムが追加的に記憶される。フラッシュメモリ22gにはさらに、A社〜C社のプロトコルとD社のプロトコルβとを管理するテーブルTBLが準備される。   Returning to FIG. 3, the flash memory 22g stores three communication control programs that respectively conform to “COAX”, “protocol α”, and “protocol β”. The flash memory 22g additionally stores three communication control programs that respectively conform to the A company protocol, the B company protocol, and the C company protocol. Further, a table TBL for managing the protocols of Company A to Company C and the protocol β of Company D is prepared in the flash memory 22g.

テーブルTBLは図5に示すように構成される。図5によれば、A社のプロトコル情報がインデックス番号“0”の欄に記述され、B社のプロトコル情報がインデックス番号“1”の欄に記述される。また、C社のプロトコル情報がインデックス番号“2”の欄に記述され、D社のプロトコル情報(プロトコルβの情報)がインデックス番号“3”の欄に記述される。   The table TBL is configured as shown in FIG. According to FIG. 5, the protocol information of company A is described in the column of index number “0”, and the protocol information of company B is described in the column of index number “1”. Further, the protocol information of company C is described in the column of index number “2”, and the protocol information of company D (information of protocol β) is described in the column of index number “3”.

監視カメラ22がRS485ケーブルCBLによって外部コントローラ14と接続された状態で監視カメラ22の電源が投入されると、DIP−SW1およびDIP−SW2の状態が参照される。DIP−SW1の3ビット目および4ビット目がそれぞれ“0”および“1”に設定されており、DIP−SW2によって設定されたアドレスが“255”を示していれば、操作者によるキー入力装置14aの操作に基づく何らかのコードがRS485ケーブルCBLを通して入力されることを条件として、以下のプロトコル選択処理が実行される。   When the monitoring camera 22 is turned on while the monitoring camera 22 is connected to the external controller 14 via the RS485 cable CBL, the states of the DIP-SW1 and DIP-SW2 are referred to. If the third and fourth bits of DIP-SW1 are set to “0” and “1”, respectively, and the address set by DIP-SW2 indicates “255”, the key input device by the operator The following protocol selection process is executed on condition that some code based on the operation 14a is input through the RS485 cable CBL.

まず、テーブルTBLのインデックス番号“0”〜“3”が、時分割態様で5秒ずつ選択される。カメラユニット22cによって作成された監視映像信号には、選択されたインデックス番号に割り当てられたプロトコルを示すキャラクタ信号が重畳される。この結果、重畳されたキャラクタ信号に対応するプロトコル情報が、図6に示す要領で映像表示装置12から出力される(図6はインデックス番号“0”が選択されているときの表示例)。   First, the index numbers “0” to “3” of the table TBL are selected every 5 seconds in a time division manner. A character signal indicating a protocol assigned to the selected index number is superimposed on the monitoring video signal created by the camera unit 22c. As a result, protocol information corresponding to the superimposed character signal is output from the video display device 12 in the manner shown in FIG. 6 (FIG. 6 shows a display example when the index number “0” is selected).

操作者によるキー入力装置14aの操作に基づく何らかのコードがRS485ケーブルCBLを通して再度入力されると、このときに選択されているプロトコルが外部コントローラ14との通信処理のために採用(有効化)される。外部コントローラ14はA社製であるため、図6に示すプロトコル情報が表示されているときに操作者がキー入力装置14aを操作することで、外部コントローラ14に適したプロトコルが有効化される。   When any code based on the operation of the key input device 14a by the operator is input again through the RS485 cable CBL, the protocol selected at this time is adopted (validated) for communication processing with the external controller 14. . Since the external controller 14 is manufactured by Company A, when the operator operates the key input device 14a when the protocol information shown in FIG. 6 is displayed, a protocol suitable for the external controller 14 is validated.

なお、監視カメラ22が“COAX”を採用する他の外部コントローラ(図示せず)に接続されるときは、DIP−SW1の3ビット目を“1”に設定した状態で監視カメラ22の電源を投入すればよい。   When the surveillance camera 22 is connected to another external controller (not shown) that adopts “COAX”, the power of the surveillance camera 22 is turned on with the third bit of the DIP-SW1 set to “1”. You just have to put it in.

また、監視カメラ22が“プロトコルα”を採用するその他の外部コントローラ(図示せず)に接続されるときは、DIP−SW1の3ビット目および4ビット目をそれぞれ“0”および“1”に設定した状態で監視カメラ22の電源を投入すればよい。   When the surveillance camera 22 is connected to another external controller (not shown) that adopts the “protocol α”, the third and fourth bits of the DIP-SW1 are set to “0” and “1”, respectively. The monitoring camera 22 may be turned on in the set state.

さらに、監視カメラ22が“プロトコルβ”を採用するさらにその他の外部コントローラ(図示せず)に接続されるときは、DIP−SW1の3ビット目および4ビット目をいずれも“0”に設定した状態で監視カメラ22の電源を投入すればよい。“プロトコルβ”は“0”〜“127”の範囲でのアドレス指定を想定しており、DIP−SW2の1ビット目〜7ビット目を参照して監視カメラ22のアドレスが決定される。   Furthermore, when the surveillance camera 22 is connected to another external controller (not shown) that adopts the “protocol β”, both the third and fourth bits of the DIP-SW1 are set to “0”. In this state, the monitoring camera 22 may be turned on. “Protocol β” assumes addressing in the range of “0” to “127”, and the address of the monitoring camera 22 is determined with reference to the first to seventh bits of DIP-SW2.

I/Oマイコン22iは、電源投入に応答して図7〜図8に示すプロトコル設定タスクを実行する。このタスクに対応する制御プログラムは、フラッシュメモリ22gに記憶される。また、このタスクの開始時点では、後述するプロトコル設定モードはOFF状態とされる。   The I / O microcomputer 22i executes the protocol setting task shown in FIGS. 7 to 8 in response to power-on. A control program corresponding to this task is stored in the flash memory 22g. At the start of this task, a protocol setting mode, which will be described later, is turned off.

まず、ステップS1でDIP−SW1の3ビット目の設定を判別し、ステップS3でDIP−SW2の4ビット目の設定を判別する。DIP−SW1の3ビット目が“1”を示していれば、ステップS3で“COAX”を通信処理のために採用する。また、DIP−SW1の3ビット目および4ビット目がそれぞれ“0”および“1”を示していれば、ステップS7で“プロトコルα”を通信処理のために採用する。ステップS3またはS7の処理が完了すると、プロトコル設定タスクを終了する。   First, the setting of the third bit of DIP-SW1 is determined in step S1, and the setting of the fourth bit of DIP-SW2 is determined in step S3. If the third bit of DIP-SW1 indicates “1”, “COAX” is adopted for communication processing in step S3. If the third and fourth bits of DIP-SW1 indicate “0” and “1”, respectively, “protocol α” is adopted for communication processing in step S7. When the process of step S3 or S7 is completed, the protocol setting task is terminated.

DIP−SW1の3ビット目および4ビット目がいずれも“0”を示していれば、DIP−SW2によって指定されたアドレス値をステップS9で判別する。指定アドレスが“255”と異なる数値を示していれば、ステップS9からステップS19に進み、“プロトコルβ”を通信処理のために採用する。ステップS19の処理が完了すると、プロトコル設定タスクを終了する。一方、指定アドレスが“255”を示していれば、ステップS9からステップS11に進み、RS485ドライバ16kから何らかのコード(操作信号)を受信したか否かを判別する。   If both the third and fourth bits of DIP-SW1 indicate “0”, the address value designated by DIP-SW2 is determined in step S9. If the designated address indicates a numerical value different from “255”, the process proceeds from step S9 to step S19, and “protocol β” is employed for communication processing. When the process of step S19 is completed, the protocol setting task is terminated. On the other hand, if the designated address indicates “255”, the process proceeds from step S9 to step S11 to determine whether or not any code (operation signal) has been received from the RS485 driver 16k.

ここでNOであればそのままステップS15に進む一方、YESであればステップS13でプロトコル設定モードをON状態に設定してからステップS15に進む。ステップS15では、メインマイコン22hの制御の下で実行されるカメラユニット22cの初期動作が終了したか否かを判別する。ここでNOであればステップS11に戻る一方、YESであればプロトコル設定モードがON状態であるか否かをステップS17で判別する。プロトコル設定モードがOFF状態であれば、ステップS19の処理を経てプロトコル設定タスクを終了する。プロトコル設定モードがON状態であれば、ステップS21のプロトコル選択処理を実行した後に、プロトコル設定タスクを終了する。   If “NO” here, the process proceeds to a step S15 as it is, whereas if “YES”, the protocol setting mode is set to an ON state in a step S13, and then, the process proceeds to a step S15. In step S15, it is determined whether or not the initial operation of the camera unit 22c executed under the control of the main microcomputer 22h is completed. If “NO” here, the process returns to the step S11, while if “YES”, it is determined in a step S17 whether or not the protocol setting mode is in the ON state. If the protocol setting mode is in the OFF state, the protocol setting task is terminated through the process of step S19. If the protocol setting mode is ON, the protocol setting task is terminated after executing the protocol selection process in step S21.

ステップS21のプロトコル選択処理は、図8に示すサブルーチンに従って実行される。まずステップS31で変数iを“0”に設定する。ステップS33では、テーブルTBLのインデックス番号“i”に割り当てられたプロトコルを表すキャラクタ信号を監視映像信号に多重するべく、対応する要求をメインマイコン22hに与える。この結果、対応するプロトコル情報が図6に示す要領で映像表示装置12から出力される。   The protocol selection process in step S21 is executed according to a subroutine shown in FIG. First, in step S31, the variable i is set to “0”. In step S33, a corresponding request is given to the main microcomputer 22h in order to multiplex the character signal representing the protocol assigned to the index number “i” in the table TBL to the monitoring video signal. As a result, the corresponding protocol information is output from the video display device 12 as shown in FIG.

ステップS35ではRS485ドライバ16kから何らかのコード(操作信号)を受信したか否かを判別し、ステップS37では最新のステップS33の処理から5秒が経過したか否かを判別する。5秒が経過する前に何らかのコードを受信するとステップS49に進み、インデックス番号“i”に割り当てられたプロトコルを通信処理のために採用する。ステップS49の処理が完了すると、上階層のルーチンに復帰する。   In step S35, it is determined whether or not any code (operation signal) has been received from the RS485 driver 16k. In step S37, it is determined whether or not 5 seconds have elapsed since the latest processing in step S33. If any code is received before the elapse of 5 seconds, the process proceeds to step S49, and the protocol assigned to the index number “i” is adopted for communication processing. When the process of step S49 is completed, the process returns to the upper layer routine.

何らかのコードを受信する前に5秒が経過すると、ステップS39で変数iをインクリメントし、変数iが“4”に達したか否かをステップS41で判別する。ここでNOであればそのままステップS33に戻る一方、YESであればステップS31の処理から5分が経過したか否かをステップS43で判別する。ここでNOであればステップS45で変数iを“0”に戻してからステップS33に戻る一方、YESであればステップS47で変数iを“3”に設定してからステップS49に移行する。   If 5 seconds elapse before receiving any code, the variable i is incremented in step S39, and it is determined in step S41 whether or not the variable i has reached “4”. If “NO” here, the process returns to the step S33 as it is, whereas if “YES”, it is determined in a step S43 whether or not five minutes have elapsed since the process of the step S31. If “NO” here, the variable i is returned to “0” in a step S45 and then returns to the step S33, while if “YES”, the variable i is set to “3” in a step S47 and then the process proceeds to a step S49.

以上の説明から分かるように、RS485ドライバ22jは、操作者によって操作される外部コントローラ14との間で、有効プロトコルに従う通信処理を実行する。RS485ドライバ22jを通して外部コントローラ14から受信したコマンドに従う処理は、メインマイコン22hによって実行される。I/Oマイコン22hは、既定条件が満足されたとき、M個(M:2以上の整数)のプロトコルの各々を時分割態様で選択する(S31, S39)。選択されたプロトコルを識別する識別情報は、I/Oマイコン22hによって操作者に向けて出力される(S33)。I/Oマイコン22hは、操作者の操作に対応する信号を、外部コントローラ14から受け付ける(S35)。I/Oマイコン22hは、操作者の操作に対応する信号の受付時期に操作者に向けて出力されている識別情報に対応するプロトコルを、外部コントローラ14との通信処理のために有効化する(S49)。   As can be seen from the above description, the RS485 driver 22j executes communication processing according to the valid protocol with the external controller 14 operated by the operator. Processing according to the command received from the external controller 14 through the RS485 driver 22j is executed by the main microcomputer 22h. When the predetermined condition is satisfied, the I / O microcomputer 22h selects each of M (M: an integer of 2 or more) protocols in a time-sharing manner (S31, S39). Identification information for identifying the selected protocol is output to the operator by the I / O microcomputer 22h (S33). The I / O microcomputer 22h receives a signal corresponding to the operation of the operator from the external controller 14 (S35). The I / O microcomputer 22h validates the protocol corresponding to the identification information output to the operator at the reception time of the signal corresponding to the operation of the operator for the communication processing with the external controller 14 ( S49).

したがって、操作者に向けて出力される識別情報に対応するプロトコルは、時分割態様で変更される。所望のプロトコルを識別する識別情報が出力されているときに操作者が外部コントローラ14を操作すると、所望のプロトコルが外部コントローラ14との通信処理のために有効化される。これによって、外部コントローラ14が採用するプロトコルに適合するプロトコルを監視カメラ22に簡便に設定することができる。   Therefore, the protocol corresponding to the identification information output toward the operator is changed in a time division manner. When the operator operates the external controller 14 while the identification information for identifying the desired protocol is output, the desired protocol is validated for communication processing with the external controller 14. As a result, a protocol compatible with the protocol adopted by the external controller 14 can be easily set in the monitoring camera 22.

なお、この実施例では、コマンド処理装置として監視カメラを想定しているが、外部コントローラから与えられるコマンドを処理する装置である限り、監視カメラに限られるものではないことは、言うまでもない。   In this embodiment, a surveillance camera is assumed as the command processing device, but it goes without saying that the surveillance camera is not limited to the surveillance camera as long as it is a device that processes a command given from an external controller.

この発明の一実施例の構成を示すブロック図である。It is a block diagram which shows the structure of one Example of this invention. 図1実施例に適用される監視カメラの構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the surveillance camera applied to the FIG. 1 Example. 図1実施例に適用される別の監視カメラの構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of another surveillance camera applied to the FIG. 1 Example. (A)は図3実施例に適用されるDIP−SW1の外観の一例を示す図解図であり、(B)は図3実施例に適用されるDIP−SW2の外観の一例を示す図解図である。(A) is an illustrative view showing an example of the appearance of the DIP-SW1 applied to the embodiment in FIG. 3, and (B) is an illustrative view showing an example of the appearance of the DIP-SW2 applied to the embodiment in FIG. is there. 図3実施例によって参照されるテーブルの一例を示す図解図である。FIG. 4 is an illustrative view showing one example of a table referred to by the embodiment in FIG. 3; 図1実施例に適用される映像表示装置に表示されるOSD映像の一例を示す図解図である。It is an illustration figure which shows an example of the OSD image | video displayed on the video display apparatus applied to FIG. 1 Example. 図3実施例に適用されるI/Oマイコンの処理動作の一部を示すフロー図である。FIG. 4 is a flowchart showing a part of the processing operation of the I / O microcomputer applied to the embodiment in FIG. 3; 図3実施例に適用されるI/Oマイコンの処理動作の他の一部を示すフロー図である。FIG. 10 is a flowchart showing another portion of the processing operation of the I / O microcomputer applied to the embodiment in FIG. 3;

符号の説明Explanation of symbols

10 …監視カメラシステム
12 …映像表示装置
14 …外部コントローラ
16〜22 …監視カメラ
22i …I/Oマイコン
22j …RS485ドライバ
DESCRIPTION OF SYMBOLS 10 ... Surveillance camera system 12 ... Video display apparatus 14 ... External controller 16-22 ... Surveillance camera 22i ... I / O microcomputer 22j ... RS485 driver

Claims (6)

有効プロトコルに従う通信処理を操作者によって操作される外部コントローラとの間で実行する通信手段、
前記通信手段を通して前記外部コントローラから受信したコマンドに従う処理を実行する処理手段、
既定条件が満足されたときM個(M:2以上の整数)のプロトコルの各々を時分割態様で選択する選択手段、
前記選択手段によって選択されたプロトコルを識別する識別情報を前記操作者に向けて出力する出力手段、
前記操作者の操作に対応する信号を前記外部コントローラから受け付ける受付手段、および
前記受付手段による受付時期に前記出力手段によって出力される識別情報に対応するプロトコルを前記外部コントローラとの通信処理のために有効化する有効化手段を備える、コマンド処理装置。
Communication means for executing communication processing according to an effective protocol with an external controller operated by an operator;
Processing means for executing processing according to a command received from the external controller through the communication means;
A selection means for selecting each of M (M: an integer greater than or equal to 2) protocols in a time-sharing manner when a predetermined condition is satisfied;
Output means for outputting identification information for identifying the protocol selected by the selection means to the operator;
Accepting means for accepting a signal corresponding to the operation of the operator from the external controller, and a protocol corresponding to the identification information output by the output means at the acceptance time by the accepting means for communication processing with the external controller A command processing device comprising validation means for validation.
N個(N:2以上の整数)のプロトコルのいずれか1つを指定する第1スイッチをさらに備え、
前記N個のプロトコルは前記M個のプロトコルの1つである特定プロトコルを含み、
前記既定条件は前記第1スイッチが前記特定プロトコルを指定しているというプロトコル条件を含む、請求項1記載のコマンド処理装置。
A first switch that specifies any one of N (N: an integer greater than or equal to 2) protocols;
The N protocols include a specific protocol that is one of the M protocols;
The command processing apparatus according to claim 1, wherein the predetermined condition includes a protocol condition that the first switch specifies the specific protocol.
自己アドレスを指定する第2スイッチをさらに備え、
前記既定条件は前記第2スイッチによって指定された自己アドレスが特定値を示すというアドレス条件をさらに含む、請求項2記載のコマンド処理装置。
A second switch for designating a self-address;
The command processing apparatus according to claim 2, wherein the predetermined condition further includes an address condition that a self-address designated by the second switch indicates a specific value.
前記受付手段は前記通信手段を通して前記信号を受け付ける、請求項1ないし3のいずれかに記載のコマンド処理装置。   The command processing apparatus according to claim 1, wherein the reception unit receives the signal through the communication unit. 有効プロトコルに従う通信処理を操作者によって操作される外部コントローラとの間で実行する通信手段、および前記通信手段を通して前記外部コントローラから受信したコマンドに従う処理を実行する処理手段を備えるコマンド処理装置に、
既定条件が満足されたときM個(M:2以上の整数)のプロトコルの各々を時分割態様で選択する選択ステップ、
前記選択ステップによって選択されたプロトコルを識別する識別情報を前記操作者に向けて出力する出力ステップ、
前記操作者の操作に対応する信号を前記外部コントローラから受け付ける受付ステップ、および
前記受付ステップによる受付時期に前記出力ステップによって出力される識別情報に対応するプロトコルを前記外部コントローラとの通信処理のために有効化する有効化ステップを実行させるための、プロトコル設定プログラム。
In a command processing apparatus comprising a communication means for executing communication processing according to an effective protocol with an external controller operated by an operator, and a processing means for executing processing according to a command received from the external controller through the communication means,
A selection step of selecting each of M (M: an integer greater than or equal to 2) protocols in a time-sharing manner when a predetermined condition is satisfied;
An output step of outputting identification information for identifying the protocol selected in the selection step to the operator;
A reception step of receiving a signal corresponding to the operation of the operator from the external controller, and a protocol corresponding to the identification information output by the output step at the reception time of the reception step for communication processing with the external controller A protocol setting program for executing an enabling step for enabling.
有効プロトコルに従う通信処理を操作者によって操作される外部コントローラとの間で実行する通信手段、および前記通信手段を通して前記外部コントローラから受信したコマンドに従う処理を実行する処理手段を備えるコマンド処理装置によって実行されるプロトコル設定方法であって、
既定条件が満足されたときM個(M:2以上の整数)のプロトコルの各々を時分割態様で選択する選択ステップ、
前記選択ステップによって選択されたプロトコルを識別する識別情報を前記操作者に向けて出力する出力ステップ、
前記操作者の操作に対応する信号を前記外部コントローラから受け付ける受付ステップ、および
前記受付ステップによる受付時期に前記出力ステップによって出力される識別情報に対応するプロトコルを前記外部コントローラとの通信処理のために有効化する有効化ステップを備える、プロトコル設定方法。
Executed by a command processing device comprising communication means for executing communication processing according to an effective protocol with an external controller operated by an operator, and processing means for executing processing according to a command received from the external controller through the communication means. A protocol setting method,
A selection step of selecting each of M (M: an integer greater than or equal to 2) protocols in a time-sharing manner when a predetermined condition is satisfied;
An output step of outputting identification information for identifying the protocol selected in the selection step to the operator;
A reception step of receiving a signal corresponding to the operation of the operator from the external controller, and a protocol corresponding to the identification information output by the output step at the reception time of the reception step for communication processing with the external controller A protocol setting method comprising an enabling step of enabling.
JP2007169911A 2007-06-28 2007-06-28 Command processor Withdrawn JP2009010670A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007169911A JP2009010670A (en) 2007-06-28 2007-06-28 Command processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007169911A JP2009010670A (en) 2007-06-28 2007-06-28 Command processor

Publications (1)

Publication Number Publication Date
JP2009010670A true JP2009010670A (en) 2009-01-15

Family

ID=40325305

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007169911A Withdrawn JP2009010670A (en) 2007-06-28 2007-06-28 Command processor

Country Status (1)

Country Link
JP (1) JP2009010670A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012231370A (en) * 2011-04-27 2012-11-22 Seiko Epson Corp Spectacles for viewing 3d image, and method for controlling spectacles for viewing 3d image

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012231370A (en) * 2011-04-27 2012-11-22 Seiko Epson Corp Spectacles for viewing 3d image, and method for controlling spectacles for viewing 3d image

Similar Documents

Publication Publication Date Title
JP4358939B2 (en) Television receiver
JP2006254275A (en) Multidisplay, screen control method and screen control program therefor
KR20020068170A (en) Computer system and osd controlling methode therof
KR20140015281A (en) Display integrated control systems and display integrated input device
US20020140819A1 (en) Customizable security system component interface and method therefor
US20050122649A1 (en) Remote control system
KR100668087B1 (en) Image Processing Unit, Image Storing System Comprising The Same And Control Method Thereof
JP2009010670A (en) Command processor
JP4697529B2 (en) Control apparatus and method, and program
JP2007174300A (en) Setting data update system, remote controller, and setting data update method
KR20060110883A (en) Remote control apparatus and method for dvr systems
JP4456327B2 (en) Method and system for dynamic camera addressing
JP2007043254A (en) Remote controller and control method of remote controller
KR101102903B1 (en) Control System Of CCTV
JP2008067267A (en) Display device
JP4976726B2 (en) Sensor system and sensor unit
JP2002186067A (en) Electric apparatus controller and electric apparatus control method
JP7370451B2 (en) Air conditioner remote control device
JP4869559B2 (en) Image signal generator, image display device, and on-line control method of image display device
JP2007201873A (en) Multifunctional remote controller
WO2018042514A1 (en) Display device, display setting method for display device, and display setting program for display device
JP3396999B2 (en) Electronic musical instrument system
KR100313250B1 (en) Apparatus For Controlling Multiple Closed-circuit Television Set Independently And Method Therefor
JP2006165780A (en) Device control system and device control method
JP2007060056A (en) Television broadcast receiver and broadcast channel addition searching method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100128

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20101203