[go: up one dir, main page]

CN105245783A - Camera device and its commutation tracking control method, and its pairing method with sensing equipment - Google Patents

Camera device and its commutation tracking control method, and its pairing method with sensing equipment Download PDF

Info

Publication number
CN105245783A
CN105245783A CN201510815482.0A CN201510815482A CN105245783A CN 105245783 A CN105245783 A CN 105245783A CN 201510815482 A CN201510815482 A CN 201510815482A CN 105245783 A CN105245783 A CN 105245783A
Authority
CN
China
Prior art keywords
camera
information
camera head
sensing apparatus
sensing device
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
Application number
CN201510815482.0A
Other languages
Chinese (zh)
Inventor
高文晨
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.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510815482.0A priority Critical patent/CN105245783A/en
Publication of CN105245783A publication Critical patent/CN105245783A/en
Pending legal-status Critical Current

Links

Landscapes

  • Studio Devices (AREA)
  • Closed-Circuit Television Systems (AREA)

Abstract

The invention provides a camera device and a commutation tracking control method thereof. The camera device receives first triggering information sent when the sensing device is triggered to receive a monitoring task; the first triggering information comprises an identifier of the sensing device; according to the identifier of the sensing device, the camera device determines first direction information corresponding to the identifier of the sensing device; according to the first direction information, a rotation angle of a pan-tilt of the camera device is adjusted to enable the camera lens to face the first direction corresponding to the first direction information to execute photographing in the first direction. Multiple important articles or positions can be monitored through a few cameras or even one camera, and the construction cost and the maintenance cost are greatly reduced. The invention also provides a camera device and sensing device matching method.

Description

摄像装置及其换向追踪控制方法、其与感应设备配对方法Camera device and its commutation tracking control method, and its pairing method with sensing equipment

技术领域technical field

本发明涉及安全监控技术领域,具体而言,本发明涉及一种摄像装置及其换向追踪控制方法,还涉及一种摄像装置与感应设备配对方法。The present invention relates to the technical field of security monitoring. Specifically, the present invention relates to a camera device and its direction-reversing tracking control method, and also relates to a pairing method of the camera device and a sensing device.

背景技术Background technique

在监控领域,主要依靠具有摄录功能的摄像头进行监控,监控一些重要的位置,例如大门、窗户、保险柜等等。然而,传统的摄像头通常需要一直监控这些位置,可能每个位置都需要一个摄像头进行监控,导致在一些场所需要设置大量的摄像头,导致建设成本和维护成本都十分大。In the field of monitoring, it mainly relies on a camera with a video recording function to monitor some important positions, such as doors, windows, safes and so on. However, traditional cameras usually need to monitor these locations all the time, and each location may require a camera for monitoring, resulting in the need to install a large number of cameras in some locations, resulting in very high construction costs and maintenance costs.

发明内容Contents of the invention

本发明的目的旨在至少能解决上述的技术缺陷之一,特别是建设成本大和维护成本大技术缺陷的至少之一。The object of the present invention is to at least solve one of the above-mentioned technical defects, especially at least one of the technical defects of high construction cost and high maintenance cost.

本发明提供一种摄像装置换向追踪控制方法,包括如下步骤:The present invention provides a camera device commutation tracking control method, comprising the following steps:

所述摄像装置接收由感应设备被触发而发送的第一触发信息以接受监控任务;所述第一触发信息包含所述感应设备的标识;The camera device receives the first trigger information sent by the sensing device being triggered to accept the monitoring task; the first trigger information includes the identification of the sensing device;

所述摄像装置根据所述感应设备的标识,确定与所述感应设备的标识相对应的第一方向信息;The imaging device determines first direction information corresponding to the identification of the sensing device according to the identification of the sensing device;

根据所述第一方向信息调整摄像装置的云台的旋转角度,以使得设置于其上的摄像头朝向与第一方向信息相对应的第一方向以实施对第一方向的摄录。The rotation angle of the pan/tilt of the camera device is adjusted according to the first direction information, so that the camera disposed thereon faces the first direction corresponding to the first direction information to implement video recording in the first direction.

本发明中,所述摄像装置还根据所述感应设备的标识,确定与所述感应设备的标识相对应的优先级别信息;当所述优先级别信息满足设定条件时,根据所述第一方向信息调整摄像装置的云台的旋转角度,以使得设置于其上的摄像头朝向与第一方向信息相对应的第一方向以实施对第一方向的摄录。In the present invention, the camera device also determines priority information corresponding to the identification of the sensing device according to the identification of the sensing device; when the priority information satisfies the set condition, according to the first direction The information adjusts the rotation angle of the pan/tilt of the camera device, so that the camera arranged on it faces the first direction corresponding to the first direction information to implement the shooting in the first direction.

本发明中,所述设定条件包括:所述感应设备的优先级别最高或优先级别比前一监控任务对应的感应设备的优先级别高。In the present invention, the setting conditions include: the sensing device has the highest priority level or the priority level is higher than that of the sensing device corresponding to the previous monitoring task.

本发明中,所述摄像装置进行摄录时接收到由所述感应设备被触发而发送的第二触发信息后,取消当前的监控任务;所述第二触发信息包含所述感应设备的标识。In the present invention, the camera device cancels the current monitoring task after receiving the second trigger information sent by the sensing device when recording; the second trigger information includes the identification of the sensing device.

本发明中,所述摄像装置进行摄录时接收到由所述感应设备被触发而发送的第二触发信息后,在预设时长后取消当前的监控任务;所述第二触发信息包含所述感应设备的标识。In the present invention, after the camera device receives the second trigger information triggered by the sensing device when recording, it cancels the current monitoring task after a preset period of time; the second trigger information includes the The ID of the sensing device.

本发明中,取消当前的监控任务后,所述摄像装置继续前一监控任务,调整摄像装置的云台的旋转角度,以使得设置于其上的摄像头朝向与前一监控任务相对应的方向以实施对该方向的摄录。In the present invention, after canceling the current monitoring task, the camera device continues the previous monitoring task, and adjusts the rotation angle of the pan/tilt of the camera device so that the camera set on it faces the direction corresponding to the previous monitoring task. Carry out recording in this direction.

本发明中,取消当前的监控任务后,所述摄像装置继续停留在当前位置监控直至接受新的监控任务。In the present invention, after canceling the current monitoring task, the camera device continues to monitor at the current position until accepting a new monitoring task.

本发明中,所述摄像装置将获得的摄录信息传输给预设的终端或服务器。In the present invention, the camera device transmits the obtained video recording information to a preset terminal or server.

本发明中,所述感应设备为门磁。In the present invention, the induction device is a magnetic door.

本发明中,所述门磁安装于门上,所述摄像装置接收危险信息后,才接收由感应设备被触发而发送的第一触发信息以接受监控任务;所述危险信息由门锁安全系统检测到非法开锁事件时发送。In the present invention, the door sensor is installed on the door, and the camera device receives the first trigger information triggered by the sensing device to accept the monitoring task after receiving the danger information; the danger information is sent by the door lock safety system Sent when an illegal unlock event is detected.

本发明中,所述摄像装置接收安全信息后,接收由感应设备被触发而发送的第一触发信息而忽略监控任务;所述安全信息由门锁安全系统检测到合法开锁事件时发送。In the present invention, after the camera device receives the security information, it receives the first trigger information sent by the sensing device and ignores the monitoring task; the security information is sent when the door lock security system detects a legal unlocking event.

本发明中,所述摄像装置在设定的时间段内才接收由感应设备被触发而发送的第一触发信息以接受监控任务。In the present invention, the camera device receives the first trigger information sent by the sensing device triggered to accept the monitoring task within a set time period.

本发明中,所述摄像装置和感应设备置通过蓝牙低功耗技术连接。In the present invention, the camera device and the sensing device are connected through Bluetooth low power consumption technology.

本发明中,所述第一触发信息为广播信息。In the present invention, the first trigger information is broadcast information.

本发明中,所述第一方向信息包括水平角度信息。In the present invention, the first direction information includes horizontal angle information.

本发明中,根据所述水平角度信息和当前水平角度调整摄像装置的云台的水平旋转角度。In the present invention, the horizontal rotation angle of the pan/tilt of the camera device is adjusted according to the horizontal angle information and the current horizontal angle.

本发明中,通过水平控制电机调整摄像装置的云台的水平旋转角度。In the present invention, the horizontal rotation angle of the pan/tilt of the imaging device is adjusted by a horizontal control motor.

本发明中,所述第一方向信息包括垂直角度信息。In the present invention, the first direction information includes vertical angle information.

本发明中,根据所述垂直角度信息和当前垂直角度调整摄像装置的云台的垂直旋转角度。In the present invention, the vertical rotation angle of the pan/tilt of the camera device is adjusted according to the vertical angle information and the current vertical angle.

本发明中,通过垂直控制电机调整摄像装置的云台的垂直旋转角度。In the present invention, the vertical rotation angle of the pan-tilt of the imaging device is adjusted by a vertical control motor.

本发明提供一种摄像装置,包括:The invention provides an imaging device, comprising:

通信模块,用于接收由感应设备被触发而发送的第一触发信息以接受监控任务;所述第一触发信息包含所述感应设备的标识;A communication module, configured to receive first trigger information sent by the sensing device being triggered to accept the monitoring task; the first trigger information includes the identification of the sensing device;

处理模块,用于根据所述感应设备的标识,确定与所述感应设备的标识相对应的第一方向信息;及A processing module, configured to determine first direction information corresponding to the identification of the sensing device according to the identification of the sensing device; and

调整模块,用于根据所述第一方向信息调整摄像装置的云台的旋转角度,以使得设置于其上的摄像头朝向与第一方向信息相对应的第一方向以实施对第一方向的摄录。An adjustment module, configured to adjust the rotation angle of the pan/tilt of the camera device according to the first direction information, so that the camera set on it faces a first direction corresponding to the first direction information to implement shooting in the first direction record.

本发明中,所述处理模块还用于根据所述感应设备的标识,确定与所述感应设备的标识相对应的优先级别信息;所述处理模块确定所述优先级别信息满足设定条件时,所述调整模块根据所述第一方向信息调整摄像装置的云台的旋转角度,以使得设置于其上的摄像头朝向与第一方向信息相对应的第一方向以实施对第一方向的摄录。In the present invention, the processing module is further configured to determine priority level information corresponding to the identification of the sensing device according to the identification of the sensing device; when the processing module determines that the priority level information satisfies a set condition, The adjustment module adjusts the rotation angle of the pan/tilt of the camera device according to the first direction information, so that the camera set on it faces the first direction corresponding to the first direction information to implement the recording in the first direction .

本发明中,所述设定条件包括:所述感应设备的优先级别最高或优先级别比前一监控任务对应的感应设备的优先级别高。In the present invention, the setting conditions include: the sensing device has the highest priority level or the priority level is higher than that of the sensing device corresponding to the previous monitoring task.

本发明中,所述摄像装置进行摄录时所述通信模块接收到由所述感应设备被触发而发送的第二触发信息后,所述处理模块取消当前的监控任务;所述第二触发信息包含所述感应设备的标识。In the present invention, after the communication module receives the second trigger information sent by the sensing device when the camera is recording, the processing module cancels the current monitoring task; the second trigger information Contains the ID of the sensing device.

