PTZ control method, PTZ control device and electronic equipment

Through the PTZ control method and device, the scroll screen is used to receive user input, thereby realizing personalized and precise control of the PTZ and camera, solving the problem of poor shooting effects in the existing technology, and improving the stability and accuracy of shooting.

CN114245014BActive Publication Date: 2024-09-27VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111573507.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-21
Publication Date
2024-09-27
Estimated Expiration
2041-12-21

AI Technical Summary

Technical Problem

In the existing technology, shooting different scenes requires the user to hold the electronic device to move, resulting in poor shooting effects, and relies on human hand movements, making it difficult to achieve precise control.

Method used

Provide a PTZ control method and device that utilizes a scroll screen display to receive user input, controls the PTZ rotation based on the input, and achieves personalized and precise PTZ control, including receiving user input, determining rotation information, and controlling the PTZ and the camera pans.

Benefits of technology

It achieves personalized and precise control of the gimbal, reduces reliance on human hand movements, improves shooting effects, can chase target objects and shoot different scenes, and reduces target jitter on the display screen.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114245014B
    Figure CN114245014B
Patent Text Reader

Abstract

The present application discloses a pan-tilt control method, a pan-tilt control device and an electronic device, belonging to the technical field of electronic devices. The pan-tilt control method is applied to the pan-tilt control device, the 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 a camera; the method includes: receiving a first input from a user; in response to the first input, controlling the pan-tilt to rotate according to first rotation information; wherein the first input includes an input for controlling the display screen to be unfolded or retracted, or an input for a preset area of ​​the display screen; the first rotation information is determined according to the first input.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of electronic equipment, and specifically relates to a pan-tilt control method, a pan-tilt control device and electronic equipment. Background Art

[0002] At present, in order to shoot different scenes, users usually need to hold and move the electronic device so that the camera of the electronic device moves based on the location of the shooting object, thereby shooting different scenes. Obviously, this shooting method mainly relies on the hand movements of people, so the shooting effect is poor. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a gimbal control method, a gimbal control device and an electronic device, which can control the rotation of the gimbal in a personalized and precise manner.

[0004] 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, wherein the 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 a camera; the method includes:

[0005] receiving a first input from a user;

[0006] In response to the first input, controlling the pan / tilt platform to rotate according to first rotation information;

[0007] The first input includes an input for controlling the display screen to be expanded or collapsed, or an input for a preset area of ​​the display screen; and the first rotation information is determined according to the first input.

[0008] In a second aspect, an embodiment of the present application provides a pan-tilt control device, wherein the display screen of the pan-tilt control device is a scroll screen, the pan-tilt control device comprises a pan-tilt and a camera, and the pan-tilt is provided with a camera; the device comprises:

[0009] A first receiving module, used to receive a first input from a user;

[0010] A control module, configured to control the pan / tilt platform to rotate according to first rotation information in response to the first input;

[0011] The first input includes an input for controlling the display screen to be expanded or collapsed, or an input for a preset area of ​​the display screen; and the first rotation information is determined according to the first input.

[0012] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the gimbal control method described in the first aspect are implemented.

[0013] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the gimbal control method described in the first aspect are implemented.

[0014] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the steps of the gimbal control method as described in the first aspect.

[0015] In a sixth aspect, an embodiment of 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-tilt control method as described in the first aspect.

[0016] In an embodiment of the present application, the gimbal control device receives a first input from a user, and in response to the first input, controls the gimbal to rotate according to the first rotation information. The first rotation information is determined based on the first input, and the first input may include an input for controlling the display screen to expand or collapse, or an input for a preset area of ​​the display screen. It can be seen that in the technical solution, the gimbal control device controls the gimbal rotation differently when the first input is different. Therefore, according to the user's personalized input, a personalized control effect of the gimbal rotation can be achieved; at the same time, because the gimbal control device responds to the first input, it can control the gimbal to rotate according to the corresponding rotation information, thereby achieving precise control of the gimbal rotation. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 This is one of the schematic flow charts of the pan / tilt control method provided in the embodiments of the present application.

[0018] Figure 2 It is a schematic diagram of a mobile phone with a scroll screen provided in an embodiment of the present application.

[0019] Figure 3 This is one of the interface schematic diagrams of the shooting interface provided in the embodiment of the present application.

[0020] FIG. 4( a ) is a schematic diagram of a display interface of a precision setting control provided in an embodiment of the present application.

[0021] FIG. 4( b ) is a second schematic diagram of the shooting interface provided in an embodiment of the present application.

[0022] FIG. 4( c ) is a third interface schematic diagram of the shooting interface provided in an embodiment of the present application.

[0023] FIG. 4( d ) is a fourth interface schematic diagram of the shooting interface provided in an embodiment of the present application.

[0024] FIG. 4( e ) is a fifth interface schematic diagram of the shooting interface provided in an embodiment of the present application.

[0025] FIG4( f ) is a sixth schematic diagram of the shooting interface provided in an embodiment of the present application.

[0026] FIG. 5( a ) is the seventh interface schematic diagram of the shooting interface provided in the embodiment of the present application.

[0027] FIG5( b ) is an eighth schematic diagram of the shooting interface provided in an embodiment of the present application.

[0028] FIG5( c ) is a ninth interface schematic diagram of the shooting interface provided in an embodiment of the present application.

[0029] Figure 6 This is the tenth interface schematic diagram of the shooting interface provided in the embodiment of the present application.

[0030] Figure 7 This is the second schematic flow chart of the pan / tilt control method provided in the embodiment of the present application.

[0031] Figure 8 It is a structural schematic diagram of the pan / tilt control device provided in an embodiment of the present application.

[0032] Fig. 9 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0033] Fig.10 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0034] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0035] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0036] The following is a detailed description of the pan / tilt control method provided in the embodiment of the present application through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0037] Figure 1 This is one of the schematic flow charts of the pan-tilt control method provided in the embodiment of the present application. In this embodiment, the pan-tilt control method is applied to a pan-tilt control device, the 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 pan-tilt is provided with a camera, and the pan-tilt is used to drive the camera to rotate during the rotation process. Figure 1 As shown, the PTZ control method may include:

[0038] Step 102: Receive a first input from a user.

[0039] Among them, the first input includes an input for controlling the expansion or retraction of the display screen, or an input to a preset area of ​​the display screen. In the case where the first input is an input for controlling the expansion or retraction of the display screen, the first input may be a stretching operation on the scroll structure of the scroll screen, or a click operation, voice command or preset gesture on a virtual button on the scroll screen for controlling the expansion or retraction of the display screen, or a click operation, long press operation, etc. on a physical button on the gimbal control device for controlling the expansion or retraction of the display screen, which may be determined based on actual usage requirements, and the embodiments of the present application do not limit this. The click operation in the embodiments of the present application may be a single-click operation, a double-click operation, or any number of click operations, etc.; the preset gesture may be any one of a single-click gesture and a double-click gesture.

[0040] In the case where the first input is an input to a preset area of ​​the display screen, the first input may be a click operation, a sliding input, a long press operation, etc. on the scroll structure of the scroll screen, which may be determined according to actual use requirements, and the present application embodiment does not limit this. The specific content of the click operation can be found in the above description, and will not be repeated here.

