CN108803669A - Holder rotating direction control method, device, electronic equipment and storage medium - Google Patents

Holder rotating direction control method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN108803669A
CN108803669A CN201810730791.1A CN201810730791A CN108803669A CN 108803669 A CN108803669 A CN 108803669A CN 201810730791 A CN201810730791 A CN 201810730791A CN 108803669 A CN108803669 A CN 108803669A
Authority
CN
China
Prior art keywords
clicking operation
tripod head
head equipment
equipment
interaction area
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.)
Granted
Application number
CN201810730791.1A
Other languages
Chinese (zh)
Other versions
CN108803669B (en
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 TRICOLOR TECHNOLOGY Co Ltd
Original Assignee
BEIJING TRICOLOR 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 BEIJING TRICOLOR TECHNOLOGY Co Ltd filed Critical BEIJING TRICOLOR TECHNOLOGY Co Ltd
Priority to CN201810730791.1A priority Critical patent/CN108803669B/en
Publication of CN108803669A publication Critical patent/CN108803669A/en
Application granted granted Critical
Publication of CN108803669B publication Critical patent/CN108803669B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D3/00Control of position or direction
    • G05D3/10Control of position or direction without using feedback

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present embodiments relate to human-computer interaction technique field, a kind of holder rotating direction control method, device, electronic equipment and storage medium are provided, the method includes:Respond the first position that the first clicking operation in interaction area obtains the first clicking operation;Respond the second position that the second clicking operation is obtained with intermittent second clicking operation of the first clicking operation in interaction area, wherein the first clicking operation and the second clicking operation are respectively acting on the different location of interaction area;Calculate the first displacement vector between first position and the second position;It according to the first displacement vector, generates the instruction of the first course changing control and is sent to tripod head equipment, so that tripod head equipment is turned to according to the instruction of the first course changing control.Compared with prior art, user need to only execute intermittent clicking operation twice in interaction area and course changing control to tripod head equipment can be realized, and operating process is simple and intuitive, improves user experience.

Description

Holder rotating direction control method, device, electronic equipment and storage medium
Technical field
The present embodiments relate to human-computer interaction technique fields, in particular to a kind of holder rotating direction control method, dress It sets, electronic equipment and storage medium.
Background technology
Holder is a kind of device for being used to support and carrying video camera and carry out horizontal and vertical directions rotation, passes through cloud Platform rotates, and video camera is driven to carry out different angle shooting.When user utilizes the human-computer interaction interface real time inspection of software client When the video image of video camera passback, user can be turned to by remote control holder to be regarded to obtain more preferably video camera Angle.Virtual key of the setting for controlling holder steering, the virtual key usually in the user interface of software client at present Usually four directions or from all directions to virtual direction key, user clicks corresponding virtual direction key by operating mouse and adjusts cloud The horizontal rotation angle and pitch angle of platform.But when user's operation mouse clicks virtual direction key, mouse needs Accurate Points Virtual direction key position is hit, could trigger and form course changing control order, therefore this mode operating process is comparatively laborious, Inadequate simple, intuitive.
Invention content
Be designed to provide a kind of holder rotating direction control method, device, electronic equipment and the storage of the embodiment of the present invention are situated between Matter, to improve the above problem.
To achieve the goals above, technical solution used in the embodiment of the present invention is as follows:
In a first aspect, an embodiment of the present invention provides a kind of holder rotating direction control method, it is applied to electronic equipment, the electricity Sub- equipment is communicated to connect with tripod head equipment, and the electronic equipment is previously provided with interaction area, the method includes:Described in response The first clicking operation in interaction area obtains the first position of first clicking operation;Respond in the interaction area with Intermittent second clicking operation of first clicking operation obtains the second position of second clicking operation, wherein described One clicking operation and second clicking operation are respectively acting on the different location of the interaction area;Calculate the first position The first displacement vector between the second position;According to first displacement vector, the first course changing control instruction hair is generated It send to the tripod head equipment, so that the tripod head equipment is turned to according to first course changing control instruction.
Second aspect, the embodiment of the present invention additionally provide a kind of holder steering control device, are applied to electronic equipment, described Electronic equipment is communicated to connect with tripod head equipment, and the electronic equipment is previously provided with interaction area, and described device is obtained including first Modulus block, the second acquisition module, computing module and control module.Wherein, the first acquisition module is for responding the interaction area The first interior clicking operation obtains the first position of first clicking operation;Second acquisition module is for responding the interactive areas The second position that second clicking operation is obtained with intermittent second clicking operation of first clicking operation in domain, In, first clicking operation and second clicking operation are respectively acting on the different location of the interaction area;First meter Module is calculated to be used to calculate the first displacement vector between the first position and the second position;First control module be used for according to According to first displacement vector, the first course changing control instruction for generating the tripod head equipment is sent to the tripod head equipment, so that The tripod head equipment is turned to according to first course changing control instruction.
The third aspect, the embodiment of the present invention additionally provide a kind of electronic equipment, and the electronic equipment is communicated with tripod head equipment Connection, and it is previously provided with interaction area, the electronic equipment further includes:One or more processors;Memory, for storing One or more programs, when one or more of programs are executed by one or more of processors so that one Or multiple processors realize above-mentioned holder rotating direction control method.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer readable storage medium, are stored thereon with computer Program, the computer program realize above-mentioned holder rotating direction control method when being executed by processor.
Compared with the prior art, it a kind of holder rotating direction control method provided in an embodiment of the present invention, device, electronic equipment and deposits Storage media, electronic equipment are previously provided with interaction area, and first, the first clicking operation responded in interaction area obtains at first point Hit the first position of operation;Then, it responds in interaction area and obtains the with intermittent second clicking operation of the first clicking operation The second position different from first position of two clicking operations;Finally, the displacement calculated between first position and the second position is sweared Amount, and generate course changing control instruction according to displacement vector and turned to controlling tripod head equipment.Compared with prior art, of the invention Embodiment user need to only execute intermittent clicking operation twice in interaction area and course changing control to tripod head equipment can be realized, Operating process is simple and intuitive, improves user experience.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment cited below particularly, and coordinate Appended attached drawing, is described in detail below.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 shows the first application scenarios side that electronic equipment provided in an embodiment of the present invention is interacted with tripod head equipment Frame schematic diagram.
Fig. 2 shows the second application scenarios sides that electronic equipment provided in an embodiment of the present invention and tripod head equipment interact Frame schematic diagram.
Fig. 3 shows the third application scenarios side that electronic equipment provided in an embodiment of the present invention is interacted with tripod head equipment Frame schematic diagram.
Fig. 4 shows the block diagram of electronic equipment provided in an embodiment of the present invention.
Fig. 5 shows holder rotating direction control method flow chart provided in an embodiment of the present invention.
Fig. 6 shows the first exemplary plot provided in an embodiment of the present invention.
Fig. 7 shows the second exemplary plot provided in an embodiment of the present invention.
Fig. 8 shows the block diagram of holder steering control device provided in an embodiment of the present invention.
Icon:10- electronic equipments;20- tripod head equipments;30- networks;40- servers;50- audio video processors;101- is deposited Reservoir;102- storage controls;103- processors;104- internal interfaces;105- display modules;200- holder course changing controls fill It sets;The first acquisition modules of 201-;The second acquisition modules of 202-;The first computing modules of 203-;The first control modules of 204-;205- Three acquisition modules;The second computing modules of 206-;The second control modules of 207-.
Specific implementation mode
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete Ground describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause This, the detailed description of the embodiment of the present invention to providing in the accompanying drawings is not intended to limit claimed invention below Range, but it is merely representative of the selected embodiment of the present invention.Based on the embodiment of the present invention, those skilled in the art are not doing The every other embodiment obtained under the premise of going out creative work, shall fall within the protection scope of the present invention.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined, then it further need not be defined and explained in subsequent attached drawing in a attached drawing.Meanwhile the present invention's In description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
Please refer to Fig. 1, Fig. 1 show electronic equipment 10 provided in an embodiment of the present invention and at least one tripod head equipment 20 into First application scenarios block diagram of row interaction.Electronic equipment 10 passes through controlling cable and holder based on default communication protocol Equipment 20 is communicated, to realize the holder course changing control to tripod head equipment 20.Default communication protocol may be, but not limited to, string Row bus agreement, the procotol of the ports RJ45, usb protocol etc..Electronic equipment 10 may be, but not limited to, and smart mobile phone is put down The operating system of plate computer, desktop computer, laptop etc., electronic equipment 10 may be, but not limited to, Android (Android) system, IOS (iPhone operating system) system, Windows phone systems, Windows systems Deng tripod head equipment 20 can be horizontal holder, vertical holder and all-directional tripod head.
Please refer to Fig. 2, Fig. 2 shows electronic equipment provided in an embodiment of the present invention 10 and at least one tripod head equipment 20 into Second application scenarios block diagram of row interaction.Electronic equipment 10 can be communicated by network 30 with server 40, service Device 40 can be communicated by network 30 with tripod head equipment 20, to realize the holder course changing control to tripod head equipment 20.It is specific next It says, electronic equipment 10 will be controlled after the course changing control instruction that tripod head equipment 20 turns to is encoded and is transmitted to by network 30 Server 40, server 40 are decoded course changing control instruction to obtain the target address information carried in course changing control instruction, And course changing control instruction is transmitted to the corresponding tripod head equipment 20 of target address information by network 30, target address information can be with Include, but are not limited to IP address, port and the network interface card information etc. of tripod head equipment 20.Network 30 may be, but not limited to, network friendship It changes planes, cable router, wireless router, bluetooth, RS485 buses etc..
Please refer to Fig. 3, Fig. 3 show electronic equipment 10 provided in an embodiment of the present invention and at least one tripod head equipment 20 into The third application scenarios block diagram of row interaction.Electronic equipment 10 can be communicated by network 30 with server 40, service Device 40 can be communicated by network 30 at least one audio video processor 50, and each audio video processor 50 passes through one Tripod head equipment 20 of control unit pair controls, to realize the holder course changing control to tripod head equipment 20.Specifically, electric Sub- equipment 10 will control and be transmitted to service by network 30 after the course changing control instruction that tripod head equipment 20 turns to is encoded Device 40, server 40 are decoded course changing control instruction to obtain the target address information carried in course changing control instruction, and will Course changing control instruction is transmitted to the corresponding audio video processor 50 of target address information by network 30, and audio video processor 50 is logical It crosses control unit to control tripod head equipment 20, target address information may include, but be not limited to audio video processor 50 IP address, port and network interface card information etc..Control unit can be integrated in audio video processor 50 in the form of board, can also be Independently of the signal forwarding unit except audio video processor 50.Audio video processor 50 may be, but not limited to, with splicing The processor of at least one of function, matrix functions, KVM functions function.
In embodiments of the present invention, camera is installed on tripod head equipment 20, camera can be by the video of acquisition Image is sent to electronic equipment 10 and is shown, user can be according to the video image being shown on electronic equipment 10, to installation There is the tripod head equipment 20 of camera to carry out course changing control to obtain better camera visual angle.
Please refer to Fig. 4, electronic equipment 10 include holder steering control device 200, memory 101, storage control 102, Processor 103, internal interface 104 and display module 105.The memory 101, storage control 102, processor 103, inside Interface 104 and 105 each element of display module are directly or indirectly electrically connected between each other, to realize the transmission or friendship of data Mutually.It is electrically connected for example, these elements can be realized between each other by one or more communication bus or signal wire.The holder Steering control device 200 can be stored in the memory 101 including at least one in the form of software or firmware (firmware) In or the software function module that is solidificated in the operating system of the electronic equipment 10.The processor 103 is for executing storage The executable module stored in device 101, such as software function module or computer that the holder steering control device 200 includes Program.
Wherein, memory 101 may be, but not limited to, random access memory (Random Access Memory, RAM), read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc..
Processor 103 can be a kind of IC chip, have signal handling capacity.Above-mentioned processor 103 can be with It is general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP), speech processor and video processor etc.;Can also be digital signal processor, application-specific integrated circuit, Field programmable gate array either other programmable logic device, discrete gate or transistor logic, discrete hardware components. It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor can be Microprocessor or the processor 103 can also be any conventional processor etc..
The internal interface 104 is used to couple various input/output devices to processor 103 and memory 101.? In some embodiments, internal interface 104, processor 103 and storage control 102 can be realized in one single chip.At it In his some examples, they can be realized by independent chip respectively.
Display module 105 is used to carry out the video image for the camera acquisition being fixedly installed on tripod head equipment 20 real-time Interaction between display and realization interactive device and electronic equipment 10.Display module 105 can be display screen, touch screen etc., Interactive device can be mouse, stylus, gesture operation etc..
First embodiment
Fig. 5 is please referred to, Fig. 5 shows holder rotating direction control method flow chart provided in an embodiment of the present invention.Holder turns to Control method includes the following steps:
Step S101 responds the first position that the first clicking operation in interaction area obtains the first clicking operation.
In embodiments of the present invention, it is previously provided with interaction area in the human-computer interaction interface of electronic equipment 10, the interaction Region can identify that the video acquired to camera in human-computer interaction interface can be arranged in the operation of interactive device, interaction area The display area that image is shown can also be arranged independently of the display shown to the video image that camera acquires Other display areas except region.
In embodiments of the present invention, the first clicking operation can be that user utilizes certain in interactive device click interaction area What a coordinate points generated, first position can be the active position of the first clicking operation.Electronic equipment 10 can have display screen, After the video image that display screen acquires camera is shown, if user needs to carry out steering control to tripod head equipment 20 System, then some coordinate points that user can be clicked in interaction area using mouse generate the first clicking operation.Electronic equipment 10 can With with touch screen, after the video image that touch screen acquires camera is shown, if user needs to tripod head equipment 20 carry out course changing control, then user can utilize stylus or gesture operation to click some coordinate points in interaction area and generate First clicking operation.
Step S102 is responded in interaction area and is obtained the second click with intermittent second clicking operation of the first clicking operation The second position of operation, wherein the first clicking operation and the second clicking operation are respectively acting on the different location of interaction area.
In embodiments of the present invention, the second clicking operation can be that user utilizes certain in interactive device click interaction area After a coordinate points generate the first clicking operation, the generation of another coordinate points is again tapped in interaction area, the second position can To be the active position of the second clicking operation.Second clicking operation and the first clicking operation are interruptions and discrete, and first Clicking operation and the second clicking operation are respectively acting on the different location of interaction area.
In embodiments of the present invention, electronic equipment 10 can have display screen, user to be clicked in interaction area using mouse Some coordinate points generate the first clicking operation after, user's operation mouse is subjected to displacement in interaction area, later in interaction Mouse displacement terminal point, which again taps on, in region generates the second clicking operation, and the first clicking operation and the second clicking operation are made respectively Different location for interaction area.
Electronic equipment 10 can have touch screen, user to click some in interaction area using stylus or gesture operation After coordinate points generate the first clicking operation, is again tapped in interaction area and generate the second clicking operation, the first clicking operation The different location of interaction area is respectively acting on the second clicking operation.
Step S103 calculates the first displacement vector between first position and the second position.
Fig. 6 is please referred to, in two-dimensional coordinate system, using the first position of the first clicking operation as origin, calculates at first point The first displacement vector between the first position of operation and the second position of the second clicking operation is hit, the first displacement vector includes position Shifting amount and direction of displacement, for example, first position is (0,1), the second position is (3,5), then the displacement of the first displacement vector is 5, direction cosines
Step S104 generates the instruction of the first course changing control and is sent to tripod head equipment, so that holder according to the first displacement vector Equipment is turned to according to the instruction of the first course changing control.
In embodiments of the present invention, the first course changing control instruction may include first object direction and the first steering angle, That is, according to the first displacement vector, the method for generating the instruction of the first course changing control may include:
First, the horizontal component and vertical component for calculating the first displacement vector, for example, the displacement of the first displacement vector is 5, direction cosinesThe horizontal vector that the first displacement vector can then be calculated is 3, vertical component 4.
Then, the direction according to horizontal component and vertical component, determines the first object direction of tripod head equipment 20.It can be with The direction that horizontal component is arranged corresponds to the horizontal rotatio direction of tripod head equipment 20, and the direction of vertical component corresponds to tripod head equipment 20 pitching direction of rotation, specifically, the direction of horizontal component are defined as to the right positive direction, and corresponding tripod head equipment 20 is along up time Needle direction rotates;The direction of horizontal component is defined as negative direction to the left, and corresponding tripod head equipment 20 is rotated in the counterclockwise direction;Vertically The direction of component is defined as positive direction upwards, and corresponding tripod head equipment 20 is rotated along direction is looked up;The direction of vertical component is fixed downwards Justice is negative direction, and corresponding tripod head equipment 20 is rotated along overlook direction.In conjunction with the direction of horizontal component and vertical component, you can The target direction turned to holder can be rotated clockwise, rotate counterclockwise, look up rotation, overlook rotation, clockwise rotation Turn combine look up rotation, rotate clockwise in conjunction with overlook rotation, counterclockwise rotation combine look up rotation, counterclockwise rotate combination bow Apparent rotation.
Therefore, the determination process in the first object direction of tripod head equipment 20 may include:The first step, by the side of horizontal component To the horizontal rotatio direction for being set as tripod head equipment 20;Second step sets the direction of vertical component to bowing for tripod head equipment 20 Face upward direction of rotation;Third walks, and horizontal rotatio direction and pitching direction of rotation are combined, and can obtain the of tripod head equipment 20 One target direction, is attached to the example shown in Fig. 6, the direction of horizontal component to the right, the direction of vertical component it is upward, then holder is set Standby 20 horizontal rotatio direction be rotated in a clockwise direction, pitching direction of rotation is to rotate along looking up direction, tripod head equipment 20 First object direction be to be rotated clockwise to rotate in conjunction with looking up direction.
Finally, the displacement according to horizontal component and vertical component, calculates the first steering angle of tripod head equipment 20, the One steering angle can be tripod head equipment 20 respectively in the horizontal direction, the rotation angle of vertical direction.Specifically, first, according to Displacement according to horizontal component and default rotation angle, calculate the horizontal rotation angle of tripod head equipment 20, preset rotation angle Degree can be the corresponding rotation angle of unit displacement amount, for example, default rotation angle is 5 °, be attached to the example shown in Fig. 6, water The displacement of the amount of dividing equally is 3, then the horizontal rotation angle of tripod head equipment 20 is 15 °;Then, according to vertical component displacement with And default rotation angle, the vertical rotation angle of tripod head equipment 20 is calculated, the example shown in Fig. 6 is attached to, vertical component Displacement is 4, then the vertical rotation angle of tripod head equipment 20 is 20 °;Horizontal rotatio direction and vertical rotary direction are tied It closes, obtains the first steering angle of tripod head equipment 20, for example, the first steering angle of tripod head equipment 20 is to rotate horizontally 15 °, hang down Direct rotary turns 20 ° and rotates 20 ° to get looking up direction to the instruction of the first course changing control to be rotated clockwise 15 ° of combinations.
In embodiments of the present invention, when the coordinate for collecting first position in interaction area, the second position, and first is generated After course changing control instruction, if it is disconnected thirdly with the second click operation room in interaction area to receive user again Operation is hit, then needs continuously to be turned on the basis of the implementing result that the first course changing control instructs, therefore, the embodiment of the present invention The holder rotating direction control method of offer can also include the following steps.
Step S105 is responded in interaction area and is clicked the disconnected third clicking operation acquisition third click of operation room with second The third place of operation, wherein the second clicking operation and third clicking operation are respectively acting on the different location of interaction area.
In embodiments of the present invention, can be user click interaction area to third clicking operation using interactive device generates the After two clicking operations, generation is again tapped in interaction area, the third place can be the active position of third clicking operation. Third clicking operation and the second clicking operation are interruptions and discrete, and the second clicking operation and third clicking operation are made respectively For the different location of interaction area, the third place can be different from first position and the second position arbitrary in interaction area Position, can also be on the line of first position and the second position, on the extended line of first position or the second position.
Step S106 calculates the second displacement vector between the second position and the third place.
Fig. 7 is please referred to, in two-dimensional coordinate system, using the second position of the second clicking operation as origin, calculates second point Hit the second displacement vector between the second position of operation and the third place of third clicking operation, for example, the second position be (3, 5), the third place is (- 1,8), then the displacement of second displacement vector is 5, direction cosines
Step S107 generates the instruction of the second course changing control and is sent to tripod head equipment, so that holder according to second displacement vector Equipment is turned to according to the instruction of the second course changing control.
In embodiments of the present invention, the second course changing control instruction may include the second target direction and the second steering angle, Specifically, first, the horizontal component and vertical component of second displacement vector are calculated, for example, the horizontal arrow of second displacement vector Amount is 4, vertical component 3.
Then, according to the horizontal component of second displacement vector and the direction of vertical component, the of tripod head equipment 20 is determined Two target directions, for example, the horizontal rotatio direction of tripod head equipment 20 is is rotated in the counterclockwise direction, pitching direction of rotation is that edge is faced upward Apparent direction rotates, and the second target direction of tripod head equipment 20 is looked up direction for counterclockwise rotation combination and rotated.
Finally, the displacement according to horizontal component and vertical component, calculates the second steering angle of tripod head equipment 20, example Such as, the second steering angle of tripod head equipment 20 is 20 ° of horizontal rotation, 15 ° of vertical rotary is to get to the instruction of the second course changing control Counterclockwise 20 ° of combinations of rotation look up direction and rotate 15 °.
It should be noted that the number for carrying out course changing control to tripod head equipment 20 is not limited to twice, that is to say, that can be right Tripod head equipment 20 carries out repeatedly continuous steering, only need to calculate clicking operation twice according to the method in above-mentioned steps S101~S107 Displacement vector, and then calculate course changing control and instruct and be sent to tripod head equipment 20, realize and tripod head equipment 20 is repeatedly turned To control.
In embodiments of the present invention, it is set when interactive device (for example, mouse, stylus, gesture operation etc.) acts on electronics When standby 10 interaction area, acquire the clicking operation of interactive device, and user is analyzed according to intermittent clicking operation twice Intention, further realize the course changing control to tripod head equipment 20, operating process is simple and intuitive, improves user experience.
Second embodiment
Fig. 8 is please referred to, Fig. 8 shows the block diagram of holder steering control device 200 provided in an embodiment of the present invention. Holder steering control device 200 includes the first acquisition module 201, the second acquisition module 202, the control of the first computing module 203, first Molding block 204, third acquisition module 205, the second computing module 206 and the second control module 207.
First acquisition module 201, obtain the first clicking operation for responding the first clicking operation in interaction area the One position.
Second acquisition module 202, for respond in interaction area with intermittent second clicking operation of the first clicking operation Obtain the second position of the second clicking operation, wherein the first clicking operation and the second clicking operation are respectively acting on interaction area Different location.
First computing module 203, for calculating the first displacement vector between first position and the second position.
First control module 204, for according to the first displacement vector, generation the first course changing control instruction to be sent to holder and sets It is standby, so that tripod head equipment is turned to according to the instruction of the first course changing control.
In embodiments of the present invention, the first course changing control instruction includes first object direction and the first steering angle, and first Control module 204 is specifically used for calculating the horizontal component and vertical component of the first displacement vector;According to horizontal component and vertical point The first object direction of tripod head equipment is determined in the direction of amount;According to the displacement of horizontal component and vertical component, cloud is calculated First steering angle of platform equipment.
In embodiments of the present invention, the first control module 204 executes the direction according to horizontal component and vertical component, determines Go out the mode in the first object direction of tripod head equipment, including:Set the direction of horizontal component to the horizontal rotation of tripod head equipment Direction;Set the direction of vertical component to the pitching direction of rotation of tripod head equipment;By horizontal rotatio direction and pitching rotation side To being combined, the first object direction of tripod head equipment is obtained.
In embodiments of the present invention, the first control module 204 executes the displacement according to horizontal component and vertical component, meter The mode of the first steering angle of tripod head equipment is calculated, including:Displacement according to horizontal component and default rotation angle, meter Calculate the horizontal rotation angle of tripod head equipment;Displacement according to vertical component and default rotation angle, calculate holder and set Standby vertical rotation angle;Horizontal rotatio direction and vertical rotary direction are combined, obtain tripod head equipment first turns to Amplitude.
Third acquisition module 205 clicks the disconnected third clicking operation of operation room for responding in interaction area with second Obtain the third place of third clicking operation, wherein the second clicking operation and third clicking operation are respectively acting on interaction area Different location.
Second computing module 206, for calculating the second displacement vector between the second position and the third place.
Second control module 207, for according to second displacement vector, generation the second course changing control instruction to be sent to holder and sets It is standby, so that tripod head equipment is turned to according to the instruction of the second course changing control.
The embodiment of the present invention further discloses a kind of computer readable storage medium, is stored thereon with computer program, described The holder rotating direction control method that present invention discloses is realized when computer program is executed by processor 103.
In conclusion a kind of holder rotating direction control method provided in an embodiment of the present invention, device, electronic equipment and storage are situated between Matter, the electronic equipment communicate to connect with tripod head equipment and are previously provided with interaction area, the method includes:Respond interactive areas The first clicking operation in domain obtains the first position of the first clicking operation;Respond interaction area between the first clicking operation The second disconnected clicking operation obtains the second position of the second clicking operation, wherein the first clicking operation and the second clicking operation point The different location of interaction area is not acted on;Calculate the first displacement vector between first position and the second position;According to first Displacement vector generates the instruction of the first course changing control and is sent to tripod head equipment, so that tripod head equipment is instructed according to the first course changing control It is turned to.Compared with prior art, user need to only execute intermittent click twice in interaction area in the embodiment of the present invention Operation can be realized to the course changing control to tripod head equipment, and operating process is simple and intuitive, improves user experience.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, the flow chart in attached drawing and block diagram Show the device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product, Function and operation.In this regard, each box in flowchart or block diagram can represent the one of a module, section or code Part, a part for the module, section or code, which includes that one or more is for implementing the specified logical function, to be held Row instruction.It should also be noted that at some as in the realization method replaced, the function of being marked in box can also be to be different from The sequence marked in attached drawing occurs.For example, two continuous boxes can essentially be basically executed in parallel, they are sometimes It can execute in the opposite order, this is depended on the functions involved.It is also noted that every in block diagram and or flow chart The combination of box in a box and block diagram and or flow chart can use function or the dedicated base of action as defined in executing It realizes, or can be realized using a combination of dedicated hardware and computer instructions in the system of hardware.
In addition, each function module in each embodiment of the present invention can integrate to form an independent portion Point, can also be modules individualism, can also two or more modules be integrated to form an independent part.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module It is stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be expressed in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.It needs Illustrate, herein, relational terms such as first and second and the like be used merely to by an entity or operation with Another entity or operation distinguish, and without necessarily requiring or implying between these entities or operation, there are any this realities The relationship or sequence on border.Moreover, the terms "include", "comprise" or its any other variant are intended to the packet of nonexcludability Contain, so that the process, method, article or equipment including a series of elements includes not only those elements, but also includes Other elements that are not explicitly listed, or further include for elements inherent to such a process, method, article, or device. In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including the element Process, method, article or equipment in there is also other identical elements.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, any made by repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should be noted that:Similar label and letter exist Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing It is further defined and is explained.