本发明中,所述摄像装置进行摄录时所述通信模块接收到由所述感应设备被触发而发送的第二触发信息后,所述处理模块在预设时长后取消当前的监控任务;所述第二触发信息包含所述感应设备的标识。In the present invention, after the communication module receives the second trigger information sent by the sensing device when the camera is recording, the processing module cancels the current monitoring task after a preset period of time; The second trigger information includes the identification of the sensing device.

本发明中,所述处理模块取消当前的监控任务后,所述摄像装置继续前一监控任务,所述调整模块调整摄像装置的云台的旋转角度,以使得设置于其上的摄像头朝向与前一监控任务相对应的方向以实施对该方向的摄录。In the present invention, after the processing module cancels the current monitoring task, the camera device continues the previous monitoring task, and the adjustment module adjusts the rotation angle of the pan/tilt of the camera device so that the camera set on it faces the same direction as the front A direction corresponding to the monitoring task is used to record the direction.

本发明中,所述处理模块取消当前的监控任务后,所述摄像装置继续停留在当前位置监控直至接受新的监控任务。In the present invention, after the processing module cancels the current monitoring task, the camera device continues to monitor at the current position until accepting a new monitoring task.

本发明中,所述摄像装置还包括传输模块,所述传输模块将获得的摄录信息传输给预设的终端或服务器。In the present invention, the camera device further includes a transmission module, and the transmission module transmits the obtained recording information to a preset terminal or server.

本发明中,所述感应设备为门磁。In the present invention, the induction device is a magnetic door.

本发明中,所述门磁安装于门上,所述摄像装置接收危险信息后,才接收由感应设备被触发而发送的第一触发信息以接受监控任务;所述危险信息由门锁安全系统检测到非法开锁事件时发送。In the present invention, the door sensor is installed on the door, and the camera device receives the first trigger information triggered by the sensing device to accept the monitoring task after receiving the danger information; the danger information is sent by the door lock safety system Sent when an illegal unlock event is detected.

本发明中,所述摄像装置接收安全信息后,接收由感应设备被触发而发送的第一触发信息而忽略监控任务;所述安全信息由门锁安全系统检测到合法开锁事件时发送。In the present invention, after the camera device receives the security information, it receives the first trigger information sent by the sensing device and ignores the monitoring task; the security information is sent when the door lock security system detects a legal unlocking event.

本发明中,所述摄像装置在设定的时间段内才接收由感应设备被触发而发送的第一触发信息以接受监控任务。In the present invention, the camera device receives the first trigger information sent by the sensing device triggered to accept the monitoring task within a set time period.

本发明中,所述通信模块和感应设备置通过蓝牙低功耗技术连接。In the present invention, the communication module and the sensing device are connected through Bluetooth low power consumption technology.

本发明中,所述第一触发信息为广播信息。In the present invention, the first trigger information is broadcast information.

本发明中,所述第一方向信息包括水平角度信息。In the present invention, the first direction information includes horizontal angle information.

本发明中,所述调整模块根据所述水平角度信息和当前水平角度调整摄像装置的云台的水平旋转角度。In the present invention, the adjustment module adjusts the horizontal rotation angle of the pan/tilt of the camera device according to the horizontal angle information and the current horizontal angle.

本发明中,所述调整模块通过水平控制电机调整摄像装置的云台的水平旋转角度。In the present invention, the adjustment module adjusts the horizontal rotation angle of the pan-tilt of the imaging device through a horizontal control motor.

本发明中,所述第一方向信息包括垂直角度信息。In the present invention, the first direction information includes vertical angle information.

本发明中,所述调整模块根据所述垂直角度信息和当前垂直角度调整摄像装置的云台的垂直旋转角度。In the present invention, the adjustment module adjusts the vertical rotation angle of the pan/tilt of the camera device according to the vertical angle information and the current vertical angle.

本发明中,所述调整模块通过垂直控制电机调整摄像装置的云台的垂直旋转角度。In the present invention, the adjustment module adjusts the vertical rotation angle of the pan-tilt of the imaging device through a vertical control motor.

上述摄像装置及其换向追踪控制方法,所述摄像装置接收由感应设备被触发而发送的第一触发信息以接受监控任务;所述第一触发信息包含所述感应设备的标识;所述摄像装置根据所述感应设备的标识,确定与所述感应设备的标识相对应的第一方向信息;根据所述第一方向信息调整摄像装置的云台的旋转角度,以使得设置于其上的摄像头朝向与第一方向信息相对应的第一方向以实施对第一方向的摄录。感应设备可以是在外力触发下产生触发信息的设备,例如门磁等具有开关触发功能的设备。感应设备放置于例如大门、窗户、保险柜等重要物件,当这些物件被开启或者关闭触发时,感应设备可以产生响应的触发信息并发送给摄像装置,摄像装置可以根据触发信息转到该物件的方向进行有目的性的监控。大多数情况下,这些重要物件并不会同时被触发,因而通过少量的摄像头甚至一个摄像头便能对多个重要物件或者位置进行监控,大幅度降低建设成本以及维护成本。The above-mentioned camera device and its commutation tracking control method, the camera device receives the first trigger information sent by the sensing device to accept the monitoring task; the first trigger information includes the identification of the sensor device; the camera The device determines first direction information corresponding to the identification of the sensing device according to the identification of the sensing device; adjusts the rotation angle of the pan/tilt of the camera device according to the first direction information, so that the camera set on it Facing the first direction corresponding to the first direction information to implement the recording of the first direction. The sensing device may be a device that generates trigger information when triggered by an external force, such as a device with a switch trigger function such as a door sensor. The sensing device is placed on important objects such as doors, windows, safes, etc. When these objects are triggered by opening or closing, the sensing device can generate corresponding trigger information and send it to the camera device. direction for purposeful monitoring. In most cases, these important objects are not triggered at the same time, so a small number of cameras or even one camera can monitor multiple important objects or locations, greatly reducing construction costs and maintenance costs.

本发明提供一种摄像装置与感应设备配对方法,包括如下步骤:The present invention provides a pairing method between an imaging device and a sensing device, comprising the following steps:

所述摄像装置获取所述感应设备的标识;The camera device acquires the identification of the sensing device;

设置于所述摄像装置的云台上的摄像头被调节朝向第一方向,所述摄像装置确定表征所述第一方向的第一方向信息,建立所述感应设备的标识和第一方向信息之间的映射关系;The camera arranged on the pan/tilt of the camera device is adjusted to face the first direction, the camera device determines the first direction information representing the first direction, and establishes a relationship between the identification of the sensing device and the first direction information mapping relationship;

其中,所述摄像装置能够根据所述第一方向信息调整所述云台的旋转角度,以使得所述摄像头朝向第一方向以实施对第一方向的摄录。Wherein, the camera device can adjust the rotation angle of the pan/tilt according to the first direction information, so that the camera faces the first direction for recording in the first direction.

本发明中,所述摄像装置通过扫描条形码或二维码的方式获取所述感应设备的标识。In the present invention, the camera device acquires the identification of the sensing device by scanning a barcode or a two-dimensional code.

本发明中,所述摄像装置通过蓝牙通信方式获取所述感应设备的标识。In the present invention, the camera acquires the identification of the sensing device through Bluetooth communication.

本发明中,所述摄像装置获取所述感应设备的标识后,还建立所述感应设备的标识和优先级别信息之间的映射关系。In the present invention, after the imaging device acquires the identification of the sensing device, it further establishes a mapping relationship between the identification of the sensing device and priority level information.

本发明中,所述第一方向信息包括水平角度信息。In the present invention, the first direction information includes horizontal angle information.

本发明中,所述第一方向信息包括垂直角度信息。In the present invention, the first direction information includes vertical angle information.

本发明中,所述感应设备为在外力触发下产生触发信息的设备。In the present invention, the sensing device is a device that generates trigger information when triggered by an external force.

本发明中,所述感应设备为门磁。In the present invention, the induction device is a magnetic door.

本发明提供一种摄像装置,包括:云台、摄像头、通信模块、处理模块和调整模块;所述摄像头设置于所述云台上;The present invention provides a camera device, comprising: a cloud platform, a camera, a communication module, a processing module and an adjustment module; the camera is set on the cloud platform;

所述通信模块用于获取感应设备的标识;The communication module is used to obtain the identification of the sensing device;

所述摄像头被调节朝向第一方向,所述处理模块确定表征所述第一方向的第一方向信息,建立所述感应设备的标识和第一方向信息之间的映射关系;The camera is adjusted to face a first direction, the processing module determines first direction information representing the first direction, and establishes a mapping relationship between the identification of the sensing device and the first direction information;

其中,所述调整模块能够根据所述第一方向信息调整所述云台的旋转角度,以使得所述摄像头朝向第一方向以实施对第一方向的摄录。Wherein, the adjustment module can adjust the rotation angle of the pan/tilt according to the first direction information, so that the camera faces the first direction to perform video recording in the first direction.

本发明中,所述获取模块通过扫描条形码或二维码的方式获取所述感应设备的标识。In the present invention, the acquiring module acquires the identification of the sensing device by scanning a barcode or a two-dimensional code.

本发明中,所述获取模块通过蓝牙通信方式获取所述感应设备的标识。In the present invention, the obtaining module obtains the identification of the sensing device through Bluetooth communication.

本发明中,所述获取模块获取所述感应设备的标识后,所述处理模块还建立所述感应设备的标识和优先级别信息之间的映射关系。In the present invention, after the acquisition module acquires the identification of the sensing device, the processing module further establishes a mapping relationship between the identification of the sensing device and priority level information.

本发明中,所述第一方向信息包括水平角度信息。In the present invention, the first direction information includes horizontal angle information.

本发明中,所述第一方向信息包括垂直角度信息。In the present invention, the first direction information includes vertical angle information.

本发明中,所述感应设备为在外力触发下产生触发信息的设备。In the present invention, the sensing device is a device that generates trigger information when triggered by an external force.

本发明中,所述感应设备为门磁。In the present invention, the induction device is a magnetic door.

上述的摄像装置与感应设备配对方法,所述摄像装置获取所述感应设备的标识;设置于所述摄像装置的云台上的摄像头被调节朝向第一方向,所述摄像装置确定表征所述第一方向的第一方向信息,建立所述感应设备的标识和第一方向信息之间的映射关系;其中,所述摄像装置能够根据所述第一方向信息调整所述云台的旋转角度,以使得所述摄像头朝向第一方向以实施对第一方向的摄录。通过上述摄像装置与感应设备配对方法,使得单个摄像装置可以根据不同感应设备标识而识别每个感应设备的方向,从而方便摄像装置在监控时实施上述的摄像装置换向追踪控制方法,大幅度降低建设成本以及维护成本。In the above method for pairing an imaging device with a sensing device, the imaging device obtains the identification of the sensing device; the camera set on the pan/tilt of the imaging device is adjusted to face the first direction, and the imaging device determines to represent the first First direction information of a direction, establishing a mapping relationship between the identification of the sensing device and the first direction information; wherein, the camera can adjust the rotation angle of the pan/tilt according to the first direction information, so as to The camera is made to face the first direction to implement video recording in the first direction. Through the above method of pairing the camera device with the sensing device, a single camera device can identify the direction of each sensor device according to the identification of the different sensor devices, thereby facilitating the camera device to implement the above camera device commutation tracking control method during monitoring, greatly reducing the Construction costs and maintenance costs.