[0041] Step 104 , in response to the first input, controlling the pan / tilt head to rotate according to the first rotation information.

[0042] The first rotation information is determined according to the first input. The first rotation information may include at least one of a rotation direction, a rotation angle, and a rotation speed.

[0043] In an embodiment of the present application, the gimbal control device receives a first input from a user, and in response to the first input, controls the gimbal to rotate according to the first rotation information. The first rotation information is determined based on the first input, and the first input may include an input for controlling the display screen to expand or collapse, or an input for a preset area of ​​the display screen. It can be seen that in the technical solution, the gimbal control device controls the gimbal rotation differently when the first input is different. Therefore, according to the user's personalized input, a personalized control effect of the gimbal rotation can be achieved; at the same time, because the gimbal control device responds to the first input, it can control the gimbal to rotate according to the corresponding rotation information, thereby achieving a precise control effect of the gimbal rotation.

[0044] In one embodiment, the pan-tilt control method provided in the embodiment of the present application can meet the user's needs for tracking the target object displayed on the display screen, and meet the user's needs for shooting different scenes. Among them, the pan-tilt control device controls the pan-tilt to rotate according to the corresponding rotation information in response to the user's input to control the display screen to expand or retract, or the user's input to the preset area of ​​the display screen, so as to drive the camera set on the pan-tilt to rotate, thereby achieving the effect of tracking the target object displayed on the display screen, and at the same time, it can achieve shooting of different scenes, meeting the user's shooting needs, and because it is not necessary to move the pan-tilt control device to achieve tracking and shooting of different scenes, it avoids the shaking of the target object displayed on the display screen, and reduces the dependence on the hand movements of the person, so that the shooting effect is better.

[0045] The following takes a mobile phone as an example of a pan-tilt control device to describe in detail the pan-tilt control method provided in the embodiment of the present application. Figure 2 is a schematic diagram of a mobile phone with a scroll screen provided in an embodiment of the present application, such as Figure 2 As shown, 230 is the scroll structure of the scroll screen, 240 is the display screen that can be unfolded or retracted, and by the user manually stretching or retracting the scroll structure 230, 240 can be unfolded or retracted in the direction indicated by 250. The direction pointing to the scroll structure 230 is the unfolding direction of 240, and the direction pointing to 210 is the retracting direction of 240. When 240 is fully retracted, the display area of ​​the display screen is shown as 210; when 240 is unfolded, the display area of ​​the display screen is shown as 220.

[0046] It should be noted that the working principle of the scroll structure 230 is similar to that of a steel tape measure. When the user manually stretches the scroll structure 230, 240 is unfolded; when the user manually retracts the scroll structure 230, 240 is retracted into the scroll structure 230. In the embodiment of the present application, 240 is used to display preset content or not display content (i.e., a black screen), and 210 is a display screen that displays normally.

[0047] In one embodiment, before receiving the first input from the user (i.e., executing step 102), the following steps A1-A2 may be executed first:

[0048] Step A1, receiving a second input from the user on the precision setting control.

[0049] Before executing step A1, the gimbal control device may display the shooting interface on the display screen in response to the third input of the user on the display screen. Thus, in response to the fourth input of the user on the designated virtual key on the shooting interface, or in response to the fourth input of the user on the designated physical key on the gimbal control device when the display screen of the gimbal control device displays the shooting interface, the accuracy setting control is displayed on the display screen.

[0050] The third input is used to open the shooting interface. Optionally, the third input is a click operation, voice command or preset gesture on the application for shooting on the display screen, which can be determined according to actual usage requirements and is not limited in this embodiment of the present application. The specific contents of the click operation and preset gesture can be found in the relevant description of the first input, which will not be repeated here. Figure 3 As shown, a shooting interface is schematically displayed on the display screen of a mobile phone, and a target object is schematically displayed in the shooting interface. 210 is a display area of ​​the display screen, 230 is a scroll structure of the scroll screen, and 310 is a target object, i.e., an object selected by the user in the shooting interface and desired to be photographed, such as a scene, object, person, animal, etc. Figure 3 The target object 310 is shown as a tree.

[0051] Among them, the fourth input is used to open the precision setting control. Optionally, the fourth input is a click operation, voice command or preset gesture performed on a designated virtual button on the shooting interface, or the fourth input is a click operation, long press operation, etc. of a designated physical button on the gimbal control device by the user when the shooting interface is displayed on the display screen of the gimbal control device. The specific operation can be determined according to actual usage requirements, and the embodiments of the present application are not limited to this. The specific content of the click operation and preset gesture can be found in the relevant description of the first input, which will not be repeated here. Figure 3 As shown, the designated virtual key 320 is schematically displayed on the shooting interface. In actual application, the display position of the designated virtual key 320 includes but is not limited to Figure 3 Display location shown.

[0052] Step A2: determining the pan / tilt rotation accuracy corresponding to the target input mode according to the second input.

[0053] In this embodiment, by receiving the second input of the user to the accuracy setting control, the gimbal rotation accuracy corresponding to the target input method is determined according to the second input, thereby achieving the effect of determining the gimbal rotation accuracy according to the user's input, thereby better meeting the user's personalized needs for gimbal rotation accuracy.

[0054] In one embodiment, the target input method may include a first input method and a second input method, the first input method is an input method for controlling the expansion or collapse of the display screen, and the second input method is an input method for a preset area of ​​the display screen.

[0055] In this embodiment, the precision setting control may include a first precision setting control and a second precision setting control. The above step A2 may be specifically implemented as the following steps B1 and B2:

[0056] Step B1, when the second input is an input to a first precision setting control, determine a first pan / tilt rotation precision corresponding to the first input mode according to a first angle control range corresponding to the second input.

[0057] Among them, the first precision setting control is a control corresponding to the first input method. Optionally, the second input can be a click operation, voice command or preset gesture on the first precision setting control, which can be determined according to actual usage requirements, and the embodiment of the present application does not limit this. The specific content of the click operation and the preset gesture can be found in the relevant description of the first input, which will not be repeated here.

[0058] In one embodiment, during the process of the user controlling the display screen to expand or retract, the pan-tilt control device can determine the expansion ratio or retraction ratio of the current display screen in real time. In practical applications, the expansion ratio and retraction ratio of the display screen can be set to 0%-100%. It should be understood that the expansion ratio and retraction ratio of the display screen are a set of complementary parameters, and the sum of the expansion ratio and the retraction ratio is 100%. Assuming that the expansion ratio of a display screen is 80%, then the retraction ratio of the display screen is 20%. In practical applications, the pan-tilt control device can determine the expansion ratio or retraction ratio of the current display screen according to the input of the current user controlling the display screen to expand or retract; or, for a pan-tilt control device that can only determine the expansion ratio (or retraction ratio) of the display screen, it can determine the expansion ratio (or retraction ratio) of the current display screen according to the input of the current user controlling the display screen to expand or retract.