Claims (10)

1. a kind of holder rotating direction control method, which is characterized in that be applied to electronic equipment, the electronic equipment is logical with tripod head equipment Letter connection, the electronic equipment are previously provided with interaction area, the method includes:
Respond the first position that the first clicking operation in the interaction area obtains first clicking operation;
It responds in the interaction area and obtains second click with intermittent second clicking operation of first clicking operation The second position of operation, wherein first clicking operation and second clicking operation are respectively acting on the interaction area Different location;
Calculate the first displacement vector between the first position and the second position;
According to first displacement vector, generates the instruction of the first course changing control and be sent to the tripod head equipment, so that the holder Equipment is turned to according to first course changing control instruction.
2. the method as described in claim 1, which is characterized in that first course changing control instruction include first object direction with First steering angle, it is described to generate the step of the first course changing control instructs according to first displacement vector, including:
Calculate the horizontal component and vertical component of first displacement vector;
According to the direction of the horizontal component and vertical component, the first object direction of the tripod head equipment is determined;
According to the displacement of the horizontal component and vertical component, the first steering angle of the tripod head equipment is calculated.
3. method as claimed in claim 2, which is characterized in that the direction according to the horizontal component and vertical component, The step of determining the first object direction of the tripod head equipment, including:
Set the direction of the horizontal component to the horizontal rotatio direction of the tripod head equipment;
Set the direction of the vertical component to the pitching direction of rotation of the tripod head equipment;
The horizontal rotatio direction and the pitching direction of rotation are combined, the first object side of the tripod head equipment is obtained To.
4. method as claimed in claim 2, which is characterized in that the displacement according to the horizontal component and vertical component The step of measuring, calculating the first steering angle of the tripod head equipment, including:
Displacement according to the horizontal component and default rotation angle, calculate the feathering angle of the tripod head equipment Degree;
Displacement according to the vertical component and default rotation angle calculate the vertical rotary angle of the tripod head equipment Degree;
The horizontal rotation angle and the vertical rotation angle are combined, obtain the tripod head equipment first turns to width Degree.
5. the method as described in claim 1, which is characterized in that the method further includes:
It responds in the interaction area and clicks the operation room disconnected third clicking operation acquisition third click with described second The third place of operation, wherein second clicking operation and the third clicking operation are respectively acting on the interaction area Different location;
Calculate the second displacement vector between the second position and the third place;
According to the second displacement vector, generates the instruction of the second course changing control and be sent to the tripod head equipment, so that the holder Equipment is turned to according to second course changing control instruction.
6. the method as described in claim 1, which is characterized in that first clicking operation and second clicking operation are It is generated by mouse, stylus or gesture operation.
7. a kind of holder steering control device, which is characterized in that be applied to electronic equipment, the electronic equipment is logical with tripod head equipment Letter connection, the electronic equipment are previously provided with interaction area, and described device includes:
First acquisition module, the first clicking operation for responding in the interaction area obtain the of first clicking operation One position;
Second acquisition module, for respond in the interaction area with intermittent second clicking operation of first clicking operation Obtain the second position of second clicking operation, wherein first clicking operation and second clicking operation are made respectively Different location for the interaction area;
First computing module, for calculating the first displacement vector between the first position and the second position;
First control module, for according to first displacement vector, generating the first course changing control instruction of the tripod head equipment It is sent to the tripod head equipment, so that the tripod head equipment is turned to according to first course changing control instruction.
8. device as claimed in claim 7, which is characterized in that first course changing control instruction include first object direction with First steering angle, the computing module are specifically used for:
Calculate the horizontal component and vertical component of institute's displacement vector;
According to the direction of the horizontal component and vertical component, the first object direction of the tripod head equipment is determined;
According to the displacement of the horizontal component and vertical component, the first steering angle of the tripod head equipment is calculated.
9. a kind of electronic equipment, which is characterized in that the electronic equipment is communicated to connect with tripod head equipment, and is previously provided with interaction Region, the electronic equipment further include:
One or more processors;
Memory, for storing one or more programs, when one or more of programs are by one or more of processors When execution so that one or more of processors realize the method as described in any one of claim 1-6.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt The method as described in any one of claim 1-6 is realized when processor executes.
CN201810730791.1A 2018-07-05 2018-07-05 Cloud deck steering control method and device, electronic equipment and storage medium Active CN108803669B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810730791.1A CN108803669B (en) 2018-07-05 2018-07-05 Cloud deck steering control method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810730791.1A CN108803669B (en) 2018-07-05 2018-07-05 Cloud deck steering control method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108803669A true CN108803669A (en) 2018-11-13
CN108803669B CN108803669B (en) 2021-08-24