本发明附加的方面和优点将在下面的描述中部分给出,这些将从下面的描述中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the invention will be set forth in part in the description which follows, and will become apparent from the description, or may be learned by practice of the invention.

附图说明Description of drawings

本发明上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention will become apparent and easy to understand from the following description of the embodiments in conjunction with the accompanying drawings, wherein:

图1为一个实施例的摄像装置与感应设备通信时的示意图;FIG. 1 is a schematic diagram of an embodiment of an imaging device communicating with a sensing device;

图2为一个实施例的摄像装置模块示意图;Fig. 2 is a schematic diagram of a camera module of an embodiment;

图3为一个实施例的摄像装置换向追踪控制方法流程图;FIG. 3 is a flow chart of a method for controlling direction change and tracking of a camera device according to an embodiment;

图4为一个实施例的摄像装置与感应设备配对方法流程图。FIG. 4 is a flowchart of a pairing method between a camera device and a sensing device according to an embodiment.

具体实施方式detailed description

下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本发明,而不能解释为对本发明的限制。Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention.

本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本发明的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。应该理解,当我们称元件被“连接”或“耦接”到另一元件时,它可以直接连接或耦接到其他元件,或者也可以存在中间元件。此外,这里使用的“连接”或“耦接”可以包括无线连接或无线耦接。这里使用的措辞“和/或”包括一个或更多个相关联的列出项的全部或任一单元和全部组合。Those skilled in the art will understand that unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the word "comprising" used in the description of the present invention refers to the presence of said features, integers, steps, operations, elements and/or components, but does not exclude the presence or addition of one or more other features, Integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Additionally, "connected" or "coupled" as used herein may include wireless connection or wireless coupling. The expression "and/or" used herein includes all or any elements and all combinations of one or more associated listed items.

本技术领域技术人员可以理解,除非另外定义,这里使用的所有术语(包括技术术语和科学术语),具有与本发明所属领域中的普通技术人员的一般理解相同的意义。还应该理解的是,诸如通用字典中定义的那些术语,应该被理解为具有与现有技术的上下文中的意义一致的意义,并且除非像这里一样被特定定义,否则不会用理想化或过于正式的含义来解释。Those skilled in the art can understand that, unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art to which this invention belongs. It should also be understood that terms, such as those defined in commonly used dictionaries, should be understood to have meanings consistent with their meaning in the context of the prior art, and unless specifically defined as herein, are not intended to be idealized or overly Formal meaning to explain.

本技术领域技术人员可以理解,这里所使用的“终端”、“终端设备”既包括无线信号接收器的设备,其仅具备无发射能力的无线信号接收器的设备,又包括接收和发射硬件的设备,其具有能够在双向通信链路上,执行双向通信的接收和发射硬件的设备。这种设备可以包括:蜂窝或其他通信设备,其具有单线路显示器或多线路显示器或没有多线路显示器的蜂窝或其他通信设备;PCS(PersonalCommunicationsService,个人通信系统),其可以组合语音、数据处理、传真和/或数据通信能力;PDA(PersonalDigitalAssistant,个人数字助理),其可以包括射频接收器、寻呼机、互联网/内联网访问、网络浏览器、记事本、日历和/或GPS(GlobalPositioningSystem,全球定位系统)接收器;常规膝上型和/或掌上型计算机或其他设备,其具有和/或包括射频接收器的常规膝上型和/或掌上型计算机或其他设备。这里所使用的“终端”、“终端设备”可以是便携式、可运输、安装在交通工具(航空、海运和/或陆地)中的,或者适合于和/或配置为在本地运行,和/或以分布形式,运行在地球和/或空间的任何其他位置运行。这里所使用的“终端”、“终端设备”还可以是通信终端、上网终端、音乐/视频播放终端,例如可以是PDA、MID(MobileInternetDevice,移动互联网设备)和/或具有音乐/视频播放功能的移动电话,也可以是智能电视、机顶盒等设备。Those skilled in the art can understand that the "terminal" and "terminal equipment" used here not only include wireless signal receiver equipment, which only has wireless signal receiver equipment without transmission capabilities, but also include receiving and transmitting hardware. A device having receiving and transmitting hardware capable of performing bi-directional communication over a bi-directional communication link. Such equipment may include: cellular or other communication equipment, which has a single-line display or a multi-line display or a cellular or other communication equipment without a multi-line display; PCS (Personal Communications Service, personal communication system), which can combine voice, data processing, Fax and/or data communication capability; PDA (Personal Digital Assistant, personal digital assistant), which may include radio frequency receiver, pager, Internet/Intranet access, web browser, notepad, calendar and/or GPS (Global Positioning System, Global Positioning System ) receiver; a conventional laptop and/or palmtop computer or other device having and/or including a radio frequency receiver. As used herein, a "terminal", "terminal device" may be portable, transportable, installed in a vehicle (air, sea, and/or land), or adapted and/or configured to operate locally, and/or In distributed form, the operation operates at any other location on Earth and/or in space. The "terminal" and "terminal equipment" used here can also be communication terminals, Internet terminals, music/video playback terminals, such as PDAs, MIDs (Mobile Internet Devices, mobile Internet devices) and/or devices with music/video playback functions. Mobile phones, smart TVs, set-top boxes, and other devices.

本技术领域技术人员可以理解,这里所使用的远端网络设备,其包括但不限于计算机、网络主机、单个网络服务器、多个网络服务器集或多个服务器构成的云。在此,云由基于云计算(CloudComputing)的大量计算机或网络服务器构成,其中,云计算是分布式计算的一种,由一群松散耦合的计算机集组成的一个超级虚拟计算机。本发明的实施例中,远端网络设备、终端设备与WNS服务器之间可通过任何通信方式实现通信,包括但不限于,基于3GPP、LTE、WIMAX的移动通信、基于TCP/IP、UDP协议的计算机网络通信以及基于蓝牙、红外传输标准的近距无线传输方式。Those skilled in the art can understand that the remote network device used here includes, but is not limited to, a computer, a network host, a single network server, a set of multiple network servers, or a cloud formed by multiple servers. Here, the cloud is composed of a large number of computers or network servers based on cloud computing (Cloud Computing), wherein cloud computing is a kind of distributed computing, a super virtual computer composed of a group of loosely coupled computer sets. In the embodiment of the present invention, the communication between the remote network equipment, the terminal equipment and the WNS server can be realized through any communication method, including but not limited to, mobile communication based on 3GPP, LTE, WIMAX, based on TCP/IP, UDP protocol Computer network communication and short-distance wireless transmission methods based on Bluetooth and infrared transmission standards.

针对传统摄像装置建设成本大和维护成本大至少之一的缺陷,以下提供一种解决该缺陷的摄像装置及其换向追踪控制方法。Aiming at at least one of the defects of high construction cost and high maintenance cost of the traditional camera device, a camera device and its commutation tracking control method to solve this defect are provided below.

图1为一个实施例的摄像装置与感应设备通信时的示意图,图2为一个实施例的摄像装置模块示意图。FIG. 1 is a schematic diagram of an embodiment of a camera device communicating with a sensing device, and FIG. 2 is a schematic diagram of a camera device module of an embodiment.

一种摄像装置100,包括:通信模块110、处理模块120和调整模块130。摄像装置100为可以摄录图像、视频及声音的摄录装置,在本发明中用于监控。摄像装置100通常由两大实体部分构成:摄像头和云台。摄像头设置于云台之上,处于可上下左右转动的状态,可以通过水平控制电机来左右转动,通过垂直控制电机来上下转动。A camera device 100 includes: a communication module 110 , a processing module 120 and an adjustment module 130 . The camera device 100 is a camera device capable of recording images, videos and sounds, and is used for monitoring in the present invention. The camera device 100 is generally composed of two major physical parts: a camera and a pan/tilt. The camera is set on the cloud platform and is in a state of being able to rotate up, down, left, and right. It can be rotated left and right by controlling the motor horizontally, and rotated up and down by controlling the motor vertically.

通常摄像头会设置于一个初始位置,作为摄像头的标准位置。当摄像头需要转动到某一方向时,是基于这个标准位置作为计算基点的。例如当摄像头刚好位于标准位置时,摄像头需要转向某一方向,则需要向下转动α1角度、向右转动β1角度;如果摄像头没有位于标准位置,例如位于相对于标准位置而言向下α2角度、向右转动β2角度,则可以得到摄像头所需转动的角度为向下α2-α1角度、向右转动β2-β1角度,-为减号。Usually the camera will be set at an initial position as the standard position of the camera. When the camera needs to rotate to a certain direction, it is based on this standard position as the calculation base point. For example, when the camera is just at the standard position, and the camera needs to turn to a certain direction, it needs to be turned downward by an angle of α1 and rightward by an angle of β1; , Turning to the right by an angle of β2, the required rotation angle of the camera can be obtained as a downward angle of α2-α1, and a rightward rotation of an angle of β2-β1, and - is a minus sign.

通信模块110用于接收由感应设备200被触发而发送的第一触发信息以接受监控任务;第一触发信息包含感应设备200的标识。The communication module 110 is used for receiving the first trigger information sent by the sensing device 200 to accept the monitoring task; the first trigger information includes the identification of the sensing device 200 .

处理模块120用于根据感应设备200的标识,确定与感应设备200的标识相对应的第一方向信息。The processing module 120 is configured to determine first direction information corresponding to the identification of the sensing device 200 according to the identification of the sensing device 200 .

调整模块130用于根据第一方向信息调整摄像装置100的云台的旋转角度,以使得设置于其上的摄像头朝向与第一方向信息相对应的第一方向以实施对第一方向的摄录。The adjustment module 130 is used to adjust the rotation angle of the pan/tilt of the camera device 100 according to the first direction information, so that the camera installed on it faces the first direction corresponding to the first direction information to implement the recording in the first direction .

图3为一个实施例的摄像装置换向追踪控制方法流程图,请结合图1、图2。FIG. 3 is a flow chart of a method for controlling direction change tracking of a camera device according to an embodiment, please refer to FIG. 1 and FIG. 2 .

一种摄像装置换向追踪控制方法,包括如下步骤:A camera device commutation tracking control method, comprising the steps of:

步骤S110:摄像装置100的通信模块110接收由感应设备200被触发而发送的第一触发信息以接受监控任务。第一触发信息包含感应设备200的标识,例如可以是感应设备200的物理地址或者唯一标识符。第一触发信息有相对应的监控任务。Step S110: the communication module 110 of the camera apparatus 100 receives the first trigger information sent by the sensing device 200 being triggered to accept the monitoring task. The first trigger information includes the identification of the sensing device 200 , for example, may be a physical address or a unique identifier of the sensing device 200 . The first trigger information has a corresponding monitoring task.

