CN114245014A - Holder control method, holder control device and electronic equipment - Google Patents

Holder control method, holder control device and electronic equipment Download PDF

Info

Publication number
CN114245014A
CN114245014A CN202111573507.2A CN202111573507A CN114245014A CN 114245014 A CN114245014 A CN 114245014A CN 202111573507 A CN202111573507 A CN 202111573507A CN 114245014 A CN114245014 A CN 114245014A
Authority
CN
China
Prior art keywords
input
rotation
display screen
angle
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111573507.2A
Other languages
Chinese (zh)
Inventor
蔡江涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202111573507.2A priority Critical patent/CN114245014A/en
Publication of CN114245014A publication Critical patent/CN114245014A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/695Control of camera direction for changing a field of view, e.g. pan, tilt or based on tracking of objects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Studio Devices (AREA)

Abstract

The application discloses a holder control method, a holder control device and electronic equipment, and belongs to the technical field of electronic equipment. The holder control method is applied to a holder control device, a display screen of the holder control device is a scroll screen, the holder control device comprises a holder and a camera, and the camera is arranged on the holder; the method comprises the following steps: receiving a first input of a user; responding to the first input, and controlling the holder to rotate according to first rotation information; the first input comprises input for controlling the display screen to be unfolded or folded, or input for a preset area of the display screen; the first rotation information is determined from the first input.

Description