[0059] For example, the PTZ control device can only determine the expansion ratio of the display screen according to the current user input of controlling the display screen to expand or retract, and step B1 can be specifically executed as follows:

[0060] Step B11, according to the second input of the user to the first precision setting control, determining a first angle control range of the gimbal in the direction in which the display screen is unfolded or retracted (hereinafter referred to as the "first direction" for ease of description).

[0061] Optionally, 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 evenly arranged scales, each scale representing the angle control range of the pan / tilt in the first direction (generally a percentage, such as 0%-100%). For example, 5 scales are evenly arranged on the first precision setting control, then each scale represents the angle control range of the pan / tilt in the first direction as 0%, 25%, 50%, 75%, and 100%, respectively. For another example, 11 scales are evenly arranged on the first precision setting control, then each scale represents the angle control range of the pan / tilt in the first direction as 0%, 10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90%, and 100%, respectively.

[0062] As shown in FIG4(a), an X-axis control 410 is schematically shown, which has 11 scales evenly arranged from left to right, 411 is the left boundary of the angle control range (i.e., the left boundary of the angle that the gimbal can rotate in the first direction), and 412 is the right boundary of the angle control range (i.e., the right boundary of the angle that the gimbal can rotate in the first direction).

[0063] For example, when the second input is a click operation on each scale on the first precision setting control, as shown in FIG4(a) and FIG4(b), the second input performed by the user on the second scale (angle control range is 10%) and the eighth scale (angle control range is 70%) from left to right on the first precision setting control is schematically shown. According to the second input, it can be determined that the first angle control range of the gimbal in the first direction is 10%-70%.

[0064] In addition, if the second input of the user to the first precision setting control is not received, the first angle control range of the gimbal in the first direction is a default value, generally 0%-100%.

[0065] Step B12, determining a first rotatable angle of the pan / tilt platform in the first direction according to the first angle control range and the maximum rotatable angle range of the pan / tilt platform in the first direction.

[0066] Generally, during the manufacturing process of the pan / tilt control device, the maximum range of the pan / tilt rotatable angle in the first direction is set. In this embodiment, the rotatable angle corresponding to each angle control range can be determined by combining the number of scales evenly set on the first precision setting control in the pan / tilt control device.

[0067] For example, the maximum range of the rotatable angle of the gimbal in the first direction is -10° to +10°, and 11 scales are evenly arranged on the first precision setting control (wherein, from left to right, they increase from 0% to 100%, and each 10% corresponds to a scale). Then, it can be determined that: when the angle control range is 0%, the corresponding rotatable angle is -10°; when the angle control range is 10%, the corresponding rotatable angle is -8°; when the angle control range is 20%, the corresponding rotatable angle is -6°; when the angle control range is 30%, the corresponding rotatable angle is -6°. When the angle control range is 40%, the corresponding rotatable angle is -2°; when the angle control range is 50%, the corresponding rotatable angle is 0°; when the angle control range is 60%, the corresponding rotatable angle is +2°; when the angle control range is 70%, the corresponding rotatable angle is +4°; when the angle control range is 80%, the corresponding rotatable angle is +6°; when the angle control range is 90%, the corresponding rotatable angle is +8°; when the angle control range is 100%, the corresponding rotatable angle is +10°.

[0068] Assuming that the maximum range of the rotatable angle of the gimbal in the first direction is -10° to +10°, then, according to Figure 4(a) and Figure 4(b), the first rotatable angle of the gimbal 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 gimbal in the first direction is the default value, generally 0%-100%. According to the above assumption, the first rotatable angle of the gimbal in the first direction is -10° to +10°.

[0069] Step B13, determining a first pan / tilt rotation accuracy in a first direction according to a mapping relationship between the first rotatable angle and the expansion ratio of the display screen, that is, a pan / tilt rotation angle corresponding to a unit expansion ratio of the display screen.

[0070] The gimbal control device can obtain the first rotatable angle of the gimbal in the first direction, and establish a mapping relationship between the expansion ratio of the display screen [0%, 100%] and the first rotatable angle [R, L]. 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 fully expanded is 100%, and the expansion ratio of the display screen when fully retracted is 0%. It should be understood that the expansion ratio of the display screen changes from 0% to 100%, and the target object in the shooting interface moves from left to right along the X-axis on the display screen.

[0071] Assuming that the first rotatable angle of the gimbal in the first direction is -8° to +4°, then, as shown in FIG4(c), when the expansion ratio of the display screen is 0%, the corresponding first rotatable angle of the gimbal in the first direction is +4° (i.e., X: +4° shown in the figure). At this time, the target object 310 is no longer centered; as shown in FIG4(d), when the expansion ratio 420 of the display screen is 100%, the corresponding first rotatable angle of the gimbal in the first direction is -8° (i.e., X: -8° shown in the figure).

[0072] In this embodiment, when the unfolding ratio of the display screen is a%, the first rotatable angle of the corresponding pan / tilt head in the first direction is in, Indicates rounding (or rounding up or down, which is not specifically limited in this application). Continuing with the examples in FIG. 4(c) and FIG. 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 gimbal in the first direction is: That is, X shown in the figure is -1.28°.

[0073] In this embodiment, it is assumed that the first rotatable angle of the gimbal in the first direction is -8° to +4°, and when the expansion ratio of the display screen is 0%, the corresponding first rotatable angle of the gimbal in the first direction is +4°. When the expansion ratio of the display screen is 100%, the corresponding first rotatable angle of the gimbal in the first direction is -8°. If the user takes one second to expand the display screen from 0% to 100% of the expansion ratio, the rotation speed of the gimbal in the first direction is 12° per second. As shown in FIG4(f), the target object moves from the dotted line to the solid line on the display screen.

[0074] Continuing with the examples in FIG. 4( c ) and FIG. 4( d ), assuming that the unit expansion ratio of the display screen is 1%, then based on the mapping relationship between the first rotatable angle [+4°, -8°] and the expansion ratio of the display screen [0%, 100%], it can be determined that the first gimbal rotation accuracy in the first direction is 0.12°, that is, for every 1% expansion of the display screen, the gimbal rotates 0.12° in the expansion direction.

[0075] Assuming that the first rotatable angle is -10° to +10°, and the unit expansion ratio of the display screen is 1%, then, according to the mapping relationship between the first rotatable angle [+10°, -10°] and the expansion ratio of the display screen [0%, 100%], it can be determined that the first pan-tilt rotation accuracy of the pan-tilt in the first direction is 0.2°, that is, for every 1% expansion of the display screen, the pan-tilt rotates 0.2° in the expansion direction. It can be seen that the smaller the range of the first rotatable angle of the pan-tilt in the first direction, the higher the first pan-tilt rotation accuracy (that is, the smaller the pan-tilt rotation angle corresponding to the unit expansion ratio of the display screen).

[0076] Step B2, when the second input is an input to a second precision setting control, determine a second pan / tilt rotation precision corresponding to the second input mode according to a second angle control range corresponding to the second input.

[0077] Among them, the second precision setting control is a control corresponding to the second input method. Optionally, the second input can be a click operation, voice command or preset gesture on the second precision setting control, which can be determined according to actual usage requirements, and the embodiment of the present application does not limit this. The specific content of the click operation and the preset gesture can be found in the relevant description of the first input, which will not be repeated here.