感应设备200在受到触发后,可以发送触发信号或信息,相当于具有触发开关的功能。感应设备200可以是在外力触发下产生第一触发信息的设备。例如在本发明中,感应设备200可以为门磁(Doorsensor)。After being triggered, the sensing device 200 can send a trigger signal or information, which is equivalent to having the function of a trigger switch. The sensing device 200 may be a device that generates first trigger information when triggered by an external force. For example, in the present invention, the sensing device 200 may be a door sensor (Doorsensor).

门磁用来探测门、窗、抽屉等是否被非法打开或移动的触发事件。所谓的门磁其实是门磁开关,基本由永磁体和门磁主体两部分组成。永磁体内部有一块永久磁铁,用来产生恒定的磁场;门磁主体内部有一个常开型的干簧管,并连接有无线发射器;当永磁体和干簧管靠得很近时(例如小于5毫米),门磁开关处于工作守候状态;当永磁体离开干簧管一定距离后,门磁开关处于常开状态。因此,当门磁安装于门、窗、抽屉等物件时,门磁可以在门、窗、抽屉等物件被打开或移动的情况下,识别为开启事件,通过无线发射器发送第一触发信号;当然,当门、窗、抽屉等物件被关上时,门磁识别为关闭事件,也可以通过无线发射器发送第二触发信号。The door sensor is used to detect whether doors, windows, drawers, etc. are illegally opened or moved. The so-called door magnet is actually a door magnetic switch, which basically consists of two parts: a permanent magnet and a door magnet body. There is a permanent magnet inside the permanent magnet, which is used to generate a constant magnetic field; there is a normally open reed switch inside the main body of the door magnet, and a wireless transmitter is connected; when the permanent magnet and the reed switch are close together (such as less than 5 mm), the door magnetic switch is in the working standby state; when the permanent magnet is away from the reed switch for a certain distance, the door magnetic switch is in the normally open state. Therefore, when the door sensor is installed on a door, window, drawer, etc., the door sensor can recognize it as an opening event when the door, window, drawer, etc. are opened or moved, and send the first trigger signal through the wireless transmitter; Of course, when objects such as doors, windows, and drawers are closed, the door sensor recognizes it as a closing event, and a second trigger signal can also be sent through the wireless transmitter.

门磁的接收主机接收第一触发信号或第二触发信号,并将第一触发信号转化为上述第一触发信息,将第二触发信号转化为上述第二触发信息,然后通过无线通信方式(例如蓝牙通信)将第一触发信息或第二触发信息发送给摄像装置100。当然,也可以直接通过上述的无线发射器将第一触发信号或第二触发信号作为第一触发信息或第二触发信息发送给摄像装置100。The receiving host of the door sensor receives the first trigger signal or the second trigger signal, and converts the first trigger signal into the above-mentioned first trigger information, and converts the second trigger signal into the above-mentioned second trigger information, and then through wireless communication (such as Bluetooth communication) to send the first trigger information or the second trigger information to the imaging device 100 . Of course, the first trigger signal or the second trigger signal may also be directly sent to the imaging device 100 as the first trigger information or the second trigger information through the aforementioned wireless transmitter.

在一些实施例中,感应设备200可以包括有传感器设备,例如烟雾传感器、震动传感器、红外传感器等等。烟雾传感器可以用来监测烟雾以监控可能发生的火灾事件,震动传感器可以用来监测震动以监控可能发生的非法破坏或者非法入室事件,红外传感器可以用来监测人员的走动进出事件,当这些传感器监测到这些事件则会产生传感信号,并将传感信号作为或转化为第一触发信息发送。In some embodiments, the sensing device 200 may include a sensor device, such as a smoke sensor, a vibration sensor, an infrared sensor, and the like. Smoke sensors can be used to monitor smoke to monitor possible fire events, shock sensors can be used to monitor vibrations to monitor possible illegal damage or illegal entry events, infrared sensors can be used to monitor people's walking in and out events, when these sensors monitor When these events are detected, sensing signals will be generated, and the sensing signals will be sent as or converted into the first trigger information.

在以下的描述中,以感应设备200为门磁来做主要描述。In the following description, the induction device 200 is used as the door sensor for the main description.

摄像装置100的通信模块110和感应设备200可以通过蓝牙通信连接,感应设备200通过预建立的蓝牙信任通信接口发送第一触发信息给摄像装置100。The communication module 110 of the imaging device 100 and the sensing device 200 may be connected through Bluetooth communication, and the sensing device 200 sends the first trigger information to the imaging device 100 through a pre-established Bluetooth trusted communication interface.

所述预建立的蓝牙信任通信接口,可以理解为摄像装置100的通信模块110已经预先和感应设备200进行过蓝牙配对而形成的通信接口。例如,摄像装置100和感应设备200在出厂之前就进行过预先蓝牙配对,或者摄像装置100和感应设备200到了用户手中用户再将其蓝牙配对。经过一次蓝牙配对的摄像装置100和感应设备200,就相当于预建立了蓝牙信任通信接口,这样摄像装置100和感应设备200在下一次进行蓝牙连接时可以直接建立信任连接,不再进行蓝牙配对。The pre-established Bluetooth trusted communication interface can be understood as a communication interface formed by the communication module 110 of the camera device 100 having performed Bluetooth pairing with the sensing device 200 in advance. For example, the camera device 100 and the sensing device 200 are pre-paired via Bluetooth before leaving the factory, or the camera device 100 and the sensing device 200 are paired by Bluetooth after they are in the hands of the user. The camera device 100 and the sensor device 200 that have been paired once via Bluetooth are equivalent to pre-establishing a Bluetooth trusted communication interface, so that the camera device 100 and the sensor device 200 can directly establish a trusted connection when they make a Bluetooth connection next time without Bluetooth pairing.

因此在第一触发信息中,通常还会包括感应设备200的唯一识别的特征信息或标识,例如物理地址(MAC)和标识符(ID)中至少一种,这样摄像装置100在预先蓝牙配对时就可以将其加入信任列表,下次连接时可以识别并直接自动建立连接。Therefore, in the first trigger information, usually also include the characteristic information or identification of the unique identification of the sensing device 200, such as at least one of the physical address (MAC) and the identifier (ID), so that the camera 100 can You can add it to the trust list, and it can be recognized and automatically established the next time you connect.

为了最大限度地降低功耗,摄像装置100的通信模块110和感应设备200之间采用蓝牙低能耗技术(BLE)。BLE技术采用可变连接时间间隔,这个间隔根据具体应用可以设置为几毫秒到几秒不等。另外,因为BLE技术采用非常快速的连接方式,因此平时可以处于“非连接”状态(Standby,待机状态)以降低能耗,此时链路两端相互间只是知晓对方,只有在必要时才开启链路,然后在尽可能短的时间内关闭链路。In order to minimize power consumption, Bluetooth Low Energy (BLE) is used between the communication module 110 of the camera device 100 and the sensing device 200 . BLE technology uses a variable connection time interval, which can be set from a few milliseconds to a few seconds depending on the specific application. In addition, because BLE technology uses a very fast connection method, it can be in a "non-connected" state (Standby, standby state) to reduce energy consumption. At this time, the two ends of the link only know each other, and the link is only opened when necessary. path, and then shut down the link in the shortest possible time.

第一触发信息和第二触发信息可以为BLE技术中的广播信息。在广播信息中,还可以包括触发事件代码,以区分第一触发信息和第二触发信息。第一触发信息是由门磁开启而产生的触发信息,第二触发信息是由门磁关闭而产生的触发信息,因此第一触发信息可以包括开启事件的代码(例如1),第二触发信息可以包括关闭事件的代码(例如0)。摄像装置100在发送完广播信息后,可以从广播状态切换到待机状态,以节约能耗。The first trigger information and the second trigger information may be broadcast information in BLE technology. In the broadcast information, a trigger event code may also be included to distinguish the first trigger information from the second trigger information. The first trigger information is the trigger information generated by the door sensor opening, and the second trigger information is the trigger information generated by the door sensor closing, so the first trigger information can include the code (for example, 1) of the opening event, and the second trigger information Can include a code (eg 0) to close the event. After sending the broadcast information, the camera device 100 may switch from the broadcast state to the standby state, so as to save energy consumption.

在一些情况下,即使门磁被触发,可能也并不需要进行监控。例如门磁安装于大门、窗户、保险柜时,当大门、窗户、保险柜被开启而触发门磁,如果是获得授权的人员进行的合法事件,则无需进行监控。因此,如果摄像装置100监测到门磁被触发是在合法事件下触发的,可以接到本次触发的第一触发信息后忽略监控任务;如果摄像装置100监测到门磁被触发不是在合法事件下触发的,才在接到本次触发的第一触发信息后接受监控任务。In some cases, monitoring may not be required even if the door contact is triggered. For example, when the door sensor is installed on the door, window, or safe, when the door, window, or safe is opened and the door sensor is triggered, if it is a legal event performed by authorized personnel, no monitoring is required. Therefore, if the camera device 100 detects that the door sensor is triggered under a legal event, it can ignore the monitoring task after receiving the first trigger information of this trigger; Only after receiving the first trigger information of this trigger, the monitoring task will be accepted.

因此,可以考虑将摄像装置与门锁安全系统进行结合。门磁安装于门(大门、窗户门或保险柜门等)上时,如果门锁安全系统检测到非法开锁事件并发送危险信息,摄像装置100接收危险信息后,才接收由感应设备200被触发而发送的第一触发信息以接受监控任务;危险信息由门锁安全系统检测到非法开锁事件时发送。如果门锁安全系统检测到合法开锁事件并发送危险信息,摄像装置100接收安全信息后,接收由感应设备被触发而发送的第一触发信息而忽略监控任务;安全信息由门锁安全系统检测到合法开锁事件时发送。当然,在一些实施例中,可以不需要安全信息,摄像装置100只有在接收到危险信息时才响应第一触发信息接受监控任务,而没有接到危险信息时并不响应第一触发信息接受监控任务。Therefore, it can be considered to combine the camera device with the door lock security system. When the door magnetism is installed on the door (gate, window door or safe door, etc.), if the door lock security system detects an illegal unlocking event and sends a dangerous message, the camera device 100 receives the dangerous message, and then receives the signal and is triggered by the sensing device 200. The first trigger information sent is to accept the monitoring task; the danger information is sent when the door lock safety system detects an illegal unlocking event. If the door lock security system detects a legal unlocking event and sends danger information, after receiving the security information, the camera device 100 receives the first trigger information sent by the sensing device being triggered and ignores the monitoring task; the security information is detected by the door lock security system Sent when a unlock event is legal. Certainly, in some embodiments, safety information may not be required, and the camera device 100 accepts monitoring tasks in response to the first trigger information only when receiving dangerous information, and does not accept monitoring in response to the first trigger information when no dangerous information is received. Task.

门锁安全系统是监测门锁是否合法打开的系统,当门锁被非法打开(例如暴力开锁)时,将会触发发送上述的危险信息;当门锁被合法打开(例如输入合法的开锁密码或者使用正确的钥匙)时,将会触发发送上述的安全信息。例如门锁安全系统可以包括门禁系统。The door lock security system is a system that monitors whether the door lock is opened legally. When the door lock is opened illegally (such as violently unlocking), it will trigger the sending of the above-mentioned dangerous information; when the door lock is legally opened (such as entering a legal unlock password or When the correct key is used), the sending of the above-mentioned security message will be triggered. For example, a door lock security system may include an access control system.

