CN102073286B - Device for expanding function of cradle head - Google Patents

Device for expanding function of cradle head Download PDF

Info

Publication number
CN102073286B
CN102073286B CN201010617941.1A CN201010617941A CN102073286B CN 102073286 B CN102073286 B CN 102073286B CN 201010617941 A CN201010617941 A CN 201010617941A CN 102073286 B CN102073286 B CN 102073286B
Authority
CN
China
Prior art keywords
instruction
microprocessor unit
expanding
expanding function
receiving
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.)
Active
Application number
CN201010617941.1A
Other languages
Chinese (zh)
Other versions
CN102073286A (en
Inventor
刘建宏
Original Assignee
Tianjin Yaan Technology 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 Tianjin Yaan Technology Co Ltd filed Critical Tianjin Yaan Technology Co Ltd
Priority to CN201010617941.1A priority Critical patent/CN102073286B/en
Publication of CN102073286A publication Critical patent/CN102073286A/en
Application granted granted Critical
Publication of CN102073286B publication Critical patent/CN102073286B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention is suitable for the field of video monitoring, providing a device for expanding a function of a cradle head. The device comprises a data receiving unit, a microprocessor unit, an instruction storing unit and a control unit, wherein the data receiving unit is used for receiving a normal instruction, setting and outputting a setting instruction for setting a function expanding instruction; the microprocessor unit is used for receiving the instruction information of the data receiving unit and analyzing whether the instruction information is instruction information for setting the function expanding instruction or normal instruction information, treating the instruction information and outputting a control signal; the instruction storing unit is used for receiving a storage instruction signal for setting the function expanding instruction output from the microprocessor unit; and the control unit is used for receiving the control signal output by the microprocessor unit and controlling different apparatuses. The cradle head function expanding instruction provided by the invention is endowed with a special instruction meaning through expansion of a normal instruction so as to implement the control of loading devices such as thermal imaging devices of different manufacturers and special control operations for the cradle head, thereby expanding the control range of each protocol and facilitating monitoring workers to use.

Description

A kind of device of realizing The Cloud Terrace functions expanding
Technical field
The invention belongs to field of video monitoring, relate in particular to a kind of device of realizing The Cloud Terrace functions expanding.
Background technology
At present, in order to meet the demand of ever-increasing protection and monitor field, the equipment being mounted on video monitoring product constantly increases, the function realizing from strength to strength, in operating process, there will be existing agreement can not well complete the control to equipment, make the realization of the functions of the equipments of carrying be subject to limitation, thereby affected versatility and the applicability of video monitoring product.Existing video monitoring product does not have the expansion to common protocol instruction conventionally, the function of translating, can not utilize conventional supervisory keyboard and background control unit to send conventional instruction and control carrying equipment, complete unconventional operation, thereby affect the use of video monitoring product.
Summary of the invention
The invention provides a kind of mode that can expand by instruction conventional protocol instructions is expanded into needed instruction, the object that reaches flexible opertaing device realizes the device of The Cloud Terrace functions expanding.
The present invention is achieved in that a kind of device of realizing The Cloud Terrace functions expanding, and described device comprises:
Data receiver unit, for receive the puppy parc that keyboard or background PC computer send over conventional instruction, set the setting instruction of expanding function instruction, and by serial line interface, command information is exported;
Microprocessor unit, whether for receiving the command information of described data receiver unit, and to analyze this command information be to set expanding function command information; If set expanding function command information, the storage command signal of expanding function instruction is set in output; If what receive is conventional command information, obtain the command value of this conventional instruction, if this command value is 0, expanding function command function is not set in representative, carry out the conventional instruction repertorie of puppy parc, if this command value is not 0, expanding function command function has been set in representative, carry out corresponding expanding function instruction processing unit, output control signal;
The location of instruction, for receiving the storage command signal of setting expanding function instruction of described microprocessor unit output, and stores command value into appropriate address space;
Control module, for receiving the control signal of described microprocessor unit output, and controls different equipment, carries out corresponding expanding function action.
Advantage of the present invention and good effect are:
The Cloud Terrace expanding function provided by the invention instruction is by the expansion of the conventional instruction to the various puppy parcs in Video Surveillance Industry, give these instructions special instruction implication, to reach the control of the carrying equipments such as thermal imaging to different manufacturers, laser instrument, camera lens, GPS and the special control operation to The Cloud Terrace, expand greatly the range of control of each agreement and facilitated monitor staff's use; The present invention is reasonable in design, its by with realized control to The Cloud Terrace institute carrying equipment and the special control to The Cloud Terrace itself coordinating of background control end, be convenient to monitor staff and give full play to the supervisory function bit of equipment, improve the scope of The Cloud Terrace carrying equipment.
Brief description of the drawings
Fig. 1 is the structured flowchart of the device of realizing The Cloud Terrace functions expanding that provides of the embodiment of the present invention;
Fig. 2 is the realization flow figure that monitoring puppy parc that the embodiment of the present invention provides is realized the method that specific function expands.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Fig. 1 shows the structural representation of the device of realizing The Cloud Terrace functions expanding that the embodiment of the present invention provides.For convenience of explanation, only show part related to the present invention.
Realize a device for The Cloud Terrace functions expanding, this device comprises:
Data receiver unit 12, for receive the puppy parc that keyboard or background PC computer send over conventional instruction, set the setting instruction of expanding function instruction, and by serial line interface, command information is exported;
Microprocessor unit 11, whether for receiving the command information of described data receiver unit 12, and to analyze this command information be to set expanding function command information; If set expanding function command information, the storage command signal of expanding function instruction is set in output; If what receive is conventional command information, obtain the command value of this conventional instruction, if this command value is 0, expanding function command function is not set in representative, carry out the conventional instruction repertorie of puppy parc, if this command value is not 0, expanding function command function has been set in representative, carry out corresponding expanding function instruction processing unit, output control signal;
The location of instruction 13, for receiving the storage command signal of the setting expanding function instruction that described microprocessor unit 11 exports, and stores command value into appropriate address space;
Control module 14, the control signal of exporting for receiving described microprocessor unit 11, and control different equipment, carry out corresponding expanding function action.
As a preferred version of the embodiment of the present invention, control module 14 comprises:
Serial communication submodule 15, for receiving the serial data of described microprocessor unit 11, and passes to this serial data the equipment with serial line interface.
Power supply control submodule 16, for receiving the power control signal of described microprocessor unit 11, and is converted to power supply control by this signal, exports to follow-up equipment.
Voltage driven element module 17, for receiving the voltage drive signals of described microprocessor unit 11, and is converted to generating positive and negative voltage by this signal, exports to follow-up equipment.
As a preferred version of the embodiment of the present invention, the command value that obtains conventional instruction is to be received from the request signal of the conventional instruction of the inquiry of microprocessor unit 11 and sent Query Result to described microprocessor unit 11 by the described location of instruction 13 to realize.
As a preferred version of the embodiment of the present invention, the location of instruction 13 also receives the request signal of the inquiry expanding function instruction for receiving described microprocessor unit 11, and sends Query Result to described microprocessor unit 11.
The expanding function instruction of the embodiment of the present invention comprises software restarting self-check program, start/close the program of keeing watch, start rectangular scanning program, start circular scanning program, start video switch program, start zoom and swing to program, start the program of swinging to that focuses on, start/cancel camera lens zoom and rotating speed self-adapting program, camera lens doubles changeover program, horizontal initial point program is set, vertical initial point program is set, factory reset program, data loopback mode is switched, the focusing of thermal imaging system is near/far away, the zoom of thermal imaging system is large/little, the focusing of thermal imaging system stops, the zoom of thermal imaging system stops, the manual background correction of thermal imaging system, the manual shutter of thermal imaging system is proofreaied and correct, the automatic focusing start/stop of thermal imaging system, the polarity of thermal imaging system arranges white heat/black heat, the electronics of thermal imaging system amplifies, the video gain setting of thermal imaging system, the time-domain filtering of thermal imaging system, the figure image intensifying of thermal imaging system, the gamma correction of thermal imaging system, the instruction of laser instrument, the instruction of GPS etc.Arrange expanding function instruction can be multiple corresponding any the expanding function instruction of elementary instructions, as can be arranges No. 81 presetting bits and recalls No. 81 presetting bit corresponding data loopback modes switchings.Table 1 has been enumerated instruction that can expanding function instruction.
For example, can in The Cloud Terrace program, the program compilation of expanding function instruction be completed, in the following example, compiled the expanding function instruction (Cmd1~Cmd50) of 50 kinds, and with exponential function definition (void (* ExtCmd[]) (void)).When factory setting, be 0x00 by the command value assignment of each elementary instruction, do not have expanding function instruction to set, in the time that user need to start expanding function instruction, only need be with background computer or keyboard, or recall OSD menu and arrange, the command value of elementary instruction is set as to the command value of corresponding expanding function instruction in table 1, and expanding function command value is stored in the appropriate address of table 2.
Void Cmd0 (void) // restart self-check program
{}
Void Cmd1 (void) // start/the close program of keeing watch
{}
Void Cmd2 (void) // startup rectangular scanning program
{}
Void Cmd48 (void) //GPS instruction repertorie
{}
Void Cmd49 (void) // power supply control program
{}
void(*ExtCmd[])(void)=
{
Cmd0,Cmd1,Cmd2,Cmd3,Cmd4,Cmd5,Cmd6,Cmd7,Cmd8,Cmd9,
Cmd10,Cmd11,Cmd12,Cmd13,Cmd14,Cmd15,Cmd16,Cmd17,Cmd18,Cmd1,
Cmd20,Cmd21,Cmd22,Cmd23,Cmd24,Cmd25,Cmd26,Cmd27,Cmd28,Cmd2,
Cmd30,Cmd31,Cmd32,Cmd33,Cmd34,Cmd35,Cmd36,Cmd37,Cmd38,Cmd3,
Cmd40,Cmd41,Cmd42,Cmd43,Cmd44,Cmd45,Cmd46,Cmd47,Cmd48,Cmd4,
};
The instruction of each puppy parc basic controlling comprise presetting bit is set, the conventional instruction such as the presetting bit of recalling, zoom, focusing, aperture and auxiliary switch.
3 0x02 Start/close the program of keeing watch
4 0x03 Start rectangular scanning program
5 0x04 Start circular scanning program
6 0x05 Start video switch program
7 0x06 Start zoom and swing to program
8 0x07 Start the program of swinging to that focuses on
9 0x08 Start/cancel camera lens zoom and rotating speed self-adapting program
10 0x09 Camera lens doubles changeover program
11 0x0A Horizontal initial point program is set
12 0x0B Vertical initial point program is set
13 0x0C Factory reset program
14 0x0D Data loopback mode is switched
15 0x0F The focusing of thermal imaging system is near/far away
16 0x11 The zoom of thermal imaging system is large/little
17 0x12 The focusing of thermal imaging system stops
18 0x13 The zoom of thermal imaging system stops
19 0x14 The manual background correction of thermal imaging system
20 0x15 The manual shutter of thermal imaging system is proofreaied and correct
21 0x16 The automatic focusing start/stop of thermal imaging system
22 0x17 The polarity of thermal imaging system arranges white heat/black heat
23 0x18 The electronics of thermal imaging system amplifies
24 0x19 The video gain setting of thermal imaging system
25 0x20 The time-domain filtering of thermal imaging system
26 0x21 The figure image intensifying of thermal imaging system
27 0x22 The gamma correction of thermal imaging system
28 0x23 The instruction of laser instrument
29 0x24 The instruction of GPS
30 0x29 Power supply steering order
The command value of table 1 expanding function instruction
Instruction memory address Elementary instruction
0x00 Recruit presetting bit 1
0x01 Recruit presetting bit 2
0x02 Recruit presetting bit 3
0x03 Recruit presetting bit 4
0x04 Recruit presetting bit 5
0x05 Recruit presetting bit 6
0x06 Recruit presetting bit 7
...... ......
0x4E Recruit presetting bit 79
0x4F Recruit presetting bit 80
0x50 If presetting bit 1
0x51 If presetting bit 2
0x52 If presetting bit 3
0x53 If presetting bit 4
0x54 If presetting bit 5
0x55 If presetting bit 6
0x56 If presetting bit 7
...... ......
0x9E If presetting bit 79
0x9F If presetting bit 80
0xA0 Drive auxiliary switch 1
0xA1 Close auxiliary switch 1
0xA2 Drive auxiliary switch 2
0xA3 Close auxiliary switch 2
0xA4 Drive auxiliary switch 3
0xA5 Close auxiliary switch 3
0xA6 Drive auxiliary switch 4
0xA7 Close auxiliary switch 5
0xA8 Circle opens the light
0xA9 Close aperture
The memory address of the storage expanding function instruction setting value of the conventional instruction of table 2
Arranging of expanding function instruction can be preset before by the instruction of communication setting expanding function or the prerequisite of dispatching from the factory by daemon software, backstage keyboard, the menu setting of calling The Cloud Terrace or background PC computer.
In the time calling expanding function instruction, expand the manual shutter correction as thermal imaging system to set the elementary instruction of presetting bit 1, expanding function instruction code is 0x15, the instruction memory address of elementary instruction is 0x50.By the instruction of keyboard instruction or Background control software, The Cloud Terrace receives instruction, analyzes as setting presetting bit 1, now, setting in presetting bit function, gets the command value that address 0x50 sets.If setting value is 0x00, for not setting expanding function instruction, The Cloud Terrace is carried out the instruction of setting presetting bit 1, presetting bit information is stored into the storage space of presetting bit 1; If setting value is 0x15, for setting expanding function instruction, and the manual shutter that expanding function instruction is thermal imaging system is proofreaied and correct, now, call the manual shutter that the Cmd20 of void (* ExtCmd[]) in (void) carry out thermal imaging system and proofread and correct.Provide the power function of setting presetting bit below.
void SetPoint(uint8 num,uint8 gp)
{
uint16 ad;
uint32 group;
This section of function of/* is that expanding function instruction is differentiated, executive routine */
if(num<81){
ExtCmdNum=EEPROMread(CMDADDR+80+num);
if(ExtCmdNum!=0){
DoExtCmd();
return;
}
}
/ * below for set presetting bit basic function program */
if(num>80)return;
if(gp<AUTO_MAX){ //gp 0~31
ad=PRE_START+PRE_SIZEOF64*num;//address
EEPROM_READ(ad + PRE_GROUP,group);
//read
group|=groupTab[gp];
EEPROM_WRITE(ad+PRE_GROUP,group);//save group
state
curPos.zad16count=Read1100(AD_Z_Rd);
curPos.fad16count=Read1100(AD_F_Rd);
EEPROMWriteBytes(ad +
PRE_PCOUNT,(uint8*)&curPos,sizeof(POSITION));//save
}
}
The embodiment of the present invention also provides a kind of puppy parc of monitoring to realize the method that specific function is expanded, and details are as follows:
In step S201, specific function is analyzed, summed up, conclude, and write power function, summarization functions list.
In step S202, the conventional instruction in puppy parc is analyzed, extraction can realize the conventional instruction that instruction is expanded, and sums up list.
In step S203, in the OSD of master routine menu, add order to expand the function of setting, or send to The Cloud Terrace by backstage PC main frame in the mode of serial or parallel, The Cloud Terrace receives data and setting value is preserved, or The Cloud Terrace is before dispatching from the factory, and shifts to an earlier date prepositioned instruction and expands setting value.
In this step, the setting value of expanding function instruction, can be to set in OSD menu, and PC main frame sends setting value to The Cloud Terrace, or sets before being dispatched from the factory by The Cloud Terrace.
In step S204, in each protocol processes function, increase instruction and expand command recognition, in the time not having expanding function instruction to set, carry out former general utility functions; In the time having expanding function instruction to set, carry out the special instruction of setting value, realize special control.
In this step, the identification of expanding function instruction and execution can be processed in functions and carry out at each protocol processes function or at other.
The Cloud Terrace expanding function provided by the invention instruction is by the expansion of the conventional instruction to the various puppy parcs in Video Surveillance Industry, give these instructions special instruction implication, to reach the control of the carrying equipments such as thermal imaging to different manufacturers, laser instrument, camera lens, GPS and the special control operation to The Cloud Terrace, expand greatly the range of control of each agreement and facilitated monitor staff's use; The present invention is reasonable in design, its by with realized control to The Cloud Terrace institute carrying equipment and the special control to The Cloud Terrace itself coordinating of background control end, be convenient to monitor staff and give full play to the supervisory function bit of equipment, improve the scope of The Cloud Terrace carrying equipment.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.

Claims (4)

1. realize the device of The Cloud Terrace functions expanding for one kind, it is characterized in that, described device comprises: data receiver unit, for receive the puppy parc that keyboard or background PC computer send over conventional instruction, set the setting instruction of expanding function instruction, and by serial line interface, command information is exported; Microprocessor unit, whether for receiving the command information of described data receiver unit, and to analyze this command information be to set expanding function command information; If what receive is to set expanding function command information, the storage command signal of expanding function instruction is set in output; If what receive is conventional command information, obtain the command value of this conventional instruction, if this command value is 0, expanding function command function is not set in representative, carry out the conventional instruction repertorie of puppy parc, if this command value is not 0, expanding function command function has been set in representative, carry out corresponding expanding function instruction processing unit, output control signal; The location of instruction, for receiving the storage command signal of setting expanding function instruction of described microprocessor unit output, and stores command value into appropriate address space; Control module, for receiving the control signal of described microprocessor unit output, and controls different equipment, carries out corresponding expanding function action.
2. device according to claim 1, is characterized in that, described control module comprises: serial communication submodule, for receiving the serial data of described microprocessor unit, and passes to this serial data the equipment with serial line interface; Power supply control submodule, for receiving the power control signal of described microprocessor unit, and is converted to power supply control by this signal, exports to follow-up equipment; Voltage driven element module, for receiving the voltage drive signals of described microprocessor unit, and is converted to generating positive and negative voltage by this signal, exports to follow-up equipment.
3. device according to claim 1, it is characterized in that, the command value that obtains conventional instruction is to be received from the request signal of the conventional instruction of inquiry of microprocessor unit and sent Query Result to described microprocessor unit by the described location of instruction to realize.
4. device according to claim 1, is characterized in that, the described location of instruction is also for receiving the request signal of inquiry expanding function instruction of microprocessor unit output, and sends Query Result to described microprocessor unit.
CN201010617941.1A 2010-12-31 2010-12-31 Device for expanding function of cradle head Active CN102073286B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010617941.1A CN102073286B (en) 2010-12-31 2010-12-31 Device for expanding function of cradle head

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010617941.1A CN102073286B (en) 2010-12-31 2010-12-31 Device for expanding function of cradle head

Publications (2)

Publication Number Publication Date
CN102073286A CN102073286A (en) 2011-05-25
CN102073286B true CN102073286B (en) 2014-07-02

Family

ID=44031860

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010617941.1A Active CN102073286B (en) 2010-12-31 2010-12-31 Device for expanding function of cradle head

Country Status (1)

Country Link
CN (1) CN102073286B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102354286A (en) * 2011-09-16 2012-02-15 天津市亚安科技股份有限公司 System for realizing reliable online remote upgrading of cloud deck
WO2020042063A1 (en) * 2018-08-30 2020-03-05 深圳市大疆创新科技有限公司 Control method for cradle head system, cradle head system and computer readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3310229B2 (en) * 1989-01-25 2002-08-05 株式会社日立製作所 Program generation method and apparatus
CN101232606A (en) * 2007-01-23 2008-07-30 全成电子企业有限公司 Wireless monitoring system and method
CN201540483U (en) * 2009-09-22 2010-08-04 上海桥茵自动化设备有限公司 Intelligent diary model centralized distribution type holder controller
CN101729564B (en) * 2009-11-23 2014-12-31 北京中星微电子有限公司 Holder controlling method, system and client

Also Published As

Publication number Publication date
CN102073286A (en) 2011-05-25

Similar Documents

Publication Publication Date Title
JP6254751B2 (en) Communication module firmware, plug-in generation method, apparatus, program, and recording medium
EP3096224B1 (en) Method and apparatus for processing application installation package
US20180123494A1 (en) Method and device for controlling vibration of motor
CN102073286B (en) Device for expanding function of cradle head
GB2513579A (en) Power efficient image sensing apparatus, method of operating the same and eye/gaze tracking system
EP3896688A1 (en) Voice control method, cloud server and terminal device
CN108267972B (en) Electronic equipment control method and device
CN107015873A (en) Call method, component interface device, electronic equipment and the App of App functional module
CN111294503A (en) Commodity replenishment and commodity identification processing method and device and electronic equipment
CN105183571A (en) Function calling method and device
US20190302992A1 (en) Smart terminal and method for interacting with robot using the same
CN105373004A (en) Method and device for controlling smart device
CN107423059A (en) Display methods, device and the terminal of the page
CN106842980B (en) Household appliance control method in screen-off state and mobile terminal thereof
CN110865853B (en) Intelligent operation method and device of cloud service and electronic equipment
CN110457063B (en) Script program packaging method and device, electronic equipment and readable storage medium
CN103546311A (en) Intelligent household control system and method thereof for setting and controlling externally-arranged equipment to start
CN110795153A (en) Electronic equipment and hardware configuration method and device thereof
EP3736665A1 (en) Method and device for controlling application and computer-readable storage medium
CN109213312B (en) Electronic device and display control method thereof
CN112631695A (en) Data verification method and device, electronic equipment and storage medium
WO2022048108A1 (en) Method and system for adaptively adjusting memory management algorithm, and device and medium
CN114860242A (en) Compiling method, compiling device and storage medium
CN114384810A (en) Device control method, device, electronic device and storage medium
CN109241729B (en) Application program detection and processing method and device, terminal device and electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 300384 Tianjin City Huayuan Industrial Zone Ziyuan Road No. 8

Applicant after: TIANJIN YAAN TECHNOLOGY Co.,Ltd.

Address before: Zi Yuan Road 300384 Tianjin city Nankai District Huayuan Industrial Park No. 8

Applicant before: Tianjin Yaan Technology Electronic Co.,Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: YAAN SCIENCE + TECHNOLOGY ELECTRONIC CO., LTD., TIANJIN TO: TIANJIN YA'AN TECHNOLOGY CO., LTD.

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee
CP03 Change of name, title or address

Address after: 300384 in Tianjin Binhai Huayuan Industrial Zone (outer ring) eight Haitai Huake Road No. 6

Patentee after: TIANJIN YAAN TECHNOLOGY Co.,Ltd.

Address before: 300384 Tianjin City Huayuan Industrial Zone Ziyuan Road No. 8

Patentee before: TIANJIN YAAN TECHNOLOGY Co.,Ltd.

PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20190701

Granted publication date: 20140702

PD01 Discharge of preservation of patent
PD01 Discharge of preservation of patent

Date of cancellation: 20220701

Granted publication date: 20140702

PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20220701

Granted publication date: 20140702