[0078] In one embodiment, during the input process of 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 represented by a percentage. Taking the preset area as a scroll structure of a 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%.

[0079] Taking the preset area as the scroll structure of the scroll screen, during the process of inputting the operable area on the scroll structure, the PTZ control device can determine the current input position in the operable area in real time. For example, step B2 can be specifically executed as the following steps B21-B23:

[0080] Step B21, according to the second input of the user to the second precision setting control, determine the second angle control range of the pan / tilt platform in the axial direction of the scroll structure (hereinafter referred to as the "second direction" for ease of description).

[0081] Optionally, 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 uniformly arranged scales, each scale representing the angle control range of the pan / tilt in the second direction (generally a percentage, such as 0%-100%). For example, 5 scales are uniformly arranged on the second precision setting control, then each scale represents the angle control range of the pan / tilt in the second direction as 0%, 25%, 50%, 75%, and 100%, respectively. For another example, 11 scales are uniformly arranged on the second precision setting control, then each scale represents the angle control range of the pan / tilt in the second direction as 0%, 10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90%, and 100%, respectively.

[0082] As shown in Figure 4(a), the Y-axis control 430 is schematically shown, which has 11 scales evenly arranged from bottom to top, 431 is the upper boundary of the angle control range (i.e., the upper boundary of the angle that the gimbal can rotate in the second direction), and 432 is the lower boundary of the angle control range (i.e., the lower boundary of the angle that the gimbal can rotate in the second direction).

[0083] Exemplarily, when the second input is a click operation on each scale on the second precision setting control, if the user performs a second input on the third scale (angle control range is 20%) and the eighth scale (angle control range is 70%) from top to bottom on the second precision setting control, then based on the second input, it can be determined that the second angle control range of the gimbal in the second direction is 20%-70%.

[0084] In addition, if the second input to the second precision setting control by the user is not received, the second angle control range of the gimbal in the second direction is a default value, which is generally 0%-100%.

[0085] Step B22: determining a second rotatable angle of the pan / tilt platform in the second direction according to the second angle control range and the maximum rotatable angle range of the pan / tilt platform in the second direction.

[0086] Generally, during the manufacturing process of the pan / tilt control device, the maximum range of the pan / tilt rotatable angle in the second direction is set. In this embodiment, the rotatable angle corresponding to each angle control range can be determined by combining the number of scales evenly set on the second precision setting control in the pan / tilt control device.

[0087] For example, the maximum range of the rotatable angle of the gimbal in the second direction is -10° to +10°, and 11 scales are evenly arranged on the second precision setting control (wherein, from top to bottom, they increase from 0% to 100%, and each 10% corresponds to a scale). Then, it can be determined that: when the angle control range is 0%, the corresponding rotatable angle is +10°; when the angle control range is 10%, the corresponding rotatable angle is +8°; when the angle control range is 20%, the corresponding rotatable angle is +6°; when the angle control range is 30%, the corresponding rotatable angle is +6°. When the angle control range is 40%, the corresponding rotatable angle is +4°; when the angle control range is 40%, the corresponding rotatable angle is +2°; when the angle control range is 50%, the corresponding rotatable angle is 0°; when the angle control range is 60%, the corresponding rotatable angle is -2°; when the angle control range is 70%, the corresponding rotatable angle is -4°; when the angle control range is 80%, the corresponding rotatable angle is -6°; when the angle control range is 90%, the corresponding rotatable angle is -8°; when the angle control range is 100%, the corresponding rotatable angle is -10°.

[0088] Assuming that the maximum range of the rotatable angle of the gimbal in the second direction is -10° to +10°, then, using the example in step B21, when the second angle control range is 20%-70%, the second rotatable angle of the gimbal in the second direction is +6° to -4°. If the second input of the user to the second precision setting control is not received, the second angle control range of the gimbal in the second direction is the default value, generally 0%-100%. Based on the above assumption, the second rotatable angle of the gimbal in the second direction is +10° to -10°.

[0089] Step B23, determining the second pan / tilt rotation accuracy in the second direction according to the mapping relationship between the second rotatable angle and each input position in the operable area, that is, the pan / tilt rotation angle corresponding to the unit input position in the operable area.

[0090] Among them, the gimbal control device can obtain the second rotatable angle of the gimbal in the second direction, and establish a mapping relationship between each input position [0%, 100%] in the operable area and the second rotatable angle [T, B]. Among them, T represents the upper boundary of the second rotatable angle, and B represents the lower boundary of the second rotatable angle. It should be understood that when the input position in the operable area changes from 0% to 100%, the target object in the shooting interface moves from bottom to top along the Y axis on the display screen.

[0091] Assuming that the second rotatable angle of the gimbal in the second direction is -10° to +10°, then, as shown in FIG5(a), when the input position in the operable area is 0% (i.e., 510 in the figure), the corresponding second rotatable angle of the gimbal in the second direction is +10° (i.e., Y: +10° shown in the figure); as shown in FIG5(b), when the input position in the operable area is 100% (i.e., 520 in the figure), the corresponding second rotatable angle of the gimbal in the second direction is -10° (i.e., Y: -10° shown in the figure).

[0092] In this embodiment, when the input position in the operable area is a%, the second rotatable angle of the corresponding gimbal in the second direction is in, Indicates rounding (or rounding up or down, which is not specifically limited in this application). Using the examples in FIG. 5(a) and FIG. 5(b), as shown in FIG. 5(c), when the input position 530 in the operable area is 78%, the second rotatable angle of the corresponding gimbal in the second direction is: That is, Y shown in the figure is -5.6°.

[0093] In this embodiment, similar to step B13, the rotation speed of the pan / tilt head in the second direction can be determined according to the input speed of the user within the operable area of ​​the scroll structure, which will not be described in detail here.

[0094] Continuing with the examples in FIG. 5( a) and FIG. 5( b), assuming that the unit input position in the operable area is 1%, then based on the mapping relationship between the second rotatable angle [+10°, -10°] and each input position in the operable area [0%, 100%], it can be determined that the second gimbal rotation accuracy in the second direction is 0.2°, that is, for every 1% increase in the input position in the operable area, the gimbal rotates downward by 0.2° along the Y-axis.

[0095] Assuming that the second rotatable angle is -6° to +4°, and the unit input position in the operable area is 1%, then, according to the mapping relationship between the second rotatable angle [+4°, -6°] and each input position in the operable area [0%, 100%], it can be determined that the second pan-tilt rotation accuracy in the second direction is 0.01°, that is, for every 1% increase in the input position in the operable area, the pan-tilt rotates 0.01° downward along the Y axis. It can be seen that the smaller the range of the second rotatable angle of the pan-tilt in the second direction, the higher the second pan-tilt rotation accuracy (that is, the smaller the pan-tilt rotation angle corresponding to the unit input position in the operable area).