在一些情况下,可能在某些时间段内有较多获得授权的人员进行合法事件以触发门磁,例如在开派对期间可能大量的参加派对人士开启大门触发门磁,因此用户可以设定某一事件段内摄像装置100无需响应第一触发信息以接受监控任务,摄像装置100在设定的时间段内,即使接收由感应设备200被触发而发送的第一触发信息,也并不响应第一触发信息以接受监控任务。In some cases, there may be more authorized personnel to perform legal events to trigger the door contact during a certain period of time. For example, during a party, a large number of partygoers may open the door to trigger the door contact. In an event period, the camera device 100 does not need to respond to the first trigger information to accept the monitoring task, and the camera device 100 does not respond to the first trigger message even if it receives the first trigger message sent by the sensing device 200 within the set time period. A trigger message to accept monitoring tasks.

又或者在一些情况下,家里在白天时间都有家人在家,此时并不需要摄像装置100密切监控大门,只需要晚上出于安全考虑才需要摄像装置100密切监控大门,因此摄像装置100可以在设定的时间段内才接收由感应设备200被触发而发送的第一触发信息以接受监控任务。Or in some cases, there are family members at home during the daytime. At this time, the camera device 100 is not required to closely monitor the gate. It is only necessary for the camera device 100 to closely monitor the gate at night for safety considerations. Therefore, the camera device 100 can be used at night The first trigger information sent by the sensing device 200 after being triggered is received within a set time period to accept the monitoring task.

摄像装置100的通信模块110接收第一触发信息,根据第一触发信息的内容接受相应的监控任务,然后执行步骤S120。The communication module 110 of the camera device 100 receives the first trigger information, accepts a corresponding monitoring task according to the content of the first trigger information, and then executes step S120.

步骤S120:摄像装置100的处理模块120根据感应设备200的标识,确定与感应设备200的标识相对应的第一方向信息。第一方向信息预先存储于摄像装置100的存储介质中,该第一方向信息与感应设备200的标识相对应。Step S120: The processing module 120 of the camera device 100 determines the first direction information corresponding to the identification of the sensing device 200 according to the identification of the sensing device 200 . The first direction information is pre-stored in the storage medium of the camera device 100 , and the first direction information corresponds to the identification of the sensing device 200 .

第一方向信息中的第一方向是对于摄像装置100而言的某一方向,大多数情况下,是感应设备200所安装位置的方向。感应设备200为门磁,安装于大门、窗户、保险柜等位置,则第一方向就是对于摄像装置100而言的大门、窗户、保险柜等位置所在方向。因此,摄像装置100得到第一方向信息后,就可以知道将摄像头转向第一方向以对第一方向的大门、窗户、保险柜等位置进行监控。The first direction in the first direction information is a certain direction for the imaging device 100 , and in most cases, it is the direction where the sensing device 200 is installed. The sensing device 200 is a door sensor installed on a door, window, safe, etc., and the first direction is the direction of the door, window, safe, etc. for the camera device 100 . Therefore, after the camera device 100 obtains the first direction information, it can know to turn the camera to the first direction to monitor the door, window, safe and other positions in the first direction.

当然,可能第一方向并不是感应设备200所在位置的方向。例如当感应设备200安装于大门时,第一方向可能是摄像装置100对着从大门进来的通道的方向。总之,第一方向信息中的第一方向,是感应设备200被触发后,用户认为最需要监控的位置方向,其不一定是感应设备200所在位置的方向。当感应设备200为传感器设备时,同样成立。例如当感应设备200为烟雾传感器时,由于烟雾传感器通常安装于天花板位置,因此当烟雾传感器监测到烟雾时,很可能是发送失火事件,因此摄像装置100需要将摄像头对准一些容易失火的位置。Of course, the first direction may not be the direction where the sensing device 200 is located. For example, when the sensing device 200 is installed on a gate, the first direction may be a direction in which the camera 100 faces a passage coming in from the gate. In short, the first direction in the first direction information is the position direction that the user thinks most needs to be monitored after the sensing device 200 is triggered, and it is not necessarily the direction where the sensing device 200 is located. The same holds true when the sensing device 200 is a sensor device. For example, when the sensing device 200 is a smoke sensor, since the smoke sensor is usually installed on the ceiling, when the smoke sensor detects smoke, it is likely to send a fire event, so the camera device 100 needs to aim the camera at some fire-prone positions.

在一些实施例中,第一方向信息包括水平角度信息和垂直角度信息。水平角度信息和垂直角度信息是相对于摄像头的标准位置而言的。例如,垂直角度信息为向下转动α1角度、水平角度信息为向右转动β1角度,α1和β1都是相对于标准位置而言。如上所述,当得到垂直角度信息为向下转动α1角度、水平角度信息为向右转动β1角度的时候,如果摄像头没有位于标准位置,例如摄像头位于相对于标准位置而言向下转动α2角度、向右转动β2角度的位置,则可以得到摄像头所需转动的角度为向下α2-α1角度、向右转动β2-β1角度。In some embodiments, the first direction information includes horizontal angle information and vertical angle information. Horizontal angle information and vertical angle information are relative to the standard position of the camera. For example, the vertical angle information is a downward rotation angle of α1, and the horizontal angle information is a rightward rotation angle of β1, and both α1 and β1 are relative to the standard position. As mentioned above, when the vertical angle information is α1 angle downward and the horizontal angle information is β1 angle rightward rotation, if the camera is not in the standard position, for example, the camera is in the downward rotation α2 angle relative to the standard position 1. Rotate the position of the angle β2 to the right, then the required rotation angle of the camera can be obtained as the angle α2-α1 downward, and the angle β2-β1 to the right.

当然,第一方向信息也可以是摄像头所需转动步数的信息,例如水平转动步数信息和垂直转动步数信息。同样,水平运动步数信息和垂直运动步数信息是相对于摄像头的标准位置而言的。例如,垂直运动步数信息为向下运动X1步、水平运动步数信息为向右运动Y1步,X1步和Y1步都是相对于标准位置而言。当得到垂直运动步数信息为向下运动X1步、水平运动步数信息为向右运动Y1步的时候,如果摄像头没有位于标准位置,例如摄像头位于相对于标准位置而言向下运动X2步、向右运动Y2步的位置,则可以得到摄像头所需转动的步数为向下运动X2-X1步、向右运动Y2-Y1步。Certainly, the first direction information may also be the information of the required rotation steps of the camera, such as the information of the horizontal rotation steps and the vertical rotation steps information. Similarly, the horizontal movement step information and the vertical movement step information are relative to the standard position of the camera. For example, the information on the number of vertical movement steps is X1 steps downward, and the information on the number of horizontal movement steps is Y1 steps to the right. Both X1 steps and Y1 steps are relative to the standard position. When the information on the number of vertical movement steps is X1 steps downward and the information on the number of horizontal movement steps is Y1 steps to the right, if the camera is not at the standard position, for example, the camera is at X2 steps downward relative to the standard position, Move the position of Y2 steps to the right, and the number of steps required to rotate the camera can be obtained as X2-X1 steps for downward movement and Y2-Y1 steps for rightward movement.

多个感应设备200,可以根据各自的标识(例如MAC或ID)对应不同的方向信息。例如,感应设备200可能安装于多个大门、多个窗户、多个保险柜、多个传感器等等,这些感应设备200通常散布设置于不同位置,所以通过感应设备200的标识可以使得摄像装置100识别各个感应设备200所对应的方向。Multiple sensing devices 200 may correspond to different direction information according to their respective identifiers (such as MAC or ID). For example, the sensing device 200 may be installed on multiple gates, multiple windows, multiple safes, multiple sensors, etc. These sensing devices 200 are usually scattered and arranged in different locations, so the identification of the sensing device 200 can make the camera 100 The direction corresponding to each sensing device 200 is identified.

然而,当存在多个感应设备200时,如果存在多个感应设备200同时收到触发事件触发而发送第一触发信息,则由于各自的第一触发信息都对应着各自的监控任务,摄像装置100可能不能确定监控哪个感应设备200所对应的方向,导致可能会出现监控混乱。因此,可以考虑为各个感应设备200设置对应的优先级别,当多个感应设备200同时收到触发事件触发而发送第一触发信息时,按照最高优先级别的感应设备200所对应的方向进行监控。因此,摄像装置100的处理模块120还可以根据感应设备200的标识,确定与感应设备200的标识相对应的优先级别信息。与第一方向信息一样,优先级别信息也预先存储于摄像装置100的存储介质中,该优先级别信息与感应设备200的标识相对应。However, when there are multiple sensing devices 200, if there are multiple sensing devices 200 simultaneously receiving the trigger event and sending the first trigger information, since the respective first trigger information corresponds to their respective monitoring tasks, the imaging device 100 It may not be possible to determine the direction corresponding to which sensing device 200 is monitored, resulting in monitoring confusion. Therefore, it may be considered to set a corresponding priority level for each sensing device 200 , and when multiple sensing devices 200 receive trigger events and send first trigger information at the same time, monitor according to the direction corresponding to the sensing device 200 with the highest priority level. Therefore, the processing module 120 of the camera apparatus 100 may also determine priority level information corresponding to the identification of the sensing device 200 according to the identification of the sensing device 200 . Like the first direction information, the priority level information is also pre-stored in the storage medium of the imaging device 100 , and the priority level information corresponds to the identification of the sensing device 200 .

摄像装置100获得第一方向信息后,执行步骤S130。After the imaging device 100 obtains the first direction information, step S130 is performed.

步骤S130:摄像装置100的调整模块130根据第一方向信息调整摄像装置100的云台的旋转角度,以使得设置于其上的摄像头朝向与第一方向信息相对应的第一方向以实施对第一方向的摄录。Step S130: The adjustment module 130 of the camera device 100 adjusts the rotation angle of the pan/tilt of the camera device 100 according to the first direction information, so that the camera installed on it faces the first direction corresponding to the first direction information to implement the first direction information. Recording in one direction.

摄像装置100的调整模块130可以根据垂直角度信息和当前垂直角度调整摄像装置100的云台的垂直旋转角度,可以通过垂直控制电机调整摄像装置100的云台的垂直旋转角度。继续以上述描述为例,垂直角度信息为向下转动α1角度,当前垂直角度为向下转动α2角度,则可以调整云台垂直旋转α2-α1的角度。当然,摄像装置100的调整模块130可以根据垂直运动步数信息和当前位置调整摄像装置100的云台的垂直旋转步数,在此不再赘述。The adjustment module 130 of the camera device 100 can adjust the vertical rotation angle of the pan/tilt of the camera device 100 according to the vertical angle information and the current vertical angle, and can adjust the vertical rotation angle of the pan/tilt of the camera device 100 through a vertical control motor. Continuing to take the above description as an example, the vertical angle information is downward rotation α1 angle, and the current vertical angle is downward rotation α2 angle, then the gimbal vertical rotation angle α2-α1 can be adjusted. Of course, the adjustment module 130 of the camera device 100 can adjust the vertical rotation steps of the pan/tilt of the camera device 100 according to the information of the vertical motion steps and the current position, which will not be repeated here.

