CN102036055A - Camera cradle head control system and control method - Google Patents
Camera cradle head control system and control method Download PDFInfo
- Publication number
- CN102036055A CN102036055A CN 201010529581 CN201010529581A CN102036055A CN 102036055 A CN102036055 A CN 102036055A CN 201010529581 CN201010529581 CN 201010529581 CN 201010529581 A CN201010529581 A CN 201010529581A CN 102036055 A CN102036055 A CN 102036055A
- Authority
- CN
- China
- Prior art keywords
- camera
- control
- action type
- cradle head
- instruction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Studio Devices (AREA)
Abstract
The invention discloses a camera cradle head control system, which is characterized by comprising a cradle head control module, a service module, a camera and a script library, wherein the cradle head control module is used for sending a control instruction which comprises a camera type, a camera address and an operation type; the service module is connected with the cradle head control module, and is used for receiving the control instruction, loading the script library according to the control instruction to acquire a control code which corresponds to the control instruction, and sending the control code to the camera according to the camera address; the camera is connected with the service module, and is used for performing operation according to the received control code; and the script library is connected with the service module, and is used for storing scripts written according to control protocols of different types of cameras, and converting the scripts into corresponding control codes according to the control instruction. The invention also discloses a camera cradle head control method. The efficiency and flexibility of controlling a camera cradle head are improved.
Description
Technical field
The present invention relates to field of video monitoring, be specifically related to a kind of camera cloud platform control system and method.
Background technology
In the video monitoring industry, in order to improve monitoring visual field, enlarge monitoring range, support the camera of The Cloud Terrace operation to use more and more wider.In actual applications, because the ununified standard of industry, the camera of each camera manufacturer production is supported various different control protocol, this just brings very big difficulty to writing monitoring software cradle head control module, each producer all built-in oneself control protocol in monitoring software as a rule, it is unified to have no idea.Prior art can only be fixed usually and be supported certain several agreement, thereby causes the applicability of software not strong.
When current monitoring software cradle head control module is not supported the camera of a certain type, need recompilate, reduce practical application efficient and flexibility whole procedure.
Summary of the invention
The invention discloses a kind of camera cloud platform control system and method, improved the efficient and the flexibility of camera cradle head control.
The present invention is achieved in that a kind of camera cloud platform control system, it is characterized in that, comprising:
The cradle head control module is used for sending controling instruction; Described control command comprises: camera types, camera address and action type;
Service module is connected with described cradle head control module, is used to receive described control command and the described control command loading scripts of foundation storehouse and obtains the control code of described control command correspondence and with the described camera of foundation address described control code is sent to camera;
Camera is connected with described service module, is used for operating according to the described control code that receives;
The script storehouse is connected with described service module, is used to store script of writing according to the control protocol of all types of cameras and the control code that converts correspondence according to described control command to.
A kind of camera is carried out the method for cradle head control, it is characterized in that, comprising:
Server end is written as script and storage with the control protocol of dissimilar cameras in advance;
User end to server end sending controling instruction, described control command comprises: camera types, camera address and action type;
Described server end receives described control command, loads the control code that described script obtains described control command correspondence according to described control command, then returns described control code to described server end if load successfully;
Described server end sends to described camera according to described camera address with described control code;
Described camera receives described control code and operates according to described control code.
Because the present invention is the script of writing according to the control protocol of all types of cameras, by cradle head control module sending controling instruction, service module obtains the control corresponding sign indicating number according to control command loading scripts storehouse, and camera is operated according to this control code; Because script does not need compiling to carry out, make like this when the camera The Cloud Terrace is operated dissimilar cameras, only need to add corresponding script, and need the whole service program recompilated to compare to have improved efficient and flexibility in actual applications in the conventional method.
Description of drawings
Fig. 1 is a system schematic of the present invention;
Fig. 2 is an embodiment schematic diagram of the inventive method;
Fig. 3 is a concrete application examples schematic diagram of the present invention.
Embodiment
The present invention adopts the C/S(client/server on application) framework, client at first disposes required camera types, obtain the The Cloud Terrace action type of being supported from service end then, arrive service end by sending controling instruction again, service end becomes corresponding control code and is sent to camera by the camera cradle head control protocol conversion that loads respective type, thereby realizes the cradle head control operation to camera.
Introduce system of the present invention below, with reference to figure 1, a kind of camera cloud platform control system comprises:
Cradle head control module 101 is used for sending controling instruction; This control command comprises: camera types, camera address and action type;
Service module 102 is connected with this cradle head control module 101, is used to receive this control command and according to the control code of these control command loading scripts storehouse 104 these control command correspondences of acquisition and according to this camera address this control code is sent to camera;
Camera 103 is connected with this service module 102, is used for operating according to this control code that receives;
Script storehouse 104 is connected with this service module 102, is used to store script of writing according to the control protocol of all types of cameras and the control code that converts correspondence according to this control command to.
Because the present invention is the script of writing according to the control protocol of all types of cameras, by cradle head control module sending controling instruction, service module obtains the control corresponding sign indicating number according to control command loading scripts storehouse, and camera is operated according to this control code; Because script does not need compiling to carry out, make like this when the camera The Cloud Terrace is operated dissimilar cameras, only need to add corresponding script, and need the whole service program recompilated to compare to have improved efficient and flexibility in actual applications in the conventional method.
Wherein, cradle head control module 101 also is used to send the instruction of the action type of obtaining the camera support; This instruction of obtaining the action type of camera support comprises the type of this camera;
This service module 102 also is used to receive the instruction that this obtains the action type of camera support, according to this this script storehouse 104 of instruction load that obtains the action type of camera support, obtains the action type that camera is supported; The action type of this camera support is sent to cradle head control module 101.
The cradle head control module at first obtains this camera cloud platform control system can support for which operation (to the right, left, downward or the like); Next step sends the unsupported control command of some systems when sending the control command of camera to avoid the cradle head control module, further raises the efficiency.
Introduce the method for camera being carried out cradle head control below, with reference to figure 2, step is as follows:
201, compile script;
Server end is written as script and storage with the control command of dissimilar cameras in advance.
202, sending controling instruction;
Client is to the service module sending controling instruction, and this control command comprises: camera types, camera address and action type.
203, receive control command and loading scripts storehouse, obtain control code;
Server end receives this control command, obtains the control code of control command correspondence according to this control command loading scripts storehouse, then returns this control code to this server end if load successfully, and server end sends to camera according to the camera address with this control code.
204, operate according to control code.
Camera receives this control code and operates according to this control code.
Because the present invention is the script of writing according to the control protocol of all types of cameras, by the client sending controling instruction, server end obtains the control corresponding sign indicating number according to control command loading scripts storehouse, and camera is operated according to this control code; Make like this when the control The Cloud Terrace is operated dissimilar cameras, only need to add corresponding script, script does not need compiling to carry out, and needs the whole service program recompilated to compare to have improved efficient and flexibility in actual applications in the conventional method.
Can also do further improvement to Fig. 2 execution mode:
This control command also comprises: camera translational speed and camera rights of using; After server end loading scripts storehouse, can obtain the control code and the usufructuary control code of camera of camera translational speed correspondence; Then return the loading failed message to client if load failure, this loading failed message comprises that this user does not have usufructuary information; Like this can limited subscriber to the use of camera, the user who does not have rights of using is isolated; Camera receives that camera translational speed and usufructuary control code that server end sends carry out associative operation.
Further can also comprise step:
Client sends the instruction of the action type of obtaining the camera support to this server end; This instruction of obtaining the action type of camera support comprises the type of this camera;
This server end receives this instruction of obtaining the action type that camera supports, obtains in this script storehouse of instruction load of the action type that camera supports according to this, obtains the action type that camera is supported; The action type of this camera support is sent to this client.
Client at first obtains this camera cloud platform control system can support for which operation (focal length and aperture or the like to the right, left, downwards); Next step sends the unsupported control command of some systems when sending the control command of camera to avoid client, further raises the efficiency.
Further, if load failure, send then for this server end and load failed message; This server end should load failed message and send to this client.Sending and loading failure is in order to allow client know that system does not support the camera types that client sends, so that the control protocol according to the type camera is carried out script compile, deposit the script storehouse then in, so just expanded the scope of application of cloud platform control system.
Fig. 3 is a concrete application examples schematic diagram of the present invention, the camera cloud platform control system comprises: operation interface 301, operation interface 302 and operation interface 303 are represented 3 different users respectively, service module 304, script storehouse 305, camera 306, camera 307 and camera 308.The address of camera 306 is 01, the address of camera 307 be 02 and the address of camera 308 be 03; 3 kinds of cameras are all supported the identical operations type, as: downwards, upwards, left, to the right ... wherein camera 307 only supports operation interface 302 to use.Control protocol with 3 types of cameras before cradle head control is written as script, puts into the script storehouse; Downward control code is 0001, the control code that makes progress is 0002, control code left be 0003 and control code to the right be 0004
If operation interface 301 sends the control command that camera 306 is operated downwards, obtain the downward control code 0001 of camera 306 through service module 304 loading scripts storehouses 305, address 01 according to camera 306 sends to camera 306 then, and camera 306 carries out corresponding downward operation according to control code 0001; If the control command that operation interface 303 sends camera 307 loads failure through service module 304 loading scripts storehouses 305, then can return does not have the message informing of operating right operation interface 303.
Above-described embodiment of the present invention does not constitute the qualification to protection range of the present invention.Any modification of being done within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within the claim protection range of the present invention.
Claims (6)
1. a camera cloud platform control system is characterized in that, comprising:
The cradle head control module is used for sending controling instruction; Described control command comprises: camera types, camera address and action type;
Service module is connected with described cradle head control module, is used to receive described control command and the described control command loading scripts of foundation storehouse and obtains the control code of described control command correspondence and according to described camera address described control code is sent to camera;
Camera is connected with described service module, is used for operating according to the described control code that receives;
The script storehouse is connected with described service module, is used to store script of writing according to the control protocol of dissimilar cameras and the control code that converts correspondence according to described control command to.
2. camera cloud platform control system according to claim 1 is characterized in that,
Described cradle head control module also is used to send the instruction of the action type of obtaining the camera support; Described instruction of obtaining the action type of camera support comprises the type of described camera;
Described service module also is used to receive described instruction of obtaining the action type of camera support, according to the described described script of the instruction load storehouse that obtains the action type of camera support, obtains the action type that camera is supported; The action type of described camera support is sent to the cradle head control module.
3. one kind is carried out the method for cradle head control to camera, it is characterized in that, comprising:
Server end is written as script and storage with the control protocol of dissimilar cameras in advance;
User end to server end sending controling instruction, described control command comprises: camera types, camera address and action type;
Described server end receives described control command, loads the control code that described script obtains described control command correspondence according to described control command, then returns described control code to described server end if load successfully;
Described server end sends to described camera according to described camera address with described control code;
Described camera receives described control code and operates according to described control code.
4. according to claim 3 camera is carried out the method for cradle head control, it is characterized in that described control command also comprises: camera translational speed and camera rights of using.
5. according to claim 3 camera is carried out the method for cradle head control, it is characterized in that, also comprise:
Described client sends the instruction of the action type of obtaining the camera support to described server end; Described instruction of obtaining the action type of camera support comprises the type of described camera;
Described server end receives described instruction of obtaining the action type of camera support, according to the described described script of the instruction load storehouse that obtains the action type of camera support, obtains the action type that described camera types is supported; The action type of described camera support is sent to described client.
6. each describedly carries out the method for cradle head control to camera according to claim 3 to 5, it is characterized in that, if load failure, sends then for described server end and loads failed message; Described server end sends to described client with described loading failed message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010529581 CN102036055A (en) | 2010-11-03 | 2010-11-03 | Camera cradle head control system and control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010529581 CN102036055A (en) | 2010-11-03 | 2010-11-03 | Camera cradle head control system and control method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102036055A true CN102036055A (en) | 2011-04-27 |
Family
ID=43888292
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201010529581 Pending CN102036055A (en) | 2010-11-03 | 2010-11-03 | Camera cradle head control system and control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102036055A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105721831A (en) * | 2016-01-28 | 2016-06-29 | 安徽四创电子股份有限公司 | Method for designing video monitoring client side based on multi-process architecture |
CN106803939A (en) * | 2017-03-02 | 2017-06-06 | 东方网力科技股份有限公司 | Video monitoring system and its control method |
CN107169376A (en) * | 2017-04-10 | 2017-09-15 | 深圳怡化电脑股份有限公司 | Control method and system that a kind of hardware instruction is called |
CN107948545A (en) * | 2018-01-12 | 2018-04-20 | 安徽华夏显示技术股份有限公司 | A kind of web camera character adder and its operating method |
CN108549417A (en) * | 2018-05-22 | 2018-09-18 | 深圳市施罗德工业测控设备有限公司 | A kind of control method, device and the storage medium of the holder carrying camera |
CN109076101A (en) * | 2017-12-29 | 2018-12-21 | 深圳市大疆创新科技有限公司 | Cloud platform control method, equipment and computer readable storage medium |
CN110688161A (en) * | 2018-07-06 | 2020-01-14 | 英研智能移动股份有限公司 | Peripheral hardware operation method and system |
CN112313939A (en) * | 2019-10-30 | 2021-02-02 | 深圳市大疆创新科技有限公司 | Control method, control system, holder and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1738307A (en) * | 2004-08-20 | 2006-02-22 | 中兴通讯股份有限公司 | Device and method for subsystem dispatching and drive in integration system |
US20080124044A1 (en) * | 2006-10-12 | 2008-05-29 | Lg Electronics Inc. | Digital video recorder and control method therefor |
CN101287001A (en) * | 2008-04-14 | 2008-10-15 | 中山大学 | System and method for remote managing digital household electrical appliance based on mobile device |
CN101394467A (en) * | 2008-10-15 | 2009-03-25 | 中山大学 | Intelligent main control system for reinforcement digital video monitoring terminal system |
-
2010
- 2010-11-03 CN CN 201010529581 patent/CN102036055A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1738307A (en) * | 2004-08-20 | 2006-02-22 | 中兴通讯股份有限公司 | Device and method for subsystem dispatching and drive in integration system |
US20080124044A1 (en) * | 2006-10-12 | 2008-05-29 | Lg Electronics Inc. | Digital video recorder and control method therefor |
CN101287001A (en) * | 2008-04-14 | 2008-10-15 | 中山大学 | System and method for remote managing digital household electrical appliance based on mobile device |
CN101394467A (en) * | 2008-10-15 | 2009-03-25 | 中山大学 | Intelligent main control system for reinforcement digital video monitoring terminal system |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105721831A (en) * | 2016-01-28 | 2016-06-29 | 安徽四创电子股份有限公司 | Method for designing video monitoring client side based on multi-process architecture |
CN105721831B (en) * | 2016-01-28 | 2019-01-04 | 安徽四创电子股份有限公司 | A kind of video monitor client design method based on multi-process framework |
CN106803939A (en) * | 2017-03-02 | 2017-06-06 | 东方网力科技股份有限公司 | Video monitoring system and its control method |
CN107169376A (en) * | 2017-04-10 | 2017-09-15 | 深圳怡化电脑股份有限公司 | Control method and system that a kind of hardware instruction is called |
CN107169376B (en) * | 2017-04-10 | 2020-01-14 | 深圳怡化电脑股份有限公司 | Control method and system for hardware instruction calling |
CN109076101A (en) * | 2017-12-29 | 2018-12-21 | 深圳市大疆创新科技有限公司 | Cloud platform control method, equipment and computer readable storage medium |
CN107948545A (en) * | 2018-01-12 | 2018-04-20 | 安徽华夏显示技术股份有限公司 | A kind of web camera character adder and its operating method |
CN108549417A (en) * | 2018-05-22 | 2018-09-18 | 深圳市施罗德工业测控设备有限公司 | A kind of control method, device and the storage medium of the holder carrying camera |
CN110688161A (en) * | 2018-07-06 | 2020-01-14 | 英研智能移动股份有限公司 | Peripheral hardware operation method and system |
CN112313939A (en) * | 2019-10-30 | 2021-02-02 | 深圳市大疆创新科技有限公司 | Control method, control system, holder and storage medium |
WO2021081810A1 (en) * | 2019-10-30 | 2021-05-06 | 深圳市大疆创新科技有限公司 | Control method, control system, gimbal, and storage medium |
CN112313939B (en) * | 2019-10-30 | 2022-03-18 | 深圳市大疆创新科技有限公司 | Control method, control system, holder and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102036055A (en) | Camera cradle head control system and control method | |
CN107426023B (en) | Cloud platform log collection and forwarding method, system, equipment and storage medium | |
CN102355682A (en) | Sensor adapting method, sensor adapting device and IOT (Internet Of Things) system | |
CN101594376B (en) | Method and corresponding device for registering CIM provider to CIMOM | |
KR101690993B1 (en) | Plural of drone controlling system and method thereof | |
CN111181784B (en) | Network port state management method, state machine engine device, equipment and medium | |
CN102571940A (en) | Remote application installation system, method, intelligent terminal and application server | |
CN102915249A (en) | Method and device for remotely realizing firmware updating | |
CN103297275A (en) | Dynamic discovery and loading system and method for Web network management client module | |
CN104935499A (en) | Message format conversion method and equipment | |
CN105516086A (en) | Service processing method and apparatus | |
CN103440295A (en) | Method for uploading multimedia files and electronic terminal | |
CN103037195A (en) | Method and device used for setting video call parameters and transmission capacity parameters | |
CN103701867A (en) | Method, system and central server for processing call requests | |
CN103516735A (en) | Method and apparatus for upgrading network node | |
CN101499931B (en) | Function expansion method and system based on distributed environment | |
CN102833272A (en) | Downloading method and device based on user subscription | |
CN102546218A (en) | Configuration management method and system | |
CN103944961A (en) | Application sharing method, device and system | |
CN101826985A (en) | Plugin-based centralized signaling tracing method and system | |
CN101834885A (en) | Method and device for downloading software | |
CN104572275A (en) | Process loading method, process loading device and process loading system | |
CN102375755A (en) | Data model object deletion identification device and use method thereof | |
CN113297218B (en) | Multi-system data interaction method, device and system | |
CN102404714B (en) | By the method for WiFi wireless network updating apparatus software |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20110427 |