[0096] In this embodiment, the gimbal rotation accuracy corresponding to each input method is determined based on the angle control range corresponding to the user's input to each precision setting control, thereby achieving the effect of personalized determination of the gimbal rotation accuracy based on the user's input. At the same time, the operation process is also relatively simple, which greatly reduces the complexity of the user's control over the gimbal rotation.

[0097] In one embodiment, in response to a first input, controlling the gimbal to rotate according to first rotation information (i.e., step 104) can be executed as follows: when the first input is an input for controlling the expansion or folding of a display screen, controlling the gimbal to rotate according to the first rotation information based on the expansion information or folding information of the display screen.

[0098] The deployment information may include at least one of the deployment ratio and the deployment speed, the stowage information may include at least one of the stowage ratio and the stowage speed, and the first rotation information may include at least one of the rotation direction, the rotation angle, and the rotation speed. The rotation angle may be determined according to the deployment ratio or the stowage ratio, and the rotation speed may be determined according to the deployment speed or the stowage speed.

[0099] In this embodiment, when the user controls the display screen to expand or retract, the gimbal control device can obtain the expansion information or retraction information of the display screen in real time, and thereby determine the first rotation information corresponding to the expansion information or retraction information of the display screen in real time according to the first gimbal rotation accuracy of the gimbal in the first direction determined in the above step B1, and control the gimbal to rotate according to the first rotation information in real time.

[0100] Continuing with the example in FIG. 4( c ) and FIG. 4( d ), that is, for every 1% that the display screen is expanded, the gimbal rotates 0.12° in the expansion direction. Assuming that the expansion ratio of the display screen is 56%, then the rotation direction of the gimbal is the expansion direction of the display screen, and the rotation angle is -8°+(56*0.12°)=-1.28°. The rotation speed is consistent with the expansion speed of the display screen.

[0101] In this embodiment, when the user controls the display screen to expand or fold, the expansion information or folding information of the display screen can be obtained, so that the pan-tilt head is controlled to rotate according to the first rotation information based on the expansion information or folding information of the display screen, thereby achieving precise control of the rotation of the pan-tilt head.

[0102] In one embodiment, in response to the first input, controlling the gimbal to rotate according to the first rotation information (ie, step 104 ) may be performed as the following steps C1 - C3 , where the first rotation information may include a first rotation direction and a first rotation angle.

[0103] Step C1, when the first input is an input to a preset area of ​​a display screen, obtaining a first input position corresponding to the first input.

[0104] Optionally, the preset area of ​​the display screen may be an operable area on the scroll structure of the scroll screen, a set area on the display screen, etc. In order to avoid blocking the content displayed on the display screen during the process of controlling the rotation of the pan / tilt, the operable area on the scroll structure may be used as the preset area of ​​the display screen. The first input may be a click operation, a long press operation, etc. performed on the operable area on the scroll structure. The specific content of the click operation can be found in the relevant description in step 102, which will not be repeated here.

[0105] When the user makes a first input to a preset area of ​​the display screen, the gimbal control device can obtain in real time the first input position corresponding to the first input, thereby determining in real time the first rotation information corresponding to the first input position based on the second gimbal rotation accuracy of the gimbal in the second direction determined in the above step B2, and controlling the gimbal to rotate according to the first rotation information in real time.

[0106] Step C2: determining a first rotation angle and a first rotation direction associated with the first input position according to a preset first association relationship between the input position and the rotation angle and the rotation direction.

[0107] The first association relationship is the mapping relationship in the above step B23. Using the example in FIG. 5(a) and FIG. 5(b), when the input position in the operable area increases by 1%, the gimbal rotates 0.2° downward along the Y axis. Assuming that the first input position is 78%, the rotation direction of the gimbal is the downward direction along the Y axis, and the rotation angle is 10°-(78*0.2°)=-5.6°.

[0108] Step C3, controlling the pan / tilt head to rotate according to a first rotation angle and a first rotation direction.

[0109] In this embodiment, when the user makes a first input to a preset area of ​​the display screen, the first input position corresponding to the first input can be obtained, thereby determining the first rotation angle and the first rotation direction associated with the first input position based on the first association relationship between the preset input position and the rotation angle and the rotation direction, and controlling the gimbal to rotate according to the first rotation angle and the first rotation direction, thereby achieving precise control of the rotation of the gimbal.

[0110] In one embodiment, in response to the first input, the gimbal is controlled to rotate according to the first rotation information (ie, step 104 ), which may be performed as the following steps D1 - D3 , where the first rotation information may include a second rotation direction, a second rotation angle, and a first rotation speed.

[0111] Step D1, when the first input includes a sliding input within a preset area of ​​the display screen, obtaining a sliding direction, a sliding speed, and a real-time input position of the sliding input.

[0112] Based on the same reason as step C1, in this embodiment, the first input may be a sliding input performed on the operable area on the scroll structure. When the user performs a sliding input on the preset area of ​​the display screen, the PTZ control device can obtain the sliding direction, sliding speed and real-time input position corresponding to the sliding input in real time, and then perform step D2 according to the second PTZ rotation accuracy in the second direction determined in the above step B2.

[0113] Step D2, determining a second rotation direction according to the sliding direction, determining a first rotation speed according to the sliding speed, and determining a second rotation angle according to the real-time input position.

[0114] Among them, the gimbal control device can determine the second rotation direction of the gimbal in the second direction according to the sliding direction corresponding to the sliding input obtained in real time, and the second rotation direction is consistent with the sliding direction; according to the sliding speed corresponding to the sliding input obtained in real time, the first rotation speed of the gimbal in the second direction can be determined, and the first rotation speed is consistent with the sliding speed.

[0115] According to the second pan-tilt rotation accuracy, the second rotation angle corresponding to the real-time input position can be determined. Using the examples in FIG. 5(a) and FIG. 5(b), for every 1% increase in the input position in the operable area, the pan-tilt rotates 0.2° downward along the Y axis, thereby determining the second rotation angle corresponding to the real-time input position.

[0116] Step D3, controlling the pan / tilt head to rotate according to the second rotation angle, the second rotation direction and the first rotation speed.

[0117] In this embodiment, when the user performs a sliding input on a preset area of ​​the display screen, the sliding direction, sliding speed and real-time input position of the sliding input are obtained to determine the second rotation direction, the first rotation speed and the second rotation angle, and the gimbal is controlled to rotate according to the second rotation angle, the second rotation direction and the first rotation speed, thereby achieving precise control of the rotation of the gimbal.

[0118] In one embodiment, in response to the first input, the gimbal is controlled to rotate according to the first rotation information (ie, step 104 ), which may be performed as the following steps E1 - E3 , where the first rotation information includes a third rotation direction and a third rotation angle.

[0119] Step E1, when the first input is an input to a preset area of ​​the display screen, obtaining input information of the first input, the input information including fingerprint information and input time.

[0120] Based on the same reason as step C1, in this embodiment, the first input may be an input performed on the operable area on the scroll structure. When the user inputs the preset area of ​​the display screen, the pan / tilt control device can obtain the input fingerprint information and input time.