摄像装置100的调整模块130可以根据水平角度信息和当前水平角度调整摄像装置100的云台的水平旋转角度,可以通过水平控制电机调整摄像装置100的云台的水平旋转角度。继续以上述描述为例,水平角度信息为向右转动β1角度,当前水平角度为向右转动β2角度,则可以调整云台水平旋转β2-β1的角度。当然,摄像装置100的调整模块130可以根据水平运动步数信息和当前位置调整摄像装置100的云台的水平旋转步数,在此不再赘述。The adjustment module 130 of the camera device 100 can adjust the horizontal rotation angle of the pan/tilt of the camera device 100 according to the horizontal angle information and the current horizontal angle, and can adjust the horizontal rotation angle of the pan/tilt of the camera device 100 through a horizontal control motor. Continuing to take the above description as an example, if the horizontal angle information is β1 angle to the right, and the current horizontal angle is β2 angle to the right, then the gimbal can be adjusted to the angle of β2-β1 horizontal rotation. Certainly, the adjustment module 130 of the camera device 100 can adjust the number of horizontal rotation steps of the pan/tilt of the camera device 100 according to the horizontal motion step information and the current position, and details will not be repeated here.

根据前面描述可知,摄像装置100的处理模块120还可以根据感应设备200的标识,确定与感应设备200的标识相对应的优先级别信息。因此,摄像装置100还需要根据优先级别信息来确定监控任务及调整摄像头的朝向。According to the foregoing description, it can be known that the processing module 120 of the camera apparatus 100 may also determine the priority level information corresponding to the identification of the sensing device 200 according to the identification of the sensing device 200 . Therefore, the camera device 100 also needs to determine the monitoring task and adjust the orientation of the camera according to the priority level information.

摄像装置100获取优先级别信息,当优先级别信息满足设定条件时,才根据第一方向信息调整摄像装置100的云台的旋转角度,以使得设置于其上的摄像头朝向与第一方向信息相对应的第一方向以实施对第一方向的摄录。设定条件可以包括:感应设备200的优先级别最高或优先级别比前一监控任务对应的感应设备的优先级别高。The camera device 100 acquires the priority level information, and when the priority level information satisfies the setting conditions, it adjusts the rotation angle of the pan/tilt of the camera device 100 according to the first direction information, so that the orientation of the camera installed thereon is consistent with the first direction information. The corresponding first direction is used to implement the recording of the first direction. The setting conditions may include: the sensing device 200 has the highest priority or a higher priority than the sensing device corresponding to the previous monitoring task.

可能存在以下几种情况:The following situations may exist:

1、摄像装置100获取第一触发信息接受当前监控任务,根据感应设备200的标识确定优先级别信息比前一监控任务对应的感应设备的优先级别高,则执行当前监控任务;1. The imaging device 100 acquires the first trigger information to accept the current monitoring task, determines that the priority level information is higher than the priority level of the sensing device corresponding to the previous monitoring task according to the identification of the sensing device 200, and then executes the current monitoring task;

2、摄像装置100获取第一触发信息接受当前监控任务,根据感应设备200的标识确定优先级别信息与前一监控任务对应的感应设备的优先级别一样,则忽略当前监控任务,继续执行前一监控任务;2. The camera device 100 acquires the first trigger information to accept the current monitoring task, and determines the priority level information according to the identification of the sensing device 200 to be the same as the priority level of the sensing device corresponding to the previous monitoring task, then ignores the current monitoring task and continues to perform the previous monitoring task Task;

3、摄像装置100获取第一触发信息接受当前监控任务,根据感应设备200的标识确定优先级别信息比前一监控任务对应的感应设备的优先级别低,则忽略当前监控任务,继续执行前一监控任务。3. The camera device 100 acquires the first trigger information to accept the current monitoring task, and determines the priority level information according to the identification of the sensing device 200 is lower than the priority level of the sensing device corresponding to the previous monitoring task, then ignores the current monitoring task and continues to perform the previous monitoring task Task.

在一些实施例中,感应设备200可能会具有发送第二触发信息的功能,第二触发信息是相对于第一触发信息而言的,如果第一触发信息用于提示摄像装置100实施监控,则第二触发信息用于提示摄像装置100可以取消监控。例如当感应设备200为门磁时,第一触发信息为表征开启事件(例如开门、开窗等事件)的开启信息,则第二触发信息为表征关闭事件(例如开门、开窗等事件)的关闭信息。以门磁安装于大门为例,当大门关闭时,门磁识别关门而触发发出第二触发信息,此时通过摄像装置100已经知晓开关门情况以及出入人员情况,暂时可以无需继续对此大门进行监控,因此摄像装置100在接收到第二触发信息后可以取消当前的监控。In some embodiments, the sensing device 200 may have the function of sending the second trigger information. The second trigger information is relative to the first trigger information. If the first trigger information is used to prompt the camera device 100 to implement monitoring, then The second trigger information is used to prompt the camera device 100 to cancel monitoring. For example, when the sensing device 200 is a door sensor, the first trigger information is the opening information representing an opening event (such as opening a door, opening a window, etc.), and the second trigger information is the information representing a closing event (such as opening a door, opening a window, etc.) Close message. Take the door sensor installed on the gate as an example. When the door is closed, the door sensor recognizes that the door is closed and triggers to send out the second trigger information. At this time, the camera device 100 has already known the opening and closing of the door and the situation of the people entering and leaving. monitoring, so the camera device 100 can cancel the current monitoring after receiving the second trigger information.

因此,摄像装置100进行摄录时接收到由感应设备200被触发而发送的第二触发信息后,处理模块120取消当前的监控任务。同样,第二触发信息包含感应设备200的唯一识别的特征信息或标识,例如物理地址(MAC)和标识符(ID)中至少一种。Therefore, after receiving the second trigger information sent by the sensing device 200 when the camera 100 is shooting, the processing module 120 cancels the current monitoring task. Likewise, the second trigger information includes characteristic information or identification unique to the sensing device 200 , such as at least one of a physical address (MAC) and an identifier (ID).

摄像装置100的处理模块120取消当前的监控任务后,摄像装置100可以继续前一监控任务,调整模块130调整摄像装置100的云台的旋转角度,以使得设置于其上的摄像头朝向与前一监控任务相对应的方向以实施对该方向的摄录。又或者,摄像装置100的处理模块120取消当前的监控任务后,摄像装置100可以继续停留在当前位置监控直至接受新的监控任务。After the processing module 120 of the camera device 100 cancels the current monitoring task, the camera device 100 can continue the previous monitoring task, and the adjustment module 130 adjusts the rotation angle of the pan/tilt of the camera device 100 so that the orientation of the camera installed thereon is the same as that of the previous monitoring task. The direction corresponding to the monitoring task is implemented to record the direction. Alternatively, after the processing module 120 of the camera device 100 cancels the current monitoring task, the camera device 100 may continue to monitor at the current location until a new monitoring task is accepted.

摄像装置100的处理模块120取消当前的监控任务时,可以是即时取消,也可以在预设时长后取消当前的监控任务。继续以上述大门例子为例,当大门关上后,继续再监控一段预设的时长(例如20秒),避免大门如果陆续开闭导致摄像头可能经常转动。在此预设时长内,如果有新的监控任务发来,可根据新的监控任务即时取消当前的监控任务。When the processing module 120 of the camera device 100 cancels the current monitoring task, it may cancel the current monitoring task immediately, or cancel the current monitoring task after a preset period of time. Continuing to take the example of the gate above as an example, when the gate is closed, continue to monitor for a preset period of time (for example, 20 seconds), so as to avoid that the camera may frequently rotate if the gate is opened and closed one after another. Within this preset time period, if a new monitoring task is sent, the current monitoring task can be canceled immediately according to the new monitoring task.

步骤S130后,摄像装置100的传输模块可以将获得的摄录信息传输给预设的终端或服务器。例如,大门、窗户开启或受到异常震动时,摄像装置100可以将获得的摄录信息实时传输给预设的终端,例如实时传输给用户的移动终端,使得用户实时了解监控家中情况。又或者,保险柜在受到非法开启或异常震动时,摄像装置100可以将获得的摄录信息传输给警察部门的服务器,使得警察可以及时了解突发情况。摄像装置100的传输模块可通过互联网与预设的终端或服务器通信连接。After step S130, the transmission module of the camera device 100 can transmit the obtained recording information to a preset terminal or server. For example, when the door or window is opened or subjected to abnormal vibration, the camera device 100 can transmit the obtained recording information to a preset terminal in real time, such as a mobile terminal of the user in real time, so that the user can know the situation in the monitored home in real time. Alternatively, when the safe is opened illegally or vibrated abnormally, the camera device 100 can transmit the obtained recording information to the server of the police department, so that the police can know the emergency situation in time. The transmission module of the camera device 100 can communicate with a preset terminal or server through the Internet.

上述摄像装置100及其换向追踪控制方法,摄像装置100接收由感应设备200被触发而发送的第一触发信息以接受监控任务;第一触发信息包含感应设备200的标识;摄像装置100根据感应设备200的标识,确定与感应设备200的标识相对应的第一方向信息;根据第一方向信息调整摄像装置100的云台的旋转角度,以使得设置于其上的摄像头朝向与第一方向信息相对应的第一方向以实施对第一方向的摄录。感应设备200可以是在外力触发下产生触发信息的设备,例如门磁等具有开关触发功能的设备。感应设备200放置于例如大门、窗户、保险柜等重要物件,当这些物件被开启或者关闭触发时,感应设备200可以产生响应的触发信息并发送给摄像装置100,摄像装置100可以根据触发信息转到该物件的方向进行有目的性的监控。大多数情况下,这些重要物件并不会同时被触发,因而通过少量的摄像头甚至一个摄像头便能对多个重要物件或者位置进行监控,大幅度降低建设成本以及维护成本。The camera 100 described above and its reversing tracking control method, the camera 100 receives the first trigger information sent by the sensing device 200 to accept the monitoring task; the first trigger information includes the identification of the sensing device 200; the camera 100 according to the sensing The identification of the device 200 determines the first direction information corresponding to the identification of the sensing device 200; adjusts the rotation angle of the pan/tilt of the camera device 100 according to the first direction information so that the orientation of the camera set on it is consistent with the first direction information The corresponding first direction is used to implement the recording of the first direction. The sensing device 200 may be a device that generates trigger information when triggered by an external force, such as a device with a switch trigger function such as a door sensor. The sensing device 200 is placed on important objects such as doors, windows, safes, etc. When these objects are triggered by opening or closing, the sensing device 200 can generate corresponding trigger information and send it to the camera 100, and the camera 100 can switch according to the trigger information. The direction to the object is purposefully monitored. In most cases, these important objects are not triggered at the same time, so a small number of cameras or even one camera can monitor multiple important objects or locations, greatly reducing construction costs and maintenance costs.

在上述描述中,感应设备200的标识对应着各自的第一方向信息和优先级别信息,以下描述一种摄像装置与感应设备配对的方法,该方法可以建立感应设备200的标识和第一方向信息之间的映射关系、感应设备200的标识和优先级别信息之间的映射关系,从而使得感应设备200的标识对应着各自的第一方向信息和优先级别信息。In the above description, the identification of the sensing device 200 corresponds to its first direction information and priority level information. The following describes a method for pairing a camera with a sensing device, which can establish the identification of the sensing device 200 and the first direction information and the mapping relationship between the identification of the sensing device 200 and the priority level information, so that the identification of the sensing device 200 corresponds to the respective first direction information and priority level information.

