Method and device for controlling holder

A technology for controlling PTZ and PTZ, which is applied in the computer field and can solve problems such as affecting the execution time of other tasks and being unable to execute in time.

Inactive Publication Date: 2020-06-09
HANGZHOU HIKVISION DIGITAL TECH
View PDF8 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the prior art, the pan/tilt usually executes different tasks in the form of sequential arrangement, that is, as long as it receives a control command for the pan/tilt, it will be written into the message queue and executed in sequence. However, for some higher priority Tasks cannot be executed in time, and tasks that need to be delayed also affect the execution time of other tasks

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for controlling holder
  • Method and device for controlling holder
  • Method and device for controlling holder

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0051] Example 1

[0052]As mentioned above, in the prior art, the PTZ usually executes different tasks in a sequential manner. As long as a control command for the PTZ is received, it is written into a message queue and executed in sequence. For example, if the rotation instruction 1 with a delay of 5s (seconds) is received first, the instruction is written into the message queue, and then the real-time rotation instruction 2 is received, and the instruction is written into the message queue again. After waiting for 5s, execute rotation command 1, and then execute rotation command 2. But in fact, the motivation for sending the real-time rotation command 2 is to expect to execute immediately instead of waiting, so this method of controlling the gimbal in the prior art cannot meet the requirements of task execution. Based on this defect, this embodiment provides a method for controlling a pan-tilt, which can meet different control requirements in the process of controlling the pa

Example Embodiment

[0077] Example 2

[0078] Based on the same concept, Embodiment 2 of the present application provides an apparatus for controlling a pan / tilt, which can meet different control requirements in the process of controlling a pan / tilt mounted with a camera. The schematic diagram of the device is shown in Figure 7 As shown, it includes: a task writing module 202 and a task execution module 204, wherein,

[0079] The task writing module 202 can be used to:

[0080] After receiving the real-time command for the gimbal, write the real-time command in the form of a real-time task to the last position in the message queue of the gimbal;

[0081] After determining the delay command for the PTZ, establish a timing task, and when the timing ends, write the delay command into the message queue in the form of a real-time task;

[0082] After receiving the priority command for the PTZ, write the priority command to the non-last position in the message queue in the form of a real-time task

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and a device for controlling a holder and can meet different control requirements in the process of controlling the holder loaded with a camera. The method comprises steps of after receiving a real-time instruction for the holder, writing a real-time instruction into the last position in a message queue of the holder in the form of a real-time task, after determining a delay instruction for the holder, establishing a timing task, and writing a delay instruction into the message queue in the form of a real-time task when timing is ended, after receiving a priority instruction for the holder, writing the priority instruction into a non-last position in the message queue in a real-time task form, and reading and executing real-time tasks from the message queuein sequence, and deleting the successfully executed real-time tasks.

Description

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Owner HANGZHOU HIKVISION DIGITAL TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products