Family

ID=64074981

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810730791.1A Active CN108803669B (en) 2018-07-05 2018-07-05 Cloud deck steering control method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108803669B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110139040A (en) * 2019-06-17 2019-08-16 广东安居宝数码科技股份有限公司 Method, apparatus, PTZ camera, equipment and the medium of PTZ camera positioning
CN110832423A (en) * 2018-11-28 2020-02-21 深圳市大疆创新科技有限公司 Control method of holder, mobile platform and computer readable storage medium
CN113110736A (en) * 2021-03-26 2021-07-13 联想(北京)有限公司 Control method, device, equipment and computer readable storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4187020A (en) * 1977-10-15 1980-02-05 Asahi Kogaku Kogyo Kabushiki Kaisha Tripod rack and pinion focussing mechanism rotatable relative to lens
JPH10197223A (en) * 1997-01-10 1998-07-31 Mitsutoyo Corp Picture measuring instrument
CN102231038A (en) * 2009-10-14 2011-11-02 鸿富锦精密工业(深圳)有限公司 System and method for adjusting camera
CN102789327A (en) * 2012-08-07 2012-11-21 北京航空航天大学 Method for controlling mobile robot on basis of hand signals
CN103105854A (en) * 2012-01-19 2013-05-15 河南工业大学 Cloud deck operation and control system and cloud deck operation and control method based on implicit controls
CN103327310A (en) * 2013-07-12 2013-09-25 浙江宇视科技有限公司 Monitoring and cruising method based on mouse trail tracking
CN104486543A (en) * 2014-12-09 2015-04-01 北京时代沃林科技发展有限公司 Equipment and method for controlling cloud deck camera by intelligent terminal in touch manner
CN104699120A (en) * 2015-02-10 2015-06-10 银江股份有限公司 Cloud desk operation method and system for cross-domain video cascading system
CN105049813A (en) * 2015-08-11 2015-11-11 小米科技有限责任公司 Method, device and terminal controlling video image
US20150334310A1 (en) * 2014-03-31 2015-11-19 Canon Kabushiki Kaisha Position control apparatus, position control method, optical apparatus, and imaging apparatus
CN105487856A (en) * 2015-11-23 2016-04-13 深圳Tcl数字技术有限公司 Method and system for controlling touch screen application in display terminal by mobile terminal
CN108028884A (en) * 2015-09-25 2018-05-11 富士胶片株式会社 Camera system and camera shooting control method
CN108184150A (en) * 2017-12-29 2018-06-19 北京淳中科技股份有限公司 Vector control method, device and the signal processing system of long-range mark signal

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4187020A (en) * 1977-10-15 1980-02-05 Asahi Kogaku Kogyo Kabushiki Kaisha Tripod rack and pinion focussing mechanism rotatable relative to lens
JPH10197223A (en) * 1997-01-10 1998-07-31 Mitsutoyo Corp Picture measuring instrument
CN102231038A (en) * 2009-10-14 2011-11-02 鸿富锦精密工业(深圳)有限公司 System and method for adjusting camera
CN103105854A (en) * 2012-01-19 2013-05-15 河南工业大学 Cloud deck operation and control system and cloud deck operation and control method based on implicit controls
CN102789327A (en) * 2012-08-07 2012-11-21 北京航空航天大学 Method for controlling mobile robot on basis of hand signals
CN103327310A (en) * 2013-07-12 2013-09-25 浙江宇视科技有限公司 Monitoring and cruising method based on mouse trail tracking
US20150334310A1 (en) * 2014-03-31 2015-11-19 Canon Kabushiki Kaisha Position control apparatus, position control method, optical apparatus, and imaging apparatus
CN104486543A (en) * 2014-12-09 2015-04-01 北京时代沃林科技发展有限公司 Equipment and method for controlling cloud deck camera by intelligent terminal in touch manner
CN104699120A (en) * 2015-02-10 2015-06-10 银江股份有限公司 Cloud desk operation method and system for cross-domain video cascading system
CN105049813A (en) * 2015-08-11 2015-11-11 小米科技有限责任公司 Method, device and terminal controlling video image
CN108028884A (en) * 2015-09-25 2018-05-11 富士胶片株式会社 Camera system and camera shooting control method
CN105487856A (en) * 2015-11-23 2016-04-13 深圳Tcl数字技术有限公司 Method and system for controlling touch screen application in display terminal by mobile terminal
CN108184150A (en) * 2017-12-29 2018-06-19 北京淳中科技股份有限公司 Vector control method, device and the signal processing system of long-range mark signal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
彭国均等: "港内船舶综合监控系统的应用研究", 《航海技术》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110832423A (en) * 2018-11-28 2020-02-21 深圳市大疆创新科技有限公司 Control method of holder, mobile platform and computer readable storage medium
CN110139040A (en) * 2019-06-17 2019-08-16 广东安居宝数码科技股份有限公司 Method, apparatus, PTZ camera, equipment and the medium of PTZ camera positioning
CN113110736A (en) * 2021-03-26 2021-07-13 联想(北京)有限公司 Control method, device, equipment and computer readable storage medium
CN113110736B (en) * 2021-03-26 2023-08-18 联想(北京)有限公司 Control method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN108803669B (en) 2021-08-24