图4为一个实施例的摄像装置与感应设备配对方法流程图,请结合图1和图2。FIG. 4 is a flowchart of a pairing method between a camera device and a sensing device according to an embodiment, please combine FIG. 1 and FIG. 2 .

一种摄像装置与感应设备配对方法,包括如下步骤:A method for pairing a camera device with a sensing device, comprising the steps of:

步骤S210:摄像装置100的通信模块110获取感应设备200的标识。Step S210 : the communication module 110 of the camera device 100 obtains the identification of the sensing device 200 .

感应设备200在受到触发后,可以发送触发信号或信息,相当于具有触发开关的功能。感应设备200可以是在外力触发下产生第一触发信息的设备。例如在本发明中,感应设备200可以为门磁(Doorsensor)。After being triggered, the sensing device 200 can send a trigger signal or information, which is equivalent to having the function of a trigger switch. The sensing device 200 may be a device that generates first trigger information when triggered by an external force. For example, in the present invention, the sensing device 200 may be a door sensor (Doorsensor).

在一些实施例中,感应设备200可以包括有传感器设备,例如烟雾传感器、震动传感器、红外传感器等等。烟雾传感器可以用来监测烟雾以监控可能发生的火灾事件,震动传感器可以用来监测震动以监控可能发生的非法破坏或者非法入室事件,红外传感器可以用来监测人员的走动进出事件,当这些传感器监测到这些事件则会产生传感信号,并将传感信号作为或转化为第一触发信息发送。In some embodiments, the sensing device 200 may include a sensor device, such as a smoke sensor, a vibration sensor, an infrared sensor, and the like. Smoke sensors can be used to monitor smoke to monitor possible fire events, shock sensors can be used to monitor vibrations to monitor possible illegal damage or illegal entry events, infrared sensors can be used to monitor people's walking in and out events, when these sensors monitor When these events are detected, sensing signals will be generated, and the sensing signals will be sent as or converted into the first trigger information.

感应设备200可以印刷有条形码或二维码,通过扫描该条形码或二维码可以获取感应设备200的标识。摄像装置100具有扫描条形码或二维码功能时,摄像装置100可以通过扫描条形码或二维码的方式获取感应设备200的标识。或者,可以通过另外的移动智能终端扫描条形码或二维码,移动智能终端得到感应设备200的标识后,再发送给摄像装置100,从而摄像装置100可以间接得到感应设备200的标识。当然,摄像装置100可以通过蓝牙通信方式获取感应设备200的标识,例如通过蓝牙配对识别感应设备200从而获得其标识。The sensing device 200 may be printed with a barcode or a two-dimensional code, and the identification of the sensing device 200 may be obtained by scanning the barcode or two-dimensional code. When the camera device 100 has the function of scanning barcodes or two-dimensional codes, the camera device 100 can acquire the identification of the sensing device 200 by scanning the barcodes or two-dimensional codes. Alternatively, another smart mobile terminal can scan the barcode or two-dimensional code, and the smart mobile terminal can obtain the identification of the sensing device 200 and then send it to the camera 100, so that the camera 100 can indirectly obtain the identification of the sensing device 200. Of course, the camera 100 may obtain the identification of the sensing device 200 through Bluetooth communication, for example, identify the sensing device 200 through Bluetooth pairing to obtain its identification.

步骤S220:设置于摄像装置100的云台上的摄像头被调节朝向第一方向,摄像装置100的处理模块120确定表征第一方向的第一方向信息,建立感应设备200的标识和第一方向信息之间的映射关系;其中,摄像装置100的调整模块130能够根据第一方向信息调整云台的旋转角度,以使得摄像头朝向第一方向以实施对第一方向的摄录。Step S220: The camera installed on the pan/tilt of the camera device 100 is adjusted to face the first direction, the processing module 120 of the camera device 100 determines the first direction information representing the first direction, and establishes the identification of the sensing device 200 and the first direction information The mapping relationship among them; wherein, the adjustment module 130 of the camera device 100 can adjust the rotation angle of the pan/tilt according to the first direction information, so that the camera faces the first direction to implement shooting in the first direction.

在这步骤前,摄像装置100应先被用户固定安装在监控位置,并且摄像装置100的云台应该处于绝对的固定状态,只有摄像头在控制之下能上下左右自由转动。摄像装置100安装完毕后,方可执行步骤S220。Before this step, the camera device 100 should be fixedly installed at the monitoring position by the user, and the pan/tilt of the camera device 100 should be in an absolutely fixed state, and only the camera head can freely rotate up, down, left, and right under control. After the camera device 100 is installed, step S220 can be executed.

在步骤S220中,用户首先确定需要监控的第一方向,该第一方向与感应设备200的标识相对应。例如,感应设备200安装于大门时,第一方向可以是监控大门的方向。确定好第一方向后,用户需将云台上的摄像头调节朝向第一方向。方向调节完毕后,摄像装置100可以在预设的时长后自行确定(当前摄像头所朝的方向)表征第一方向的第一方向信息,然后建立感应设备200的标识和第一方向信息之间的映射关系;又或者,方向调节完毕后,摄像装置100可以在用户输入操作(例如触发按键)下确定(当前摄像头所朝的方向)表征第一方向的第一方向信息,然后建立感应设备200的标识和第一方向信息之间的映射关系。In step S220 , the user first determines the first direction to be monitored, and the first direction corresponds to the identification of the sensing device 200 . For example, when the sensing device 200 is installed on a gate, the first direction may be the direction of monitoring the gate. After determining the first direction, the user needs to adjust the camera on the gimbal to face the first direction. After the direction is adjusted, the camera device 100 can automatically determine (the direction the camera is currently facing) the first direction information representing the first direction after a preset period of time, and then establish a relationship between the identification of the sensing device 200 and the first direction information. mapping relationship; or, after the direction is adjusted, the camera device 100 can determine (the direction the camera is currently facing) the first direction information representing the first direction under the user input operation (such as a trigger button), and then establish the sensing device 200 A mapping relationship between the identifier and the first direction information.

与上面摄像装置换向追踪控制方法描述一样,第一方向信息包括水平角度信息和垂直角度信息。水平角度信息和垂直角度信息是相对于摄像头的标准位置而言的。例如,垂直角度信息为向下转动α1角度、水平角度信息为向右转动β1角度,α1和β1都是相对于标准位置而言。如上所述,当得到垂直角度信息为向下转动α1角度、水平角度信息为向右转动β1角度的时候,如果摄像头没有位于标准位置,例如摄像头位于相对于标准位置而言向下转动α2角度、向右转动β2角度的位置,则可以得到摄像头所需转动的角度为向下α2-α1角度、向右转动β2-β1角度。Same as the above description of the camera device direction change tracking control method, the first direction information includes horizontal angle information and vertical angle information. Horizontal angle information and vertical angle information are relative to the standard position of the camera. For example, the vertical angle information is a downward rotation angle of α1, and the horizontal angle information is a rightward rotation angle of β1, and both α1 and β1 are relative to the standard position. As mentioned above, when the vertical angle information is α1 angle downward and the horizontal angle information is β1 angle rightward rotation, if the camera is not in the standard position, for example, the camera is in the downward rotation α2 angle relative to the standard position 1. Rotate the position of the angle β2 to the right, then the required rotation angle of the camera can be obtained as the angle α2-α1 downward, and the angle β2-β1 to the right.

当然,第一方向信息也可以是摄像头所需转动步数的信息,例如水平转动步数信息和垂直转动步数信息。同样,水平运动步数信息和垂直运动步数信息是相对于摄像头的标准位置而言的。例如,垂直运动步数信息为向下运动X1步、水平运动步数信息为向右运动Y1步,X1步和Y1步都是相对于标准位置而言。当得到垂直运动步数信息为向下运动X1步、水平运动步数信息为向右运动Y1步的时候,如果摄像头没有位于标准位置,例如摄像头位于相对于标准位置而言向下运动X2步、向右运动Y2步的位置,则可以得到摄像头所需转动的步数为向下运动X2-X1步、向右运动Y2-Y1步。Certainly, the first direction information may also be the information of the required rotation steps of the camera, such as the information of the horizontal rotation steps and the vertical rotation steps information. Similarly, the horizontal movement step information and the vertical movement step information are relative to the standard position of the camera. For example, the information on the number of vertical movement steps is X1 steps downward, and the information on the number of horizontal movement steps is Y1 steps to the right. Both X1 steps and Y1 steps are relative to the standard position. When the information on the number of vertical movement steps is X1 steps downward and the information on the number of horizontal movement steps is Y1 steps to the right, if the camera is not at the standard position, for example, the camera is at X2 steps downward relative to the standard position, Move the position of Y2 steps to the right, and the number of steps required to rotate the camera can be obtained as X2-X1 steps for downward movement and Y2-Y1 steps for rightward movement.

步骤S220中,摄像装置100的通信模块110获取感应设备200的标识后,还建立感应设备200的标识和优先级别信息之间的映射关系。各个感应设备200之间,可能具有不同的优先级别。例如,如果存在大门门磁、窗户的震动传感器、保险柜门磁、烟雾传感器,则可以设置优先级别由高到低的顺序为:烟雾传感器、保险柜门磁、大门门磁、窗户的震动传感器。当然,一些感应设备200可能具有同等级别,在此不再赘述。In step S220, after the communication module 110 of the camera device 100 obtains the identification of the sensing device 200, it also establishes a mapping relationship between the identification of the sensing device 200 and priority level information. Different sensing devices 200 may have different priority levels. For example, if there are door contacts, window contact sensors, safe door contacts, and smoke sensors, you can set the order of priority from high to low as: smoke sensors, safe door contacts, door contacts, and window shock sensors . Of course, some sensing devices 200 may have the same level, so details will not be repeated here.

上述的摄像装置与感应设备配对方法,摄像装置获取感应设备的标识;设置于摄像装置的云台上的摄像头被调节朝向第一方向,摄像装置确定表征第一方向的第一方向信息,建立感应设备的标识和第一方向信息之间的映射关系;其中,摄像装置能够根据第一方向信息调整云台的旋转角度,以使得摄像头朝向第一方向以实施对第一方向的摄录。通过上述摄像装置与感应设备配对方法,使得单个摄像装置可以根据不同感应设备标识而识别每个感应设备的方向,从而方便摄像装置在监控时实施上述的摄像装置换向追踪控制方法,大幅度降低建设成本以及维护成本。In the above method of pairing the camera device with the sensing device, the camera device obtains the identification of the sensor device; the camera set on the pan/tilt of the camera device is adjusted to face the first direction, and the camera device determines the first direction information representing the first direction, and establishes a sensor The mapping relationship between the identification of the device and the first direction information; wherein, the camera device can adjust the rotation angle of the pan/tilt according to the first direction information, so that the camera faces the first direction for recording in the first direction. Through the above method of pairing the camera device with the sensing device, a single camera device can identify the direction of each sensor device according to the identification of the different sensor devices, thereby facilitating the camera device to implement the above camera device commutation tracking control method during monitoring, greatly reducing the Construction costs and maintenance costs.