Holder control method, holder control device and electronic equipment
Technical Field
The application belongs to the technical field of electronic equipment, and particularly relates to a holder control method, a holder control device and electronic equipment.
Background
At present, in order to shoot different scenes, a user is generally required to hold the electronic device and move the electronic device, so that a camera of the electronic device is moved based on the position of a shooting object, and thus shooting different scenes is achieved. Obviously, such a shooting method mainly depends on the hand motion of a person, and thus the shooting effect is poor.
Disclosure of Invention
The embodiment of the application aims to provide a holder control method, a holder control device and electronic equipment, which can control a holder to rotate individually and accurately.
In a first aspect, an embodiment of the present application provides a pan-tilt control method, which is applied to a pan-tilt control device, a display screen of the pan-tilt control device is a scroll screen, the pan-tilt control device includes a pan-tilt and a camera, and the pan-tilt is provided with the camera; the method comprises the following steps:
receiving a first input of a user;
responding to the first input, and controlling the holder to rotate according to first rotation information;
the first input comprises input for controlling the display screen to be unfolded or folded, or input for a preset area of the display screen; the first rotation information is determined from the first input.
In a second aspect, an embodiment of the present application provides a pan/tilt/zoom control device, where a display screen of the pan/tilt/zoom control device is a scroll screen, the pan/tilt/zoom control device includes a pan/tilt and a camera, and the pan/tilt is provided with the camera; the device comprises:
the first receiving module is used for receiving a first input of a user;
the control module is used for responding to the first input and controlling the holder to rotate according to first rotation information;
the first input comprises input for controlling the display screen to be unfolded or folded, or input for a preset area of the display screen; the first rotation information is determined from the first input.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the pan/tilt head control method according to the first aspect.
In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instructions are stored, and when the program or instructions are executed by a processor, the steps of the pan and tilt head control method according to the first aspect are implemented.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the steps of the pan/tilt control method according to the first aspect.
In a sixth aspect, the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the steps of the pan and tilt head control method according to the first aspect.
In the embodiment of the application, the pan-tilt control device receives a first input of a user, and controls the pan-tilt to rotate according to the first rotation information in response to the first input. Wherein the first rotation information is determined according to a first input, and the first input may include an input for controlling the display to be unfolded or folded, or an input for a preset area of the display. Therefore, in the technical scheme, under the condition that the first input is different, the control of the cradle head control device on the rotation of the cradle head is also different, so that the personalized control effect on the rotation of the cradle head can be realized according to the personalized input of a user; meanwhile, the holder control device responds to the first input, so that the holder can be controlled to rotate according to the corresponding rotation information, and accurate control over the rotation of the holder is achieved.
Drawings
Fig. 1 is a schematic flowchart of a pan-tilt control method provided in an embodiment of the present application.
Fig. 2 is a schematic diagram of a mobile phone with a scroll screen provided by an embodiment of the present application.
Fig. 3 is one of interface schematic diagrams of a shooting interface provided in an embodiment of the present application.
Fig. 4(a) is a display interface schematic diagram of a precision setting control provided in an embodiment of the present application.
Fig. 4(b) is a second interface schematic diagram of the shooting interface provided in the embodiment of the present application.
Fig. 4(c) is a third schematic interface diagram of the shooting interface provided in the embodiment of the present application.
Fig. 4(d) is a fourth schematic interface diagram of the shooting interface provided in the embodiment of the present application.
Fig. 4(e) is a fifth schematic interface diagram of the shooting interface provided in the embodiment of the present application.
Fig. 4(f) is a sixth schematic interface diagram of a shooting interface provided in the embodiment of the present application.
Fig. 5(a) is a seventh schematic interface diagram of a shooting interface provided in the embodiment of the present application.
Fig. 5(b) is an eighth schematic interface diagram of a shooting interface provided in the embodiment of the present application.
Fig. 5(c) is a ninth schematic interface diagram of a shooting interface provided in an embodiment of the present application.
Fig. 6 is a tenth of an interface schematic diagram of a shooting interface provided in an embodiment of the present application.
Fig. 7 is a second schematic flowchart of a pan/tilt head control method according to an embodiment of the present application.
Fig. 8 is a schematic structural diagram of a pan/tilt head control device provided in an embodiment of the present application.
Fig. 9 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Fig. 10 is a hardware structure diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The pan/tilt control method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 is a schematic flowchart of a pan-tilt control method provided in an embodiment of the present application. In this embodiment, the pan-tilt control method is applied to a pan-tilt control device, a display screen of the pan-tilt control device is a scroll screen, the pan-tilt control device includes a pan-tilt and a camera, the camera is arranged on the pan-tilt, and the pan-tilt is used for driving the camera to rotate in a rotation process. As shown in fig. 1, the pan-tilt control method may include:
step 102, a first input of a user is received.
The first input comprises input for controlling the display screen to be unfolded or folded, or input for a preset area of the display screen. Under the condition that the first input is an input for controlling the display screen to be unfolded or folded, the first input may be a stretching operation on a scroll structure of the scroll screen, or a clicking operation, a voice instruction, or a preset gesture on a virtual key on the scroll screen for controlling the display screen to be unfolded or folded, or a clicking operation, a long-time pressing operation, and the like on a physical key on the pan-tilt control device for controlling the display screen to be unfolded or folded, which may be determined specifically according to an actual use requirement, and the embodiment of the present application does not limit this. The clicking operation in the embodiment of the application can be single clicking operation, double clicking operation or any number of times of clicking operation and the like; the preset gesture may be any one of a single-tap gesture and a double-tap gesture.
In the case that the first input is input to a preset area of the display screen, the first input may be click operation, slide input, long-press operation, and the like of a scroll structure of the scroll screen, and may be specifically determined according to an actual use requirement, which is not limited in this embodiment of the application. For the specific content of the click operation, reference may be made to the above description, and details are not repeated here.
And 104, responding to the first input, and controlling the holder to rotate according to the first rotation information.
Wherein the first rotation information is determined based on the first input. The first rotation information may include at least one of a rotation direction, a rotation angle, and a rotation speed.
In the embodiment of the application, the pan-tilt control device receives a first input of a user, and controls the pan-tilt to rotate according to the first rotation information in response to the first input. Wherein the first rotation information is determined according to a first input, and the first input may include an input for controlling the display to be unfolded or folded, or an input for a preset area of the display. Therefore, in the technical scheme, under the condition that the first input is different, the control of the cradle head control device on the rotation of the cradle head is also different, so that the personalized control effect on the rotation of the cradle head can be realized according to the personalized input of a user; meanwhile, the holder control device responds to the first input, so that the holder can be controlled to rotate according to the corresponding rotation information, and the effect of accurately controlling the rotation of the holder is achieved.
In one embodiment, the cloud deck control method provided by the embodiment of the application can meet the requirement of a user for chasing a target object displayed on a display screen and the requirement of the user for shooting different scenes. Wherein, cloud platform controlling means is through responding to the input that user control display screen expandes or packs up, or, the user is to the input in the predetermined region of display screen, the control cloud platform rotates according to corresponding rotation information, thereby can drive the camera rotation that sets up on the cloud platform, the effect of chasing after the target object that shows on the display screen has been realized, can realize shooing different scenery simultaneously, user's shooting demand has been satisfied, and owing to need not to remove cloud platform controlling means and can realize chasing after and shoot different scenery, the target object who shows on the display screen has been avoided shaking, and reduced the reliance to people's hand action, consequently, make the shooting effect more excellent.
The cradle head control method provided by the embodiment of the application is described in detail below by taking the cradle head control device as a mobile phone as an example. Fig. 2 is a schematic view of a mobile phone having a scroll screen provided in an embodiment of the present application, as shown in fig. 2, 230 is a scroll structure of the scroll screen, 240 is a display screen that can be extended or retracted, and 240 can be extended or retracted in a direction indicated by 250 by a user manually stretching or retracting the scroll structure 230. Wherein the direction pointing to the reel structure 230 is 240 for unwinding, and the direction pointing to 210 is 240 for retracting. In the fully collapsed condition 240, the display area of the display screen is shown as 210; in the case of 240 expansion, the display area of the display screen is shown as 220.
It should be noted that the operation principle of the reel structure 230 is similar to that of a steel tape, and when the user manually stretches the reel structure 230, 240 is unfolded; when the user manually retracts the spool structure 230, 240 is rewound into the spool structure 230. In the embodiment of the present application, 240 is used to display the preset content or not (i.e. black screen), and 210 is a normally displayed display screen.
In one embodiment, the following steps A1-A2 may be performed first before receiving the first input from the user (i.e., performing step 102):
step A1, receiving a second input from the user to the precision setting control.
Before performing step a1, the pan/tilt control apparatus may display a shooting interface on the display screen in response to a third input by the user on the display screen. Therefore, in response to a fourth input executed by the user on the specified virtual key on the shooting interface, or in response to a fourth input executed by the user on the specified physical key on the pan/tilt control device under the condition that the shooting interface is displayed on the display screen of the pan/tilt control device, the precision setting control is displayed on the display screen.
Wherein the third input is used to open a shooting interface. Optionally, the third input is a click operation, a voice instruction, or a preset gesture on an application program for shooting on the display screen, which may be specifically determined according to an actual use requirement, and this is not limited in this embodiment of the application. The specific contents of the click operation and the preset gesture can be referred to the related description in the first input, and are not described herein again. As shown in fig. 3, a photographing interface is schematically displayed on a display screen of the mobile phone, and a target object is schematically displayed in the photographing interface. Wherein 210 is a display area of the display screen, and 230 is a scroll structure of the scroll screen. 310 is a target object, that is, an object that the user selects in the shooting interface and wants to catch up, such as a scene, an object, a person, an animal, etc. Fig. 3 shows target object 310 as a tree.
Wherein the fourth input is for opening a precision setting control. Optionally, the fourth input is a click operation, a voice instruction, or a preset gesture performed on a designated virtual key on the shooting interface, or the fourth input is a click operation, a long-time press operation, and the like performed on a designated physical key on the pan/tilt control device by a user when the shooting interface is displayed on a display screen of the pan/tilt control device, which can be specifically determined according to actual use requirements, and the embodiment of the present application does not limit this. The specific contents of the click operation and the preset gesture can be referred to the related description in the first input, and are not described herein again. As shown in fig. 3, a designated virtual key 320 is schematically displayed on the shooting interface, and in practical applications, the display position of the designated virtual key 320 includes, but is not limited to, the display position shown in fig. 3.
And step A2, determining the rotational precision of the holder corresponding to the target input mode according to the second input.
In this embodiment, the second input of the user to the precision setting control is received, so that the rotational precision of the cradle head corresponding to the target input mode is determined according to the second input, the effect of determining the rotational precision of the cradle head according to the input of the user is realized, and the personalized requirement of the user on the rotational precision of the cradle head can be better met.
In one embodiment, the target input mode may include a first input mode and a second input mode, the first input mode is an input mode for controlling the display screen to be unfolded or folded, and the second input mode is an input mode for a preset area of the display screen.
In this embodiment, the precision setting control may include a first precision setting control and a second precision setting control. The step a2 can be specifically executed as the following steps B1 and B2:
and step B1, determining the rotation precision of the first holder corresponding to the first input mode according to the first angle control range corresponding to the second input under the condition that the second input is the input of the first precision setting control.
And the first precision setting control is a control corresponding to the first input mode. Optionally, the second input may be a click operation, a voice instruction, or a preset gesture on the first precision setting control, which may be specifically determined according to actual use requirements, and the embodiment of the present application does not limit this. The specific contents of the click operation and the preset gesture can be referred to the related description in the first input, and are not described herein again.
In one embodiment, in the process of controlling the display screen to be unfolded or folded by a user, the pan-tilt control device can determine the unfolding proportion or the folding proportion of the current display screen in real time. In practical application, the expansion ratio and the retraction ratio of the display screen can be set to be 0% -100%. It will be appreciated that the display screen's deployment and retraction ratios are a complementary set of parameters, with the sum of the deployment and retraction ratios being 100%. Assuming that the display screen is expanded by 80%, the display screen is retracted by 20%. In practical application, the holder control device can determine the expansion proportion or the retraction proportion of the current display screen according to the input of the current user for controlling the expansion or the retraction of the display screen; or, for the pan/tilt/zoom control device capable of determining only the expansion ratio (or the retraction ratio) of the display screen, it is possible to determine the expansion ratio (or the retraction ratio) of the current display screen according to the input of the current user for controlling the expansion or the retraction of the display screen.
For example, the pan-tilt control device can only determine the expansion ratio of the display screen according to the input of the current user for controlling the display screen to expand or retract, and the step B1 may be specifically executed as the following steps B11-B13:
and step B11, determining a first angle control range of the pan/tilt head in the direction of unfolding or folding the display screen (for convenience of description, hereinafter referred to as "first direction") according to the second input of the user to the first precision setting control.
Alternatively, the first precision setting control may be referred to as an X-axis control. The first precision setting control may be a control including a plurality of scales that are uniformly set, each scale representing an angular control range (typically a percentage, such as 0% -100%) of the pan/tilt head in the first direction. For example, 5 scales are uniformly arranged on the first precision setting control, and then, each scale represents that the angle control range of the pan/tilt head in the first direction is 0%, 25%, 50%, 75% and 100%, respectively. For another example, 11 scales are uniformly arranged on the first precision setting control, and then, each scale represents that the angle control range of the pan/tilt head in the first direction is 0%, 10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90%, 100%, respectively.
As shown in fig. 4(a), the X-axis controller 410 is schematically illustrated, which is uniformly provided with 11 scales from left to right, 411 is a left boundary of the angle control range (i.e., a left boundary of the rotational angle of the head in the first direction), and 412 is a right boundary of the angle control range (i.e., a right boundary of the rotational angle of the head in the first direction).
Exemplarily, in the case that the second input is a click operation on each scale on the first-precision setting control, as shown in fig. 4(a) and 4(b), the second input performed by the user on the second scale (the angle control range is 10%) and the eighth scale (the angle control range is 70%) from left to right on the first-precision setting control is schematically illustrated. Based on the second input, a first angular control range of the pan/tilt head in the first direction may be determined to be 10% -70%.
In addition, if a second input of the user to the first precision setting control is not received, the first angle control range of the pan/tilt head in the first direction is a default value, and is generally 0% to 100%.
And step B12, determining the first rotatable angle of the holder in the first direction according to the first angle control range and the maximum rotatable angle range of the holder in the first direction.
In general, in the process of manufacturing the cloud platform control device, the maximum range of the rotatable angle of the cloud platform in the first direction is set. In this embodiment, the number of scales uniformly arranged on the first precision setting control in the cloud platform control device is combined, and the rotatable angles corresponding to the angle control ranges can be determined.
For example, the maximum range of the rotational angle of the pan/tilt head in the first direction is-10 ° to +10 °, and 11 scales are uniformly arranged on the first precision setting control (where, from left to right, the scale is increased from 0% to 100%, and every 10% corresponds to one scale), then it can be determined that: when the angle control range is 0%, the corresponding rotatable angle is-10 degrees; when the angle control range is 10%, the corresponding rotatable angle is-8 degrees; when the angle control range is 20%, the corresponding rotatable angle is-6 degrees; when the angle control range is 30%, the corresponding rotatable angle is-4 degrees; when the angle control range is 40%, the corresponding rotatable angle is-2 degrees; when the angle control range is 50%, the corresponding rotatable angle is 0 degree; when the angle control range is 60%, the corresponding rotatable angle is +2 degrees; when the angle control range is 70%, the corresponding rotatable angle is +4 degrees; when the angle control range is 80%, the corresponding rotatable angle is +6 degrees; when the angle control range is 90%, the corresponding rotatable angle is +8 degrees; when the angle control range is 100%, the corresponding rotatable angle is +10 degrees.
Assuming that the maximum range of the rotational angle of the head in the first direction is-10 ° to +10 °, then, according to fig. 4(a) and 4(b), the first rotational angle of the head in the first direction is-8 ° to +4 °. If the second input of the user to the first precision setting control is not received, the first angle control range of the pan/tilt head in the first direction is a default value, generally 0% -100%, and according to the above assumption, the first rotatable angle of the pan/tilt head in the first direction is-10 ° to +10 °.
And step B13, determining the first pan-tilt rotation precision of the pan-tilt in the first direction, namely the rotation angle of the pan-tilt corresponding to the unit expansion ratio of the display screen, according to the mapping relation between the first rotatable angle and the expansion ratio of the display screen.
The cloud platform controlling means can obtain the first rotatable angle of cloud platform in the first direction to establish the mapping relation between the expansion proportion [ 0%, 100% ] and the first rotatable angle [ R, L ] of display screen. Wherein, R represents the right boundary of the first rotatable angle, L represents the left boundary of the first rotatable angle, the expansion ratio of the display screen when the display screen is completely expanded is 100%, and the expansion ratio when the display screen is completely folded is 0%. It should be understood that the expansion ratio of the display screen is changed from 0% to 100%, and the target object in the photographing interface moves from left to right along the X-axis on the display screen.
Assuming that the first rotational angle of the pan/tilt head in the first direction is-8 ° to +4 °, as shown in fig. 4(c), the display screen is unfolded at a ratio of 0% corresponding to the first rotational angle of the pan/tilt head in the first direction being +4 ° (i.e., X: +4 ° is shown in the figure), and at this time, the target object 310 is no longer centered; as shown in fig. 4(d), when the expansion ratio 420 of the display screen is 100%, the first rotatable angle of the corresponding pan/tilt head in the first direction is-8 ° (i.e., X: -8 ° is shown).
In this embodiment, when the expansion ratio of the display screen is a%, the first rotatable angle of the corresponding cradle head in the first direction is
Figure BDA0003424064940000081
Wherein the content of the first and second substances,
Figure BDA0003424064940000082
meaning rounded (or rounded up or down, the application is not particularly limited). By way of example in fig. 4(c) and 4(d), as shown in fig. 4(e), when the expansion ratio 420 of the display screen is 56%, the first rotatable angle of the corresponding pan/tilt head in the first direction is:
Figure BDA0003424064940000083
i.e., X shown in the figure: -1.28 °.
In this embodiment, it is assumed that the first rotatable angle of the pan/tilt head in the first direction is-8 ° to +4 °, when the expansion ratio of the display screen is 0%, the first rotatable angle of the corresponding pan/tilt head in the first direction is +4 °, when the expansion ratio of the display screen is 100%, the first rotatable angle of the corresponding pan/tilt head in the first direction is-8 °, if the user expands the display screen from the expansion ratio of 0% to the expansion ratio of 100% for one second, the rotational speed of the pan/tilt head in the first direction is 12 ° per second, as shown in fig. 4(f), and the target object moves from the dotted line to the solid line on the display screen.
Following the example in fig. 4(c) and 4(d), assuming that the display screen has a unit expansion ratio of 1%, then, based on the mapping relationship between the first rotational angle [ +4 °, -8 ° ] and the display screen expansion ratio [ 0%, 100% ], it can be determined that the first pan/tilt head rotation accuracy in the first direction of the pan/tilt head is 0.12 °, that is, the pan/tilt head rotation in the expansion direction is 0.12% for every 1% expansion of the display screen.
Assuming that the first rotational angle is-10 ° to +10 ° and the unit expansion ratio of the display screen is 1%, the rotational accuracy of the first pan/tilt head in the first direction is determined to be 0.2 ° according to the mapping relationship between the first rotational angle [ +10 °, -10 ° ] and the expansion ratio of the display screen [ 0%, 100% ], that is, the rotational accuracy of the pan/tilt head in the first direction is 0.2 ° for every 1% expansion of the display screen. It can be seen that, the smaller the range of the first rotatable angle of the pan/tilt head in the first direction is, the higher the rotational accuracy of the first pan/tilt head is (that is, the smaller the rotational angle of the pan/tilt head corresponding to the unit expansion ratio of the display screen is).
And step B2, determining the rotation precision of the second holder corresponding to the second input mode according to the second angle control range corresponding to the second input under the condition that the second input is the input of the second precision setting control.
And the second precision setting control is a control corresponding to the second input mode. Optionally, the second input may be a click operation, a voice instruction, or a preset gesture on the second precision setting control, which may be specifically determined according to actual use requirements, and the embodiment of the present application does not limit this. The specific contents of the click operation and the preset gesture can be referred to the related description in the first input, and are not described herein again.
In one embodiment, during the process of inputting the preset area of the display screen, the pan-tilt control device can determine the current input position in the preset area of the display screen in real time, and the input position can be characterized by percentage. Taking the scroll structure with the preset area as the scroll screen as an example, the input position can be represented by 0% -100%, the highest position in the operable area on the scroll structure corresponds to 0%, and the lowest position in the operable area on the scroll structure corresponds to 100%.
In the process of inputting the operable area on the scroll structure, the pan-tilt control device may determine, in real time, an input position example currently in the operable area, where step B2 may be specifically performed as the following steps B21-B23:
and step B21, determining a second angle control range of the holder in the axial direction of the scroll structure (for convenience of description, hereinafter referred to as "second direction") according to a second input of the user to the second precision setting control.
Alternatively, the second precision setting control may be referred to as a Y-axis control. The second precision setting control may be a control including a plurality of scales that are uniformly set, each scale representing an angular control range (typically a percentage, such as 0% -100%) of the pan/tilt head in the second direction. For example, 5 scales are uniformly arranged on the second precision setting control, and then, each scale represents that the angle control range of the pan/tilt head in the second direction is 0%, 25%, 50%, 75% and 100%, respectively. For another example, 11 scales are uniformly set on the second precision setting control, and then, each scale represents that the angle control range of the pan/tilt head in the second direction is 0%, 10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90%, 100%, respectively.
Referring to fig. 4(a), a Y-axis control 430 is schematically shown, which is uniformly provided with 11 scales from bottom to top, 431 being an upper boundary of an angle control range (i.e., an upper boundary of a rotational angle of a head in a second direction), and 432 being a lower boundary of the angle control range (i.e., a lower boundary of a rotational angle of the head in the second direction).
For example, in a case where the second input is a click operation on each scale on the second precision setting control, if the user performs the second input on a third scale (the angle control range is 20%) and an eighth scale (the angle control range is 70%) from top to bottom on the second precision setting control, it may be determined that the second angle control range of the pan/tilt head in the second direction is 20% to 70% according to the second input.
In addition, if a second input of the user to the second precision setting control is not received, a second angle control range of the pan/tilt head in the second direction is a default value, and is generally 0% to 100%.
And step B22, determining the second rotatable angle of the holder in the second direction according to the second angle control range and the maximum range of the rotatable angle of the holder in the second direction.
In general, in the process of manufacturing the cloud platform control device, the maximum range of the rotatable angle of the cloud platform in the second direction is set. In this embodiment, the number of scales uniformly arranged on the second precision setting control in the cloud platform control device is combined, and the rotatable angles corresponding to the angle control ranges can be determined.
For example, the maximum range of the rotational angle of the pan/tilt head in the second direction is-10 ° to +10 °, and 11 scales are uniformly arranged on the second precision setting control (where, from top to bottom, the scale is sequentially increased from 0% to 100%, and every 10% corresponds to one scale), then it can be determined that: when the angle control range is 0%, the corresponding rotatable angle is +10 degrees; when the angle control range is 10%, the corresponding rotatable angle is +8 degrees; when the angle control range is 20%, the corresponding rotatable angle is +6 degrees; when the angle control range is 30%, the corresponding rotatable angle is +4 degrees; when the angle control range is 40%, the corresponding rotatable angle is +2 degrees; when the angle control range is 50%, the corresponding rotatable angle is 0 degree; when the angle control range is 60%, the corresponding rotatable angle is-2 degrees; when the angle control range is 70%, the corresponding rotatable angle is-4 degrees; when the angle control range is 80%, the corresponding rotatable angle is-6 degrees; when the angle control range is 90%, the corresponding rotatable angle is-8 degrees; when the angle control range is 100%, the corresponding rotatable angle is-10 degrees.
Assuming that the maximum range of the rotational angle of the pan/tilt head in the second direction is-10 ° to +10 °, by way of example in step B21, the second rotational angle of the pan/tilt head in the second direction is +6 ° to-4 ° with the second angle control range being 20% -70%. If a second input of the user to the second accuracy setting control is not received, the second angle control range of the pan/tilt head in the second direction is a default value, generally 0% to 100%, and according to the above assumption, the second rotatable angle of the pan/tilt head in the second direction is +10 ° to-10 °.
And step B23, determining the second pan-tilt rotation precision of the pan-tilt in the second direction according to the mapping relation between the second rotatable angle and each input position in the operable area, that is, the rotation angle of the pan-tilt corresponding to the unit input position in the operable area.
The cloud platform control device can acquire a second rotatable angle of the cloud platform in a second direction, and establish a mapping relation between each input position [ 0%, 100% ] and the second rotatable angle [ T, B ] in the operable area. Where T denotes an upper boundary of the second rotational angle and B denotes a lower boundary of the second rotational angle. It is to be understood that the input position within the manipulatable region is changed from 0% to 100%, and the target object in the photographing interface is moved upward from below along the Y axis on the display screen.
Assuming that the second rotational angle of the pan/tilt head in the second direction is-10 ° to +10 °, as shown in fig. 5(a), when the input position in the operable region is 0% (i.e., at 510 in the figure), the second rotational angle of the corresponding pan/tilt head in the second direction is +10 ° (i.e., Y: +10 ° is shown in the figure); as shown in fig. 5(b), when the input position in the operable area is 100% (i.e., at 520 in the drawing), the corresponding second rotatable angle of the pan/tilt head in the second direction is-10 ° (i.e., Y: -10 ° is shown in the drawing).
In this embodiment, when the input position in the operable area is a%, the second rotatable angle of the corresponding pan/tilt head in the second direction is
Figure BDA0003424064940000111
Wherein the content of the first and second substances,
Figure BDA0003424064940000112
meaning rounded (or rounded up or down, the application is not particularly limited). By way of example in fig. 5(a) and 5(b), as shown in fig. 5(c), when the input position 530 within the operable area is 78%, the second rotatable angle of the corresponding pan/tilt head in the second direction is:
Figure BDA0003424064940000113
Figure BDA0003424064940000114
i.e., Y shown in the figure: -5.6 °.
In this embodiment, similar to step B13, the rotational speed of the pan/tilt head in the second direction may be determined according to the input speed of the user in the operable area on the reel structure, and will not be described herein again.
Following the example shown in fig. 5(a) and 5(b), assuming that the unit input position in the operable area is 1%, it can be determined that the second pan/tilt rotation precision of the pan/tilt head in the second direction is 0.2 ° according to the mapping relationship between the second rotational angle [ +10 °, -10 ° ] and each input position [ 0%, 100% ] in the operable area, that is, the pan/tilt head rotates 0.2 ° downward in the Y axis every 1% increase in the input position in the operable area.
Assuming that the second rotational angle is-6 ° to +4 ° and the unit input position in the operable region is 1%, it can be determined that the second pan/tilt rotational accuracy of the pan/tilt head in the second direction is 0.01 ° according to the mapping relationship between the second rotational angle [ +4 °, -6 ° ] and each input position [ 0%, 100% ] in the operable region, that is, the pan/tilt head rotates 0.01 ° in the Y axis every 1% increase in the input position in the operable region. It can be seen that, the smaller the range of the second rotational angle of the pan/tilt head in the second direction is, the higher the rotational accuracy of the second pan/tilt head is (that is, the smaller the rotational angle of the pan/tilt head corresponding to the unit input position in the operation area is).
In this embodiment, the rotational accuracy of the pan/tilt head corresponding to each input mode is determined according to the angle control range corresponding to the input of the user to each accuracy setting control, so that the effect of individually determining the rotational accuracy of the pan/tilt head according to the input of the user is achieved, meanwhile, the operation process is simple, and the complexity of the user in controlling the rotation of the pan/tilt head is greatly reduced.
In one embodiment, in response to the first input, controlling the pan/tilt head to rotate according to the first rotation information (i.e., step 104) may be performed as: and under the condition that the first input is the input for controlling the display screen to be unfolded or folded, controlling the holder to rotate according to the first rotation information according to the unfolding information or the folding information of the display screen.
Wherein the deployment information may include at least one of a deployment ratio and a deployment speed, the stowage information may include at least one of a stowage ratio and a stowage speed, and the first rotation information may include at least one of a rotation direction, a rotation angle, and a rotation speed. The rotation angle may be determined according to the deployment ratio or the retraction ratio, and the rotation speed may be determined according to the deployment speed or the retraction speed.
In this embodiment, under the condition that the user controls the display screen to be unfolded or folded, the pan/tilt control device can acquire the unfolding information or the folding information of the display screen in real time, so as to determine the first rotation information corresponding to the unfolding information or the folding information of the display screen in real time according to the first pan/tilt rotation precision of the pan/tilt determined in the step B1 in the first direction, and control the pan/tilt to rotate according to the first rotation information in real time.
In the case of using the example shown in fig. 4(c) and 4(d), that is, in the case where the pan head rotates in the extending direction by 0.12 ° for every 1% of the display screen, assuming that the extending ratio of the display screen is 56%, the rotational direction of the pan head is the extending direction of the display screen, the rotational angle is-8 ° + (56 × 0.12 °) to-1.28 °, and the rotational speed is the same as the extending speed of the display screen.
In this embodiment, when the user controls the display screen to expand or pack up, the expansion information or the packing up information of the display screen can be acquired, so that the cradle head is controlled to rotate according to the first rotation information according to the expansion information or the packing up information of the display screen, and the accurate control effect on the rotation of the cradle head is realized.
In one embodiment, in response to the first input, controlling the pan/tilt head to rotate according to the first rotation information (i.e., step 104) may be performed as steps C1-C3, where the first rotation information may include a first rotation direction and a first rotation angle.
And step C1, acquiring a first input position corresponding to the first input under the condition that the first input is input to the preset area of the display screen.
Alternatively, the preset region of the display screen may be an operable region on a scroll structure of the scroll screen, a set region on the display screen, or the like. In order to avoid shielding the content displayed on the display screen in the process of controlling the rotation of the holder, the operable area on the scroll structure can be used as the preset area of the display screen. The first input may be a click operation, a long press operation, or the like performed on an operable region on the scroll structure. The specific content of the click operation can be referred to in the related description in step 102, and is not described herein again.
Under the condition that the user carries out first input to the predetermined region of display screen, cloud platform controlling means can obtain the first input position that first input corresponds in real time to according to the second cloud platform rotation accuracy of the cloud platform in the second direction that determines in above-mentioned step B2, determine the first rotation information that first input position corresponds in real time, and control the cloud platform in real time and rotate according to first rotation information.
Step C2, determining a first rotation angle and a first rotation direction associated with the first input position according to a first association relationship between the preset input position and the rotation angle and the rotation direction.
Wherein, the first association relationship is the mapping relationship in the step B23. Following the example shown in fig. 5(a) and 5(b), i.e., in the case where the stage is rotated downward by 0.2 ° along the Y axis for every 1% increase in the input position within the operable region, assuming that the first input position is 78%, the rotational direction of the head is the downward direction along the Y axis, and the rotational angle is-5.6 ° from 10 ° - (78 × 0.2 °).
And step C3, controlling the pan-tilt head to rotate according to the first rotation angle and the first rotation direction.
In this embodiment, when the user carries out the first input to the predetermined area of display screen, can acquire the first input position that first input corresponds to according to the first incidence relation between predetermined input position and turned angle and the rotation direction, confirm the first turned angle and the first rotation direction that first input position is relevant, and control the cloud platform and rotate according to first turned angle and first rotation direction, realized the accurate control effect to cloud platform pivoted.
In one embodiment, in response to the first input, controlling the rotational motion of the head in accordance with the first rotational information (i.e., step 104) may be performed as steps D1-D3, where the first rotational information may include the second rotational direction, the second rotational angle, and the first rotational speed.
And D1, acquiring the sliding direction, the sliding speed and the real-time input position of the sliding input under the condition that the first input comprises the sliding input in the preset area of the display screen.
For the same reason as that of step C1, in the present embodiment, the first input may be a slide input performed on an operable area on the reel structure. Under the condition that the user performs sliding input on the preset area of the display screen, the holder control device can acquire the sliding direction, the sliding speed and the real-time input position corresponding to the sliding input in real time, so that the step D2 is executed according to the second holder rotation precision of the holder determined in the step B2 in the second direction.
And D2, determining a second rotating direction according to the sliding direction, determining a first rotating speed according to the sliding speed, and determining a second rotating angle according to the real-time input position.
The cradle head control device can determine a second rotation direction of the cradle head in a second direction according to the sliding direction corresponding to the sliding input acquired in real time, wherein the second rotation direction is consistent with the sliding direction; and determining a first rotating speed of the holder in the second direction according to the sliding speed corresponding to the sliding input acquired in real time, wherein the first rotating speed is consistent with the sliding speed.
And determining a second rotation angle corresponding to the real-time input position according to the rotation precision of the second holder. By way of example in fig. 5(a) and 5(b), for each 1% increase in input position within the operable area, the stage is rotated down 0.2 ° along the Y axis, thereby determining a second angle of rotation for the real-time input position.
And D3, controlling the pan-tilt to rotate according to the second rotation angle, the second rotation direction and the first rotation speed.
In this embodiment, when the user slides the input to the preset area of display screen, through the slip direction, the slip speed and the real-time input position that acquire the slip input, thereby determine second direction of rotation, first rotational speed and second turned angle, and control the cloud platform and rotate according to second turned angle, second direction of rotation and first turned speed, realized the accurate control effect to cloud platform pivoted.
In one embodiment, in response to the first input, controlling the pan/tilt head to rotate according to the first rotation information (i.e., step 104) may be performed as steps E1-E3, the first rotation information including the third rotation direction and the third rotation angle.
And E1, acquiring the input information of the first input under the condition that the first input is the input of the preset area of the display screen, wherein the input information comprises the fingerprint information and the input time.
For the same reason as that of step C1, in the present embodiment, the first input may be an input performed to an operable area on the reel structure. Under the condition that a user inputs the preset area of the display screen, the holder control device can acquire the input fingerprint information and the input time.
In one embodiment, the rotational information of the cradle head corresponding to each fingerprint information at each input time may be stored in the cradle head control device in advance. For example, when the input time is 5 seconds, the right thumb fingerprint can be stored in advance, and the holder can be controlled to rotate 1 ° in the first direction towards the unfolding direction of the display screen and rotate 0.5 ° downwards in the second direction; when the input time of the fingerprint of the right thumb is 7 seconds, the holder can be controlled to rotate 1.2 degrees in the first direction towards the unfolding direction of the display screen and rotate 0.7 degrees downwards in the second direction; when the input time of the fingerprint of the index finger of the left hand is 2 seconds, the holder can be controlled to rotate 0.4 degrees in the first direction towards the unfolding direction of the display screen and rotate 0.2 degrees downwards in the second direction; and so on. The specific method can be determined according to actual use requirements, and the method is not limited in the embodiment of the application.
The same fingerprint information can control the rotation angles of the holder to rotate at different input times.
And step E2, determining a third rotating direction according to the fingerprint information, and determining a third rotating angle according to the input time.
And E3, controlling the pan-tilt head to rotate according to the third rotation direction and the third rotation angle.
In this embodiment, in combination with the embodiments of fig. 4(e) and 5(c), if the left thumb fingerprint is stored in the pan/tilt control device in advance for 5 seconds, the pan/tilt head can be controlled to rotate 6.72 ° in the first direction toward the display screen and rotate 15.6 ° downward in the second direction, since the first rotational angle of the pan/tilt head in the first direction is-8 ° to +4 ° and the second rotational angle in the second direction is-10 ° to +10 °, as shown in fig. 6, the pan/tilt head is currently rotated to-1.28 ° in the first direction (i.e., X: -1.28 ° shown in the figure) and rotated to-5.6 ° in the second direction (i.e., Y: -5.6 ° shown in the figure).
In this embodiment, when the user performs the first input to the preset area of the display screen, the third rotation direction is determined according to the fingerprint information by acquiring the fingerprint information and the input time of the first input, the third rotation angle is determined according to the input time, and the cradle head is controlled to rotate according to the third rotation direction and the third rotation angle, so that the accurate control effect on the rotation of the cradle head is realized.
Fig. 7 is a second schematic flowchart of a pan/tilt head control method according to an embodiment of the present application. In this embodiment, the pan-tilt control method is applied to a pan-tilt control device, a display screen of the pan-tilt control device is a scroll screen, the pan-tilt control device includes a pan-tilt and a camera, the camera is arranged on the pan-tilt, and the pan-tilt is used for driving the camera to rotate in a rotation process. As shown in fig. 7, the pan/tilt control method may include:
step 701, a first input of a user is received. Then step 702 or step 705 is performed.
Step 702, acquiring a first input position corresponding to a first input when the first input is an input to a preset area of a display screen.
Step 703, determining a first rotation angle and a first rotation direction associated with the first input position according to a first association relationship between the preset input position and the rotation angle and the rotation direction.
And 704, controlling the holder to rotate according to the first rotation angle and the first rotation direction.
In one embodiment, the first input may be a sliding input within a preset area of the display screen, and in case that the first input includes a sliding input within the preset area of the display screen, steps 702 to 704 may be performed as: the method comprises the steps of obtaining the sliding direction, the sliding speed and the real-time input position of sliding input, determining a second rotating direction according to the sliding direction, determining a first rotating speed according to the sliding speed, determining a second rotating angle according to the real-time input position, and controlling a cloud deck to rotate according to the second rotating angle, the second rotating direction and the first rotating speed.
In one embodiment, in case that the first input is an input to a preset area of the display screen, steps 702 to 704 may be performed as: and acquiring first input information, wherein the input information comprises fingerprint information and input time, determining a third rotating direction according to the fingerprint information, determining a third rotating angle according to the input time, and controlling the cradle head to rotate according to the third rotating direction and the third rotating angle.
Step 705, under the condition that the first input is the input for controlling the display screen to be unfolded or folded, controlling the holder to rotate according to the first rotation information according to the unfolding information or folding information of the display screen.
Wherein the deployment information may include at least one of a deployment proportion and a deployment speed, and the stowage information may include at least one of a stowage proportion and a stowage speed. The first rotation information is determined based on the first input, and the first rotation information may include at least one of a rotation direction, a rotation angle, and a rotation speed. The rotation angle is determined according to the expansion ratio or the retraction ratio, and the rotation speed is determined according to the expansion speed or the retraction speed.
The specific processes of steps 701 to 705 are described in detail in the above embodiments, and are not described herein again.
In the embodiment of the application, the pan-tilt control device receives a first input of a user, and controls the pan-tilt to rotate according to the first rotation information in response to the first input. Wherein the first rotation information is determined according to a first input, and the first input may include an input for controlling the display to be unfolded or folded, or an input for a preset area of the display. Therefore, in the technical scheme, under the condition that the first input is different, the control of the cradle head control device on the rotation of the cradle head is also different, so that the personalized control effect on the rotation of the cradle head can be realized according to the personalized input of a user; meanwhile, the holder control device responds to the first input, so that the holder can be controlled to rotate according to the corresponding rotation information, and the effect of accurately controlling the rotation of the holder is achieved.
According to the cloud platform control method provided by the embodiment of the application, the execution main body can be a cloud platform control device. In the embodiment of the present application, a pan/tilt control apparatus executing a pan/tilt control method is taken as an example, and the pan/tilt control apparatus provided in the embodiment of the present application is described.
Fig. 8 is a schematic structural diagram of a pan/tilt head control device provided in an embodiment of the present application. In this embodiment, cloud platform controlling means's display screen is the spool screen, and cloud platform controlling means includes cloud platform and camera, is provided with the camera on the cloud platform, please refer to fig. 8, and cloud platform controlling means can include:
a first receiving module 810 for receiving a first input of a user;
a control module 820, configured to control the cradle head to rotate according to the first rotation information in response to the first input;
the first input comprises input for controlling the display screen to be unfolded or folded, or input for a preset area of the display screen; the first rotation information is determined based on the first input.
In one embodiment, the control module 820 includes:
the first control unit is used for controlling the holder to rotate according to the first rotation information according to the expansion information or the retraction information of the display screen under the condition that the first input is the input for controlling the display screen to expand or retract;
wherein the deployment information comprises at least one of deployment proportion and deployment speed, and the stowage information comprises at least one of stowage proportion and stowage speed; the first rotation information includes at least one of a rotation direction, a rotation angle, and a rotation speed; the rotation angle is determined according to the expansion ratio or the retraction ratio, and the rotation speed is determined according to the expansion speed or the retraction speed.
In one embodiment, the control module 820 includes:
the display device comprises a first acquisition unit, a second acquisition unit and a display unit, wherein the first acquisition unit is used for acquiring a first input position corresponding to a first input under the condition that the first input is the input of a preset area of a display screen;
the first determining unit is used for determining a first rotating angle and a first rotating direction related to a first input position according to a first association relation between the preset input position and the rotating angle and rotating direction;
the second control unit is used for controlling the holder to rotate according to the first rotation angle and the first rotation direction;
wherein the first rotation information includes a first rotation direction and a first rotation angle.
In one embodiment, the control module 820 includes:
the second acquisition unit is used for acquiring the sliding direction, the sliding speed and the real-time input position of the sliding input under the condition that the first input comprises the sliding input in the preset area of the display screen;
the second determining unit is used for determining a second rotating direction according to the sliding direction, determining a first rotating speed according to the sliding speed and determining a second rotating angle according to the real-time input position;
the third control unit is used for controlling the cradle head to rotate according to the second rotation angle, the second rotation direction and the first rotation speed;
the first rotation information comprises a second rotation direction, a second rotation angle and a first rotation speed.
In one embodiment, the control module 820 includes:
the third acquisition unit is used for acquiring input information of the first input under the condition that the first input is input to a preset area of the display screen, wherein the input information comprises fingerprint information and input time;
a third determining unit configured to determine a third rotation direction according to the fingerprint information and determine a third rotation angle according to the input time;
the fourth control unit is used for controlling the holder to rotate according to a third rotating direction and a third rotating angle;
wherein the first rotation information includes a third rotation direction and a third rotation angle.
In one embodiment, the pan/tilt control apparatus further comprises:
the second receiving module is used for receiving a second input of the precision setting control by the user;
and the determining module is used for determining the rotational precision of the holder corresponding to the target input mode according to the second input.
In one embodiment, the target input mode comprises a first input mode and a second input mode, the first input mode is an input mode for controlling the display screen to be unfolded or folded, and the second input mode is an input mode for a preset area of the display screen;
the determining module comprises:
a fourth determining unit, configured to determine, according to a first angle control range corresponding to the second input, a first pan-tilt rotation precision corresponding to the first input mode when the second input is an input to the first precision setting control, where the first precision setting control is a control corresponding to the first input mode;
and the fifth determining unit is used for determining the rotation precision of the second holder corresponding to the second input mode according to the second angle control range corresponding to the second input under the condition that the second input is the input of the second precision setting control, and the second precision setting control is the control corresponding to the second input mode.
In the embodiment of the application, the pan-tilt control device receives a first input of a user, and controls the pan-tilt to rotate according to the first rotation information in response to the first input. Wherein the first rotation information is determined according to a first input, and the first input may include an input for controlling the display to be unfolded or folded, or an input for a preset area of the display. Therefore, under the condition that the first input is different, the control of the cradle head control device on the rotation of the cradle head is also different, so that the personalized control effect on the rotation of the cradle head can be realized according to the personalized input of the user; meanwhile, the holder control device responds to the first input, so that the holder can be controlled to rotate according to the corresponding rotation information, and the effect of accurately controlling the rotation of the holder is achieved.
The pan/tilt/zoom control device in the embodiment of the present application may be an electronic device, or may be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The photographing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The shooting device provided in the embodiment of the present application can implement each process implemented in the embodiments of the pan/tilt control method shown in fig. 1 to 7, and is not described here again in order to avoid repetition.
Optionally, as shown in fig. 9, an electronic device 900 is further provided in this embodiment of the present application, and includes a processor 901 and a memory 902, where the memory 902 stores a program or an instruction that can be executed on the processor 901, and when the program or the instruction is executed by the processor 901, the steps of the foregoing embodiment of the pan-tilt control method are implemented, and the same technical effects can be achieved, and are not described again here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the terminal described above and other devices except the terminal.
Fig. 10 is a hardware structure diagram of an electronic device provided in an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, processor 1010, pan/tilt head 1011, and camera 1012.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 10 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The user input unit 1007 is used for receiving a first input of a user;
a processor 1010, configured to control the cradle head to rotate according to the first rotation information in response to the first input; the first input comprises input for controlling the display screen to be unfolded or folded, or input for a preset area of the display screen; the first rotation information is determined based on the first input.
Optionally, the processor 1010 is further configured to, when the first input is an input for controlling the display screen to be unfolded or folded, control the pan/tilt head to rotate according to the first rotation information according to the unfolding information or folding information of the display screen; wherein the deployment information comprises at least one of deployment proportion and deployment speed, and the stowage information comprises at least one of stowage proportion and stowage speed; the first rotation information includes at least one of a rotation direction, a rotation angle, and a rotation speed; the rotation angle is determined according to the expansion ratio or the retraction ratio, and the rotation speed is determined according to the expansion speed or the retraction speed.
Optionally, the processor 1010 is further configured to, when the first input is an input to a preset area of the display screen, obtain a first input position corresponding to the first input; determining a first rotation angle and a first rotation direction associated with a first input position according to a first association relation between the preset input position and a rotation angle and a rotation direction; controlling the holder to rotate according to a first rotation angle and a first rotation direction; wherein the first rotation information includes a first rotation direction and a first rotation angle.
Optionally, the processor 1010 is further configured to, in a case that the first input includes a slide input to a preset area of the display screen, acquire a slide direction, a slide speed, and a real-time input position of the slide input; determining a second rotating direction according to the sliding direction, determining a first rotating speed according to the sliding speed, and determining a second rotating angle according to the real-time input position; controlling the cradle head to rotate according to a second rotation angle, a second rotation direction and a first rotation speed; the first rotation information comprises a second rotation direction, a second rotation angle and a first rotation speed.
Optionally, the processor 1010 is further configured to, in a case that the first input is an input to a preset area of the display screen, acquire input information of the first input, where the input information includes fingerprint information and input time; determining a third rotation direction according to the fingerprint information, and determining a third rotation angle according to the input time; controlling the cradle head to rotate according to a third rotation direction and a third rotation angle; wherein the first rotation information includes a third rotation direction and a third rotation angle.
Optionally, the user input unit 1007 is further configured to receive a second input of the precision setting control from the user;
and the processor 1010 is further configured to determine, according to the second input, the rotational accuracy of the pan/tilt head corresponding to the target input mode.
Optionally, the target input mode includes a first input mode and a second input mode, the first input mode is an input mode for controlling the display screen to be unfolded or folded, and the second input mode is an input mode for a preset area of the display screen;
the processor 1010 is further configured to determine, according to a first angle control range corresponding to the second input, a first pan-tilt rotation precision corresponding to the first input mode when the second input is an input to the first precision setting control, where the first precision setting control is a control corresponding to the first input mode; and under the condition that the second input is input to the second precision setting control, determining the rotation precision of the second holder corresponding to the second input mode according to a second angle control range corresponding to the second input, wherein the second precision setting control is the control corresponding to the second input mode.
In the embodiment of the application, the pan-tilt control device receives a first input of a user, and controls the pan-tilt to rotate according to the first rotation information in response to the first input. Wherein the first rotation information is determined according to a first input, and the first input may include an input for controlling the display to be unfolded or folded, or an input for a preset area of the display. Therefore, under the condition that the first input is different, the control of the holder control device on the rotation of the holder is also different, so that the personalized control effect on the rotation of the holder can be realized according to the personalized input of the user; meanwhile, the holder control device responds to the first input, so that the holder can be controlled to rotate according to the corresponding rotation information, and the effect of accurately controlling the rotation of the holder is achieved.
It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, and the Graphics Processing Unit 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072. The touch panel 10071, also referred to as a touch screen, can be a reel screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 1009 may be used to store software programs as well as various data. The memory 1009 may mainly include a first storage area storing a program or an instruction and a second storage area storing data, wherein the first storage area may store an operating system, an application program or an instruction (such as a sound playing function, an image playing function, and the like) required for at least one function, and the like. Further, the memory 1009 may include volatile memory or nonvolatile memory, or the memory 1009 may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 1009 in the embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor, which primarily handles operations involving the operating system, user interface, and applications, and a modem processor, which primarily handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The pan-tilt 1011 is provided with a camera 1012.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the processes of the embodiment of the pan/tilt control method are implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read only memory ROM, a random access memory RAM, a magnetic or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, so as to implement each process of the foregoing embodiment of the pan/tilt control method, and achieve the same technical effect, and the details are not repeated here in order to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the foregoing pan/tilt control method embodiments, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (15)

1. The utility model provides a cloud platform control method, is applied to cloud platform controlling means, cloud platform controlling means's display screen is the spool screen, cloud platform controlling means includes cloud platform and camera, be provided with the camera on the cloud platform, its characterized in that, the method includes:
receiving a first input of a user;
responding to the first input, and controlling the holder to rotate according to first rotation information;
the first input comprises input for controlling the display screen to be unfolded or folded, or input for a preset area of the display screen; the first rotation information is determined from the first input.
2. The method of claim 1, wherein said controlling said pan/tilt head to rotate according to first rotation information in response to said first input comprises:
under the condition that the first input is the input for controlling the display screen to be unfolded or folded, controlling the holder to rotate according to the first rotation information according to the unfolding information or the folding information of the display screen;
wherein the deployment information comprises at least one of a deployment proportion and a deployment speed, and the stowage information comprises at least one of a stowage proportion and a stowage speed; the first rotation information includes at least one of a rotation direction, a rotation angle, and a rotation speed; the rotation angle is determined according to the unfolding ratio or the folding ratio, and the rotation speed is determined according to the unfolding speed or the folding speed.
3. The method of claim 1, wherein said controlling said pan/tilt head to rotate according to first rotation information in response to said first input comprises:
acquiring a first input position corresponding to the first input under the condition that the first input is input to a preset area of the display screen;
determining a first rotation angle and a first rotation direction associated with a first input position according to a first association relation between the preset input position and a rotation angle and a rotation direction;
controlling the holder to rotate according to the first rotating angle and the first rotating direction;
wherein the first rotation information includes the first rotation direction and the first rotation angle.
4. The method of claim 1, wherein said controlling said pan/tilt head to rotate according to first rotation information in response to said first input comprises:
under the condition that the first input comprises a sliding input in a preset area of the display screen, acquiring the sliding direction, the sliding speed and a real-time input position of the sliding input;
determining a second rotating direction according to the sliding direction, determining a first rotating speed according to the sliding speed, and determining a second rotating angle according to the real-time input position;
controlling the cradle head to rotate according to the second rotation angle, the second rotation direction and the first rotation speed;
wherein the first rotation information includes the second rotation direction, the second rotation angle, and the first rotation speed.
5. The method of claim 1, wherein said controlling said pan/tilt head to rotate according to first rotation information in response to said first input comprises:
under the condition that the first input is input to a preset area of the display screen, acquiring input information of the first input, wherein the input information comprises fingerprint information and input time;
determining a third rotation direction according to the fingerprint information, and determining a third rotation angle according to the input time;
controlling the cradle head to rotate according to the third rotating direction and the third rotating angle;
wherein the first rotation information includes the third rotation direction and the third rotation angle.
6. The method of claim 1, wherein prior to receiving the first input from the user, further comprising:
receiving a second input of the precision setting control by the user;
and determining the rotational precision of the holder corresponding to the target input mode according to the second input.
7. The method according to claim 6, wherein the target input mode comprises a first input mode and a second input mode, the first input mode is an input mode for controlling the display screen to be unfolded or folded, and the second input mode is an input mode for a preset area of the display screen;
the determining the rotational precision of the holder corresponding to the target input mode according to the second input includes:
under the condition that the second input is input to a first precision setting control, determining the rotation precision of the first holder corresponding to the first input mode according to a first angle control range corresponding to the second input, wherein the first precision setting control is the control corresponding to the first input mode;
and under the condition that the second input is input to a second precision setting control, determining the rotation precision of the second holder corresponding to the second input mode according to a second angle control range corresponding to the second input, wherein the second precision setting control is the control corresponding to the second input mode.
8. The utility model provides a cloud platform controlling means, cloud platform controlling means's display screen is the spool screen, cloud platform controlling means includes cloud platform and camera, be provided with the camera on the cloud platform, its characterized in that, the device includes:
the first receiving module is used for receiving a first input of a user;
the control module is used for responding to the first input and controlling the holder to rotate according to first rotation information;
the first input comprises input for controlling the display screen to be unfolded or folded, or input for a preset area of the display screen; the first rotation information is determined from the first input.
9. The apparatus of claim 8, wherein the control module comprises:
the first control unit is used for controlling the cradle head to rotate according to the first rotation information according to the expansion information or the retraction information of the display screen under the condition that the first input is the input for controlling the display screen to expand or retract;
wherein the deployment information comprises at least one of a deployment proportion and a deployment speed, and the stowage information comprises at least one of a stowage proportion and a stowage speed; the first rotation information includes at least one of a rotation direction, a rotation angle, and a rotation speed; the rotation angle is determined according to the unfolding ratio or the folding ratio, and the rotation speed is determined according to the unfolding speed or the folding speed.
10. The apparatus of claim 8, wherein the control module comprises:
the display device comprises a first acquisition unit, a second acquisition unit and a display unit, wherein the first acquisition unit is used for acquiring a first input position corresponding to a first input under the condition that the first input is an input to a preset area of the display screen;
the first determining unit is used for determining a first rotating angle and a first rotating direction related to a first input position according to a first association relation between the preset input position and a rotating angle and a rotating direction;
the second control unit is used for controlling the holder to rotate according to the first rotating angle and the first rotating direction;
wherein the first rotation information includes the first rotation direction and the first rotation angle.
11. The apparatus of claim 8, wherein the control module comprises:
the second acquisition unit is used for acquiring the sliding direction, the sliding speed and the real-time input position of the sliding input under the condition that the first input comprises the sliding input in the preset area of the display screen;
the second determining unit is used for determining a second rotating direction according to the sliding direction, determining a first rotating speed according to the sliding speed and determining a second rotating angle according to the real-time input position;
a third control unit, configured to control the pan/tilt head to rotate according to the second rotation angle, the second rotation direction, and the first rotation speed;
wherein the first rotation information includes the second rotation direction, the second rotation angle, and the first rotation speed.
12. The apparatus of claim 8, wherein the control module comprises:
the third acquisition unit is used for acquiring input information of the first input under the condition that the first input is input to a preset area of the display screen, wherein the input information comprises fingerprint information and input time;
the third determining unit is used for determining a third rotating direction according to the fingerprint information and determining a third rotating angle according to the input time;
the fourth control unit is used for controlling the holder to rotate according to the third rotating direction and the third rotating angle;
wherein the first rotation information includes the third rotation direction and the third rotation angle.
13. The apparatus of claim 8, further comprising:
the second receiving module is used for receiving a second input of the precision setting control by the user;
and the determining module is used for determining the rotational precision of the holder corresponding to the target input mode according to the second input.
14. The device of claim 13, wherein the target input mode comprises a first input mode and a second input mode, the first input mode is an input mode for controlling the display screen to be unfolded or folded, and the second input mode is an input mode for a preset area of the display screen;
the determining module comprises:
a fourth determining unit, configured to determine, according to a first angle control range corresponding to a second input when the second input is an input to a first precision setting control, a first pan-tilt rotation precision corresponding to the first input mode, where the first precision setting control is a control corresponding to the first input mode;
and a fifth determining unit, configured to determine, according to a second angle control range corresponding to the second input, a second pan-tilt rotation precision corresponding to the second input mode when the second input is an input to a second precision setting control, where the second precision setting control is a control corresponding to the second input mode.
15. An electronic device, characterized by comprising a processor and a memory, said memory storing a program or instructions executable on said processor, said program or instructions, when executed by said processor, implementing the steps of a pan-tilt control method according to any one of claims 1-7.
CN202111573507.2A 2021-12-21 2021-12-21 Holder control method, holder control device and electronic equipment Pending CN114245014A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111573507.2A CN114245014A (en) 2021-12-21 2021-12-21 Holder control method, holder control device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111573507.2A CN114245014A (en) 2021-12-21 2021-12-21 Holder control method, holder control device and electronic equipment

Publications (1)

Publication Number Publication Date
CN114245014A true CN114245014A (en) 2022-03-25

Family

ID=80760554

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111573507.2A Pending CN114245014A (en) 2021-12-21 2021-12-21 Holder control method, holder control device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114245014A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486551A (en) * 2014-12-24 2015-04-01 上海摩软通讯技术有限公司 Mobile terminal and pan-shot method thereof
CN105376404A (en) * 2015-10-23 2016-03-02 努比亚技术有限公司 Terminal, and device and method for adjusting camera parameter of terminal via fingerprint
CN106713660A (en) * 2017-01-20 2017-05-24 维沃移动通信有限公司 Panoramic selfie taking method and mobile terminal
CN110445981A (en) * 2019-08-12 2019-11-12 珠海格力电器股份有限公司 A kind of panorama shooting method, mobile terminal and computer readable storage medium
US20200084386A1 (en) * 2017-03-16 2020-03-12 Hangzhou Hikvision Digital Technology Co., Ltd. Pan-tilt control method, device and system
CN111083370A (en) * 2019-12-26 2020-04-28 维沃移动通信有限公司 Panoramic image shooting method and electronic equipment
CN112653843A (en) * 2020-12-24 2021-04-13 维沃移动通信有限公司 Shooting method and device based on holder and electronic equipment
CN112672050A (en) * 2020-12-24 2021-04-16 维沃移动通信有限公司 Shooting method and device based on holder and electronic equipment
CN112732151A (en) * 2021-01-25 2021-04-30 珠海格力电器股份有限公司 Control adjusting method and device, terminal equipment and storage medium
WO2021251679A1 (en) * 2020-06-12 2021-12-16 삼성전자 주식회사 Electronic device comprising flexible display and camera module

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486551A (en) * 2014-12-24 2015-04-01 上海摩软通讯技术有限公司 Mobile terminal and pan-shot method thereof
CN105376404A (en) * 2015-10-23 2016-03-02 努比亚技术有限公司 Terminal, and device and method for adjusting camera parameter of terminal via fingerprint
CN106713660A (en) * 2017-01-20 2017-05-24 维沃移动通信有限公司 Panoramic selfie taking method and mobile terminal
US20200084386A1 (en) * 2017-03-16 2020-03-12 Hangzhou Hikvision Digital Technology Co., Ltd. Pan-tilt control method, device and system
CN110445981A (en) * 2019-08-12 2019-11-12 珠海格力电器股份有限公司 A kind of panorama shooting method, mobile terminal and computer readable storage medium
CN111083370A (en) * 2019-12-26 2020-04-28 维沃移动通信有限公司 Panoramic image shooting method and electronic equipment
WO2021251679A1 (en) * 2020-06-12 2021-12-16 삼성전자 주식회사 Electronic device comprising flexible display and camera module
CN112653843A (en) * 2020-12-24 2021-04-13 维沃移动通信有限公司 Shooting method and device based on holder and electronic equipment
CN112672050A (en) * 2020-12-24 2021-04-16 维沃移动通信有限公司 Shooting method and device based on holder and electronic equipment
CN112732151A (en) * 2021-01-25 2021-04-30 珠海格力电器股份有限公司 Control adjusting method and device, terminal equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
苏志斌;安宇洁;李真;任慧;: "舞台视频监控系统云台控制方法的研究", 中国传媒大学学报(自然科学版), no. 05, 30 October 2016 (2016-10-30) *

Similar Documents

Publication Publication Date Title
US20140118483A1 (en) Smart targets facilitating the capture of contiguous images
US20170262162A1 (en) Method and electronic device for processing terminal folder
CN112637507B (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN112770058B (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN112714253B (en) Video recording method and device, electronic equipment and readable storage medium
CN109947320A (en) Image display method and device, electronic equipment and storage medium
CN113873148A (en) Video recording method, video recording device, electronic equipment and readable storage medium
CN114518822A (en) Application icon management method and device and electronic equipment
CN114415886A (en) Application icon management method and electronic equipment
CN111885298B (en) Image processing method and device
CN113407280A (en) Display method and device and electronic equipment
CN112685119A (en) Display control method and device and electronic equipment
CN114245014A (en) Holder control method, holder control device and electronic equipment
CN114025237B (en) Video generation method and device and electronic equipment
CN114584704A (en) Shooting method and device and electronic equipment
CN114564921A (en) Document editing method and device
CN114245017A (en) Shooting method and device and electronic equipment
CN112954197A (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN112788239A (en) Shooting method and device and electronic equipment
CN112689088A (en) Image display method and device and electronic equipment
CN114979488A (en) Shooting method and device and electronic equipment
CN112492206B (en) Image processing method and device and electronic equipment
CN114500852B (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN114866694A (en) Photographing method and photographing apparatus
CN115209056A (en) Shooting method, shooting device, electronic equipment and storage medium

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