[0121] In one embodiment, the pan-tilt control device may pre-store the pan-tilt rotation information corresponding to each fingerprint information at each input time. For example, it may be pre-stored that when the input time of the right thumb fingerprint is 5 seconds, the pan-tilt may be controlled to rotate 1° in the first direction toward the direction of the display screen unfolding, and 0.5° downward in the second direction; it may be pre-stored that when the input time of the right thumb fingerprint is 7 seconds, the pan-tilt may be controlled to rotate 1.2° in the first direction toward the direction of the display screen unfolding, and 0.7° downward in the second direction; it may be pre-stored that when the input time of the left index finger fingerprint is 2 seconds, the pan-tilt may be controlled to rotate 0.4° in the first direction toward the direction of the display screen unfolding, and 0.2° downward in the second direction; and so on. The specific can be determined according to actual use requirements, and the embodiments of the present application are not limited to this.

[0122] Among them, the same fingerprint information can control the pan-tilt rotation angle to different angles at different input times.

[0123] Step E2, determining a third rotation direction according to the fingerprint information, and determining a third rotation angle according to the input time.

[0124] Step E3, controlling the pan / tilt head to rotate according to a third rotation direction and a third rotation angle.

[0125] In this embodiment, in combination with the embodiments of FIG. 4( e) and FIG. 5( c), if the left thumb fingerprint is pre-stored in the pan / tilt control device and the input time is 5 seconds, the pan / tilt control device can be controlled to rotate 6.72° in the first direction toward the direction in which the display screen is unfolded, and to rotate 15.6° downward in the second direction. Since the first rotatable angle of the pan / tilt control device in the first direction is -8° to +4°, and the second rotatable angle in the second direction is -10° to +10°, if Figure 6 As shown, the current gimbal rotates to -1.28° in the first direction (ie, X: -1.28° shown in the figure), and rotates to -5.6° in the second direction (ie, Y: -5.6° shown in the figure).

[0126] In this embodiment, when the user makes a first input to a preset area of ​​the display screen, the fingerprint information and input time of the first input are obtained, so that the third rotation direction is determined according to the fingerprint information, the third rotation angle is determined according to the input time, and the gimbal is controlled to rotate according to the third rotation direction and the third rotation angle, thereby achieving precise control of the rotation of the gimbal.

[0127] Figure 7 This is the second schematic flow chart of the pan-tilt control method provided in the embodiment of the present application. In this embodiment, the pan-tilt control method is applied to a pan-tilt control device, the 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 pan-tilt is provided with a camera, and the pan-tilt is used to drive the camera to rotate during the rotation process. Figure 7 As shown, the PTZ control method may include:

[0128] Step 701, receiving a first input from a user, and then executing step 702 or step 705.

[0129] Step 702: when the first input is an input to a preset area of ​​a display screen, obtain a first input position corresponding to the first input.

[0130] Step 703: Determine a first rotation angle and a first rotation direction associated with a first input position according to a preset first association relationship between the input position and the rotation angle and the rotation direction.

[0131] Step 704: Control the gimbal to rotate according to a first rotation angle and a first rotation direction.

[0132] In one embodiment, the first input may be a sliding input within a preset area of ​​the display screen. In the case where the first input includes a sliding input within a preset area of ​​the display screen, steps 702 to 704 may be executed as follows: obtaining a sliding direction, a sliding speed, and a real-time input position of the sliding input, determining a second rotation direction according to the sliding direction, determining a first rotation speed according to the sliding speed, and determining a second rotation angle according to the real-time input position, and controlling the gimbal to rotate according to the second rotation angle, the second rotation direction, and the first rotation speed.

[0133] In one embodiment, when the first input is an input to a preset area of ​​the display screen, steps 702 to 704 may be executed as follows: obtaining input information of the first input, the input information including fingerprint information and input time, determining a third rotation direction based on the fingerprint information, and determining a third rotation angle based on the input time, and controlling the gimbal to rotate according to the third rotation direction and the third rotation angle.

[0134] Step 705 , when the first input is an input for controlling the display screen to be expanded or retracted, the pan / tilt head is controlled to rotate according to the first rotation information according to the expansion information or the retraction information of the display screen.

[0135] The unfolding information may include at least one of an unfolding ratio and an unfolding speed, and the stowing information may include at least one of a stowing ratio and a stowing speed. The first rotation information is determined according to 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 unfolding ratio or the stowing ratio, and the rotation speed is determined according to the unfolding speed or the stowing speed.

[0136] The specific process of the above steps 701 to 705 has been described in detail in the above embodiment and will not be repeated here.

[0137] In an embodiment of the present application, the gimbal control device receives a first input from a user, and in response to the first input, controls the gimbal to rotate according to the first rotation information. The first rotation information is determined based on the first input, and the first input may include an input for controlling the display screen to expand or collapse, or an input for a preset area of ​​the display screen. It can be seen that in the technical solution, the gimbal control device controls the gimbal rotation differently when the first input is different. Therefore, according to the user's personalized input, a personalized control effect of the gimbal rotation can be achieved; at the same time, because the gimbal control device responds to the first input, it can control the gimbal to rotate according to the corresponding rotation information, thereby achieving a precise control effect of the gimbal rotation.

[0138] The pan-tilt control method provided in the embodiment of the present application can be executed by a pan-tilt control device. In the embodiment of the present application, the pan-tilt control device executing the pan-tilt control method is taken as an example to illustrate the pan-tilt control device provided in the embodiment of the present application.

[0139] Figure 8 is a structural diagram of a pan-tilt control device provided in an embodiment of the present application. In this embodiment, the 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 a camera. Please refer to Figure 8 , the PTZ control device may include:

[0140] A first receiving module 810, configured to receive a first input from a user;

[0141] A control module 820, configured to control the pan / tilt platform to rotate according to first rotation information in response to a first input;

[0142] The first input includes an input for controlling the display screen to expand or collapse, or an input for a preset area of ​​the display screen; and the first rotation information is determined based on the first input.

[0143] In one embodiment, the control module 820 includes:

[0144] A first control unit is used to control the pan / tilt head to rotate according to first rotation information according to the expansion information or the retraction information of the display screen when the first input is an input for controlling the display screen to expand or retract;

[0145] Among them, the expansion information includes at least one of the expansion ratio and the expansion speed, and the folding information includes at least one of the folding ratio and the folding speed; the first rotation information includes at least one of the rotation direction, the rotation angle and the rotation speed; the rotation angle is determined according to the expansion ratio or the folding ratio, and the rotation speed is determined according to the expansion speed or the folding speed.

[0146] In one embodiment, the control module 820 includes:

[0147] A first acquisition unit, configured to acquire a first input position corresponding to the first input when the first input is an input to a preset area of ​​the display screen;

[0148] A first determining unit, configured to determine a first rotation angle and a first rotation direction associated with a first input position according to a preset first association relationship between the input position and the rotation angle and the rotation direction;

[0149] A second control unit, used for controlling the pan / tilt head to rotate according to a first rotation angle and a first rotation direction;

[0150] The first rotation information includes a first rotation direction and a first rotation angle.

[0151] In one embodiment, the control module 820 includes:

[0152] a second acquisition unit, configured to acquire a sliding direction, a sliding speed, and a real-time input position of the sliding input when the first input includes a sliding input within a preset area of ​​the display screen;

[0153] a second determining unit, configured to determine a second rotation direction according to the sliding direction, determine the first rotation speed according to the sliding speed, and determine a second rotation angle according to the real-time input position;

[0154] A third control unit, used for controlling the pan / tilt head to rotate according to a second rotation angle, a second rotation direction and a first rotation speed;

[0155] The first rotation information includes a second rotation direction, a second rotation angle and a first rotation speed.

[0156] In one embodiment, the control module 820 includes:

[0157] A third acquisition unit, configured to acquire input information of the first input when the first input is an input to a preset area of ​​the display screen, the input information including fingerprint information and input time;

[0158] A third determining unit, used to determine a third rotation direction according to the fingerprint information, and determine a third rotation angle according to the input time;

[0159] A fourth control unit, used for controlling the pan / tilt head to rotate according to a third rotation direction and a third rotation angle;

[0160] The first rotation information includes a third rotation direction and a third rotation angle.

[0161] In one embodiment, the pan / tilt control device further includes:

[0162] A second receiving module, used for receiving a second input of the user to the precision setting control;

[0163] The determination module is used to determine the pan / tilt rotation accuracy corresponding to the target input mode according to the second input.

[0164] In one embodiment, the target input method includes a first input method and a second input method, the first input method is an input method for controlling the display screen to be expanded or collapsed, and the second input method is an input method for a preset area of ​​the display screen;

[0165] The modules are determined to include:

[0166] a fourth determining unit, configured to determine, 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 according to a first angle control range corresponding to the second input, the first precision setting control being a control corresponding to the first input mode;

[0167] The fifth determination unit is used to determine the second gimbal rotation accuracy corresponding to the second input method according to the second angle control range corresponding to the second input when the second input is an input to the second precision setting control, and the second precision setting control is the control corresponding to the second input method.

[0168] In an embodiment of the present application, the gimbal control device receives a first input from a user, and in response to the first input, controls the gimbal to rotate according to the first rotation information. The first rotation information is determined based on the first input, and the first input may include an input for controlling the display screen to expand or collapse, or an input for a preset area of ​​the display screen. It can be seen that when the first input of the device is different, the gimbal control device controls the gimbal rotation differently. Therefore, according to the personalized input of the user, a personalized control effect of the gimbal rotation can be achieved; at the same time, because the gimbal control device responds to the first input, it can control the gimbal to rotate according to the corresponding rotation information, thereby achieving a precise control effect of the gimbal rotation.

[0169] The pan / tilt control device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc. It can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., and the embodiment of the present application is not specifically limited.

[0170] The shooting device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0171] The shooting device provided in the embodiment of the present application can achieve Figures 1 to 7 To avoid repetition, the various processes implemented in the pan-tilt control method embodiment are not described here.

[0172] Alternatively, if Fig. 9 As shown, an embodiment of the present application also provides an electronic device 900, including a processor 901 and a memory 902, wherein the memory 902 stores a program or instruction that can be executed on the processor 901, and when the program or instruction is executed by the processor 901, each step of the above-mentioned gimbal control method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0173] It should be noted that the electronic device in the embodiment of the present application includes the terminal mentioned above and other devices except the terminal.

[0174] Fig.10 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application.

[0175] The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, a gimbal 1011, and a camera 1012 and other components.

[0176] Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1010 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.10 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0177] The user input unit 1007 is used to receive a first input from a user;

[0178] Processor 1010 is used to control the gimbal to rotate according to first rotation information in response to a first input; wherein the first input includes an input for controlling the expansion or folding of a display screen, or an input for a preset area of ​​the display screen; the first rotation information is determined based on the first input.

[0179] Optionally, processor 1010 is also used to control the pan / tilt head to rotate according to first rotation information based on the expansion information or retraction information of the display screen when the first input is an input for controlling the expansion or retraction of the display screen; wherein the expansion information includes at least one of an expansion ratio and an expansion speed, and the retraction information includes at least one of a retraction ratio and a retraction 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.

[0180] Optionally, the processor 1010 is also used to obtain a first input position corresponding to the first input when the first input is an input to a preset area of ​​the display screen; determine a first rotation angle and a first rotation direction associated with the first input position based on a first association relationship between the preset input position and the rotation angle and the rotation direction; and control the gimbal to rotate according to the first rotation angle and the first rotation direction; wherein the first rotation information includes the first rotation direction and the first rotation angle.

[0181] Optionally, processor 1010 is also used to obtain a sliding direction, a sliding speed and a real-time input position of a sliding input when the first input includes a sliding input within a preset area of ​​the display screen; determine a second rotation direction according to the sliding direction, determine a first rotation speed according to the sliding speed, and determine a second rotation angle according to the real-time input position; control the gimbal 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.

[0182] Optionally, the processor 1010 is also used to obtain input information of the first input when the first input is an input to a preset area of ​​the display screen, the input information including fingerprint information and input time; determine a third rotation direction based on the fingerprint information, and determine a third rotation angle based on the input time; control the gimbal to rotate according to the third rotation direction and third rotation angle; wherein the first rotation information includes the third rotation direction and the third rotation angle.

[0183] Optionally, the user input unit 1007 is further used to receive a second input of the user on the precision setting control;

[0184] The processor 1010 is further configured to determine the pan / tilt rotation accuracy corresponding to the target input mode according to the second input.

[0185] Optionally, the target input method includes a first input method and a second input method, the first input method is an input method for controlling the display screen to be expanded or collapsed, and the second input method is an input method for a preset area of ​​the display screen;

[0186] Processor 1010 is also used to determine, when the second input is an input to a first precision setting control, a first gimbal rotation precision corresponding to a first input method based on a first angle control range corresponding to the second input, and the first precision setting control is a control corresponding to the first input method; and when the second input is an input to a second precision setting control, determine, when the second input is an input to a second precision setting control, a second gimbal rotation precision corresponding to the second input method based on a second angle control range corresponding to the second input, and the second precision setting control is a control corresponding to the second input method.

[0187] In an embodiment of the present application, the gimbal control device receives a first input from a user, and in response to the first input, controls the gimbal to rotate according to the first rotation information. The first rotation information is determined based on the first input, and the first input may include an input for controlling the display screen to expand or collapse, or an input for a preset area of ​​the display screen. It can be seen that when the first input of the electronic device is different, the gimbal control device controls the gimbal rotation differently. Therefore, according to the user's personalized input, a personalized control effect of the gimbal rotation can be achieved; at the same time, because the gimbal control device responds to the first input, it can control the gimbal to rotate according to the corresponding rotation information, thereby achieving a precise control effect of the gimbal rotation.

[0188] It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture 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, etc. The user input unit 1007 includes a touch panel 10071 and at least one of other input devices 10072. The touch panel 10071 is also called a touch screen, and the touch screen may be a scroll 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 (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0189] The memory 1009 can be used to store software programs and various data. The memory 1009 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1009 may include a volatile memory or a non-volatile memory, or the memory 1009 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 1009 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0190] The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1010.

[0191] A camera 1012 is disposed on the pan-tilt platform 1011 .

[0192] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned gimbal control method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0193] 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 disk or an optical disk.

[0194] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned gimbal control method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0195] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0196] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned gimbal control method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0197] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0198] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0199] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A pan / tilt control method, applied to a pan / tilt control device, wherein the display screen of the pan / tilt control device is a scroll screen, the pan / tilt control device comprises a pan / tilt and a camera, and the pan / tilt is provided with a camera, characterized in that: The method comprises: receiving a first input from a user; In response to the first input, controlling the pan / tilt platform to rotate according to first rotation information; Wherein, the first input includes an input for controlling the display screen to be expanded or collapsed, or an input for a preset area of ​​the display screen; the first rotation information is determined according to the first input; Before receiving the first input from the user, the method further includes: receiving a second user input to the precision setting control; Determining the pan / tilt rotation accuracy corresponding to the target input mode according to the second input; The target input method includes a first input method and a second input method, the first input method is an input method for controlling the display screen to be expanded or collapsed, and the second input method is an input method for a preset area of ​​the display screen; The determining, according to the second input, a pan / tilt rotation accuracy corresponding to the target input mode includes: In the case where the second input is an input to a first precision setting control, determining a first gimbal rotation precision corresponding to the first input mode according to a first angle control range corresponding to the second input, the first precision setting control being a control corresponding to the first input mode and being an X-axis control; In the case where the second input is an input to a second precision setting control, the second gimbal rotation accuracy corresponding to the second input method is determined based on the second angle control range corresponding to the second input, and the second precision setting control is a control corresponding to the second input method and is a Y-axis control.

2. The method according to claim 1, characterized in that In response to the first input, controlling the pan / tilt head to rotate according to first rotation information includes: When the first input is an input for controlling the display screen to be unfolded or retracted, the pan / tilt head is controlled to rotate according to the first rotation information according to the unfolding information or retracting information of the display screen; Among them, the expansion information includes at least one of the expansion ratio and the expansion speed, and the folding information includes at least one of the folding ratio and the folding speed; the first rotation information includes at least one of the rotation direction, the rotation angle and the rotation speed; the rotation angle is determined according to the expansion ratio or the folding ratio, and the rotation speed is determined according to the expansion speed or the folding speed.

3. The method according to claim 1, characterized in that In response to the first input, controlling the pan / tilt head to rotate according to first rotation information includes: When the first input is an input to a preset area of ​​the display screen, obtaining a first input position corresponding to the first input; Determining a first rotation angle and a first rotation direction associated with the first input position according to a preset first association relationship between the input position and the rotation angle and the rotation direction; Controlling the pan / tilt head to rotate according to the first rotation angle and the first rotation direction; The first rotation information includes the first rotation direction and the first rotation angle.

4. The method according to claim 1, characterized in that: In response to the first input, controlling the pan / tilt head to rotate according to first rotation information includes: When the first input includes a sliding input within a preset area of ​​the display screen, obtaining a sliding direction, a sliding speed, and a real-time input position of the sliding input; Determining a second rotation direction according to the sliding direction, determining a first rotation speed according to the sliding speed, and determining a second rotation angle according to the real-time input position; Controlling the pan / tilt head to rotate according to the second rotation angle, the second rotation direction and the first rotation speed; The first rotation information includes the second rotation direction, the second rotation angle and the first rotation speed.

5. The method according to claim 1, characterized in that In response to the first input, controlling the pan / tilt head to rotate according to first rotation information includes: In the case where the first input is an input to a preset area of ​​the display screen, obtaining input information of the first input, the input information including fingerprint information and input time; Determine a third rotation direction according to the fingerprint information, and determine a third rotation angle according to the input time; Controlling the pan / tilt head to rotate according to the third rotation direction and the third rotation angle; The first rotation information includes the third rotation direction and the third rotation angle.

6. A pan-tilt control device, wherein the display screen of the pan-tilt control device is a scroll screen, the pan-tilt control device comprises a pan-tilt and a camera, and the pan-tilt is provided with a camera, characterized in that: The device comprises: A first receiving module, used to receive a first input from a user; A control module, configured to control the pan / tilt platform to rotate according to first rotation information in response to the first input; Wherein, the first input includes an input for controlling the display screen to be expanded or collapsed, or an input for a preset area of ​​the display screen; the first rotation information is determined according to the first input; The device also includes: A second receiving module, used for receiving a second input of the user to the precision setting control; A determination module, used to determine the pan / tilt rotation accuracy corresponding to the target input mode according to the second input; The target input method includes a first input method and a second input method, the first input method is an input method for controlling the display screen to be expanded or collapsed, and the second input method is an input method for a preset area of ​​the display screen; The determination module comprises: a fourth determining unit, configured to determine, when the second input is an input to a first precision setting control, a first gimbal rotation precision 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 a control corresponding to the first input mode and is an X-axis control; A fifth determination unit is used to determine the second gimbal rotation accuracy corresponding to the second input method according to the second angle control range corresponding to the second input when the second input is an input to a second precision setting control, and the second precision setting control is a control corresponding to the second input method and is a Y-axis control.

7. The device according to claim 6, characterized in that The control module comprises: a first control unit, configured to control the pan / tilt head to rotate according to the first rotation information according to the expansion information or the retraction information of the display screen when the first input is an input for controlling the display screen to expand or retract; Among them, the expansion information includes at least one of the expansion ratio and the expansion speed, and the folding information includes at least one of the folding ratio and the folding speed; the first rotation information includes at least one of the rotation direction, the rotation angle and the rotation speed; the rotation angle is determined according to the expansion ratio or the folding ratio, and the rotation speed is determined according to the expansion speed or the folding speed.

8. The device according to claim 6, characterized in that The control module comprises: A first acquisition unit, configured to acquire a first input position corresponding to the first input when the first input is an input to a preset area of ​​the display screen; A first determining unit, configured to determine a first rotation angle and a first rotation direction associated with the first input position according to a first association relationship between a preset input position and the rotation angle and the rotation direction; A second control unit, used for controlling the pan / tilt head to rotate according to the first rotation angle and the first rotation direction; The first rotation information includes the first rotation direction and the first rotation angle.

9. The device according to claim 6, characterized in that The control module comprises: a second acquisition unit, configured to acquire a sliding direction, a sliding speed, and a real-time input position of the sliding input when the first input includes a sliding input within a preset area of ​​the display screen; a second determining unit, configured to determine a second rotation direction according to the sliding direction, determine a first rotation speed according to the sliding speed, and determine a second rotation 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; The first rotation information includes the second rotation direction, the second rotation angle and the first rotation speed.

10. The device according to claim 6, characterized in that The control module comprises: a third acquisition unit, configured to acquire input information of the first input when the first input is an input to a preset area of ​​the display screen, the input information including 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; a fourth control unit, used for controlling the pan / tilt head to rotate according to the third rotation direction and the third rotation angle; The first rotation information includes the third rotation direction and the third rotation angle.

11. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the pan / tilt control method as described in any one of claims 1 to 5 are implemented.