应该理解的是,虽然图3、4的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,其可以以其他的顺序执行。而且,图3、4中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,其执行顺序也不必然是依次进行,而是可以与其他步骤或者其他步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flow charts of Figs. 3 and 4 are shown sequentially as indicated by the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some of the steps in Figures 3 and 4 may include a plurality of sub-steps or stages, these sub-steps or stages are not necessarily executed at the same time, but may be executed at different times, and the order of execution is also different. It must be performed sequentially, but may be performed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.

以上所述仅是本发明的部分实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above descriptions are only part of the embodiments of the present invention. It should be pointed out that those skilled in the art can make some improvements and modifications without departing from the principles of the present invention. It should be regarded as the protection scope of the present invention.

Claims (10)

1. a camera head commutation tracing control method, is characterized in that, comprise the steps:
The first trigger message that described camera head reception is triggered by sensing apparatus and sends is to accept monitor task; Described first trigger message comprises the mark of described sensing apparatus;
Described camera head, according to the mark of described sensing apparatus, determines the first direction information corresponding with the mark of described sensing apparatus;
According to the anglec of rotation of the The Cloud Terrace of described first direction information adjustment camera head, to make to arrange camera thereon towards the first direction corresponding with first direction information to implement shooting with video-corder first direction.
2. camera head commutation tracing control method according to claim 1, is characterized in that:
Described camera head, also according to the mark of described sensing apparatus, determines the priority level information corresponding with the mark of described sensing apparatus;
When described the priority level information meet impose a condition time, according to the anglec of rotation of the The Cloud Terrace of described first direction information adjustment camera head, to make to arrange camera thereon towards the first direction corresponding with first direction information to implement shooting with video-corder first direction.
3. camera head according to claim 2 commutation tracing control method, is characterized in that, described in impose a condition and comprise: the priority level of the sensing apparatus that the priority level of described sensing apparatus is the highest or priority level is more corresponding than last monitor task is high.
4. camera head according to claim 1 commutation tracing control method, is characterized in that, receives and be triggered by described sensing apparatus and after the second trigger message of sending, cancel current monitor task when described camera head is shot with video-corder; Described second trigger message comprises the mark of described sensing apparatus.
5. camera head commutation tracing control method according to claim 4, it is characterized in that, described camera head receives when shooting with video-corder and is triggered by described sensing apparatus and after the second trigger message sent, cancels current monitor task after preset duration; Described second trigger message comprises the mark of described sensing apparatus.
6. camera head commutation tracing control method according to claim 4, it is characterized in that, after cancelling current monitor task, described camera head continues last monitor task, the anglec of rotation of The Cloud Terrace of adjustment camera head, to make to arrange camera thereon towards the direction corresponding with last monitor task to implement shooting with video-corder this direction.
7. camera head commutation tracing control method according to claim 4, is characterized in that, after cancelling current monitor task, described camera head stays in current location monitoring until accept new monitor task.
8. a camera head, is characterized in that, comprising:
Communication module, for receive be triggered by sensing apparatus and the first trigger message sent to accept monitor task; Described first trigger message comprises the mark of described sensing apparatus;
Processing module, for the mark according to described sensing apparatus, determines the first direction information corresponding with the mark of described sensing apparatus; And
Adjusting module, for the anglec of rotation of the The Cloud Terrace according to described first direction information adjustment camera head, to make to arrange camera thereon towards the first direction corresponding with first direction information to implement shooting with video-corder first direction.
9. camera head and a sensing apparatus matching method, is characterized in that, comprise the steps:
Described camera head obtains the mark of described sensing apparatus;
The camera be arranged on the The Cloud Terrace of described camera head is conditioned towards first direction, and the first direction information characterizing described first direction determined by described camera head, sets up the mapping relations between the mark of described sensing apparatus and first direction information;
Wherein, described camera head can adjust the anglec of rotation of described The Cloud Terrace according to described first direction information, to make described camera towards first direction to implement shooting with video-corder first direction.
10. a camera head, is characterized in that, comprising: The Cloud Terrace, camera, communication module, processing module and adjusting module; Described camera is arranged on described The Cloud Terrace;
Described communication module is for obtaining the mark of sensing apparatus;
Described camera is conditioned towards first direction, and described processing module determines the first direction information characterizing described first direction, sets up the mapping relations between the mark of described sensing apparatus and first direction information;
Wherein, described adjusting module can adjust the anglec of rotation of described The Cloud Terrace according to described first direction information, to make described camera towards first direction to implement shooting with video-corder first direction.
CN201510815482.0A 2015-11-23 2015-11-23 Camera device and its commutation tracking control method, and its pairing method with sensing equipment Pending CN105245783A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510815482.0A CN105245783A (en) 2015-11-23 2015-11-23 Camera device and its commutation tracking control method, and its pairing method with sensing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510815482.0A CN105245783A (en) 2015-11-23 2015-11-23 Camera device and its commutation tracking control method, and its pairing method with sensing equipment

Publications (1)

Publication Number Publication Date
CN105245783A true CN105245783A (en) 2016-01-13

Family

ID=55043261

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510815482.0A Pending CN105245783A (en) 2015-11-23 2015-11-23 Camera device and its commutation tracking control method, and its pairing method with sensing equipment

Country Status (1)

Country Link
CN (1) CN105245783A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107085440A (en) * 2017-04-19 2017-08-22 金钱猫科技股份有限公司 A method and device for dynamically capturing a target with a camera
CN108629794A (en) * 2017-03-24 2018-10-09 鸿富锦精密工业(深圳)有限公司 Object method for tracing and system
CN109688376A (en) * 2018-12-18 2019-04-26 深圳市全智芯科技有限公司 Human body sensing monitoring method, storage medium, security protection camera system and device
CN110062198A (en) * 2018-01-18 2019-07-26 杭州海康威视数字技术股份有限公司 A kind of monitoring evidence collecting method, device, system, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080068459A1 (en) * 2006-09-14 2008-03-20 Hon Hai Precision Industry Co., Ltd. Apparatus and method for controlling video surveillance system
CN101335879A (en) * 2008-07-10 2008-12-31 华南理工大学 Monitoring method and monitoring system for multi-point triggering and fixed-point tracking
CN103247118A (en) * 2013-05-08 2013-08-14 福建星网锐捷安防科技有限公司 Intelligent linkage method for alarming
CN103581527A (en) * 2012-07-18 2014-02-12 中国移动通信集团公司 Tracking photographing method, device and security protection host in security protection system
US20140139662A1 (en) * 2012-11-21 2014-05-22 Hon Hai Precision Industry Co., Ltd. Monitoring device, handheld device and monitoring method
CN104134307A (en) * 2014-08-13 2014-11-05 新昌县康泓机械科技有限公司 Intelligent monitoring device
CN104378587A (en) * 2014-10-27 2015-02-25 小米科技有限责任公司 Camera equipment control method, device and equipment
CN104867263A (en) * 2015-05-15 2015-08-26 深圳市万物联有限公司 Camera positioning alarm method and system
CN104967814A (en) * 2014-11-04 2015-10-07 腾讯科技(上海)有限公司 Monitoring device interconnection control method and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080068459A1 (en) * 2006-09-14 2008-03-20 Hon Hai Precision Industry Co., Ltd. Apparatus and method for controlling video surveillance system
CN101335879A (en) * 2008-07-10 2008-12-31 华南理工大学 Monitoring method and monitoring system for multi-point triggering and fixed-point tracking
CN103581527A (en) * 2012-07-18 2014-02-12 中国移动通信集团公司 Tracking photographing method, device and security protection host in security protection system
US20140139662A1 (en) * 2012-11-21 2014-05-22 Hon Hai Precision Industry Co., Ltd. Monitoring device, handheld device and monitoring method
CN103247118A (en) * 2013-05-08 2013-08-14 福建星网锐捷安防科技有限公司 Intelligent linkage method for alarming
CN104134307A (en) * 2014-08-13 2014-11-05 新昌县康泓机械科技有限公司 Intelligent monitoring device
CN104378587A (en) * 2014-10-27 2015-02-25 小米科技有限责任公司 Camera equipment control method, device and equipment
CN104967814A (en) * 2014-11-04 2015-10-07 腾讯科技(上海)有限公司 Monitoring device interconnection control method and system
CN104867263A (en) * 2015-05-15 2015-08-26 深圳市万物联有限公司 Camera positioning alarm method and system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108629794A (en) * 2017-03-24 2018-10-09 鸿富锦精密工业(深圳)有限公司 Object method for tracing and system
CN107085440A (en) * 2017-04-19 2017-08-22 金钱猫科技股份有限公司 A method and device for dynamically capturing a target with a camera
CN107085440B (en) * 2017-04-19 2020-04-24 金钱猫科技股份有限公司 Method and device for dynamically capturing target by shooting
CN110062198A (en) * 2018-01-18 2019-07-26 杭州海康威视数字技术股份有限公司 A kind of monitoring evidence collecting method, device, system, electronic equipment and storage medium
CN109688376A (en) * 2018-12-18 2019-04-26 深圳市全智芯科技有限公司 Human body sensing monitoring method, storage medium, security protection camera system and device
CN109688376B (en) * 2018-12-18 2020-11-10 深圳市全智芯科技有限公司 Human body induction monitoring method, storage medium, security camera system and device

Similar Documents

Publication Publication Date Title
US12081595B2 (en) Monitoring system for securing networks from hacker drones
US10127798B1 (en) Monitoring system control technology using multiple sensors, cameras, lighting devices, and a thermostat
KR102391829B1 (en) Electronic lock with remote monitoring
US10229567B2 (en) Hinge sensor for barrier
TW201727027A (en) Electronic lock with door orientation sensing
US20130329047A1 (en) Escort security surveillance system
KR101849365B1 (en) Appratus and method for processing image
US9990819B2 (en) Magnetic hinge sensor for barrier
KR20070061213A (en) Security monitoring system and method using a robot that can be remotely controlled
US20200002988A1 (en) Hinge sensor for barrier
US20180167585A1 (en) Networked Camera
JP2005071064A (en) Home security system
CN105245783A (en) Camera device and its commutation tracking control method, and its pairing method with sensing equipment
US10726689B1 (en) Systems and methods for leveraging internet-of-things devices in security systems
US10777055B1 (en) Displaying event video on a device
KR101914813B1 (en) Door lock controlling apparatus using mobile terminal and method thereof
US11756531B1 (en) Techniques for audio detection at a control system
KR101063751B1 (en) Biometrics-based Passenger Identification and Information Transmission System
CN105427562A (en) Communication method and system for door sensor device and response device
KR101704466B1 (en) Crime prevention controlling system using blackbox
KR101600463B1 (en) Automatic Safety Setting and Clearing System of Safety Area by Using Sensor System with Wireless Communication Module and Mobile Terminal
KR20090100138A (en) Digital security adapter
KR200360634Y1 (en) Wireless camera digital doorlock
JP2015225671A (en) Security system application for place to be security-protected
KR20150122002A (en) Video Security System

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160113