Similar Documents

Publication Publication Date Title
CN108919839A (en) Holder rotating direction control method, device, electronic equipment and storage medium
CN109032190A (en) Holder rotating direction control method, device, electronic equipment and storage medium
Patchava et al. A smart home automation technique with raspberry pi using iot
CN108803669A (en) Holder rotating direction control method, device, electronic equipment and storage medium
US10007775B2 (en) Managing access to an electronic system
US20160092080A1 (en) Touch interface for precise rotation of an object
CN104301609A (en) Camera rotating control method used for mobile terminal and mobile terminal
CN107562201B (en) Directional interaction method and device, electronic equipment and storage medium
CN104102335A (en) Gesture control method, device and system
CN103970259A (en) Screen mode switching method and terminal equipment
CN104144184A (en) Method for controlling far-end device and electronic devices
CN104662558A (en) Fingertip location for gesture input
CN103324348A (en) Windows desktop control method based on intelligent mobile terminals
CN107395995B (en) Mobile terminal and its rotating camera control method
US20150084881A1 (en) Data processing method and electronic device
CN105190509B (en) Content rotation is provided during scroll actions
CN108460268A (en) Verification method and device
CN106600664B (en) drawing method and device of symmetric graph
CN105430331A (en) Method and device for adjusting display direction of monitor image
CN109544702A (en) Three-dimension varying processing method, device, electronic equipment and storage medium
CN104104716B (en) Virtual desktop system and its method based on cloud computing
CN108762659A (en) Control method, device, storage medium and the electronic device of cloud terminal
CN102306260B (en) Method and device for inputting password
CN103559809A (en) Computer-based on-site interaction demonstration system
CN103246404A (en) Two-point touch track correcting Method and two-point touch track correcting device on basis of movement identification

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant